33class EXPCL_PANDA_DEVICE ButtonNode :
public DataNode {
35 explicit ButtonNode(
ClientBase *client,
const std::string &device_name);
37 virtual ~ButtonNode();
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();}
An abstract base class for a family of client device interfaces–including trackers,...
This object supervises the traversal of the data graph and the moving of data from one DataNode to it...
Encapsulates the data generated from (or sent into) any particular DataNode.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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(),...