18 #include "pandabase.h" 20 #include "clientBase.h" 21 #include "clientButtonDevice.h" 23 #include "buttonEventList.h" 46 INLINE
bool is_valid()
const;
48 INLINE
int get_num_buttons()
const;
50 INLINE
void set_button_map(
int index,
ButtonHandle button);
53 INLINE
bool get_button_state(
int index)
const;
54 INLINE
bool is_button_known(
int index)
const;
57 virtual void output(ostream &out)
const;
58 virtual void write(ostream &out,
int indent_level = 0)
const;
71 int _button_events_output;
78 static void init_type() {
79 DataNode::init_type();
80 register_type(_type_handle,
"ButtonNode",
81 DataNode::get_class_type());
84 return get_class_type();
86 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
92 #include "buttonNode.I"
The fundamental type of node for the data graph.
An abstract base class for a family of client device interfaces–including trackers, buttons, dials, and other analog inputs.
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...