45 INLINE
bool is_valid()
const;
47 INLINE
int get_num_controls()
const;
49 INLINE
double get_control_state(
int index)
const;
50 INLINE
bool is_control_known(
int index)
const;
52 INLINE
void set_output(
int channel,
int index,
bool flip);
53 INLINE
void clear_output(
int channel);
54 INLINE
int get_output(
int channel)
const;
55 INLINE
bool is_output_flipped(
int channel)
const;
58 virtual void write(std::ostream &out,
int indent_level = 0)
const;
68 enum { max_outputs = 2 };
69 OutputData _outputs[max_outputs];
89 static void init_type() {
90 DataNode::init_type();
92 DataNode::get_class_type());
95 return get_class_type();
97 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the primary interface to analog controls like sliders and joysticks associated with a ClientB...
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.
The fundamental type of node for the data graph.
A handy class object for storing simple values (like integers or strings) passed along with an Event ...
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.
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(),...