39 INLINE
bool is_valid()
const;
41 INLINE
int get_num_buttons()
const;
43 INLINE
void set_button_map(
int index,
ButtonHandle button);
46 INLINE
bool get_button_state(
int index)
const;
47 INLINE
bool is_button_known(
int index)
const;
50 virtual void output(std::ostream &out)
const;
51 virtual void write(std::ostream &out,
int indent_level = 0)
const;
64 int _button_events_output;
70 static void init_type() {
71 DataNode::init_type();
73 DataNode::get_class_type());
76 return get_class_type();
78 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
The fundamental type of node for the data graph.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
An abstract base class for a family of client device interfaces–including trackers,...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
Encapsulates the data generated from (or sent into) any particular DataNode.
This object supervises the traversal of the data graph and the moving of data from one DataNode to it...