Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ButtonNode Class Reference

#include <buttonNode.h>

Inheritance diagram for ButtonNode:

DataNode PandaNode TypedWritable Namable BoundedObject ReferenceCount TypedObject List of all members.

Public Member Functions

virtual void output (ostream &out) const
virtual void write (ostream &out, int indent_level=0) const
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

TypeHandle get_class_type ()
void init_type ()

Protected Member Functions

virtual void do_transmit_data (const DataNodeTransmit &input, DataNodeTransmit &output)

Private Member Functions

virtual ~ButtonNode ()
INLINE bool is_valid () const
INLINE int get_num_buttons () const
INLINE void set_button_map (int index, ButtonHandle button)
INLINE ButtonHandle get_button_map (int index) const
INLINE bool get_button_state (int index) const
INLINE bool is_button_known (int index) const
 PT (ClientButtonDevice) _button
 PT (ButtonEventList) _button_events

Private Attributes

PUBLISHED __pad0__: ButtonNode(ClientBase *client
PUBLISHED const string & device_name
int _button_events_output

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

ButtonNode::~ButtonNode  )  [private, virtual]
 

Definition at line 65 of file buttonNode.cxx.


Member Function Documentation

void ButtonNode::do_transmit_data const DataNodeTransmit input,
DataNodeTransmit output
[protected, virtual]
 

Reimplemented from DataNode.

Definition at line 119 of file buttonNode.cxx.

References _button_events_output, is_valid(), and DataNodeTransmit::set_data().

virtual TypeHandle ButtonNode::force_init_type void   )  [inline, virtual]
 

Reimplemented from DataNode.

Definition at line 89 of file buttonNode.h.

References DataNode::get_class_type(), and DataNode::init_type().

INLINE ButtonHandle ButtonNode::get_button_map int  index  )  const [private]
 

INLINE bool ButtonNode::get_button_state int  index  )  const [private]
 

TypeHandle ButtonNode::get_class_type void   )  [inline, static]
 

Reimplemented from DataNode.

Definition at line 78 of file buttonNode.h.

INLINE int ButtonNode::get_num_buttons  )  const [private]
 

virtual TypeHandle ButtonNode::get_type void   )  const [inline, virtual]
 

Reimplemented from DataNode.

Definition at line 86 of file buttonNode.h.

References DataNode::get_class_type().

void ButtonNode::init_type void   )  [inline, static]
 

Reimplemented from DataNode.

Definition at line 81 of file buttonNode.h.

References DataNode::get_class_type(), DataNode::init_type(), and register_type().

Referenced by init_libdevice().

INLINE bool ButtonNode::is_button_known int  index  )  const [private]
 

INLINE bool ButtonNode::is_valid  )  const [private]
 

Referenced by do_transmit_data().

void ButtonNode::output ostream &  out  )  const [virtual]
 

Reimplemented from PandaNode.

Definition at line 77 of file buttonNode.cxx.

References NULL, and PandaNode::output().

ButtonNode::PT ButtonEventList   )  [private]
 

ButtonNode::PT ClientButtonDevice   )  [private]
 

INLINE void ButtonNode::set_button_map int  index,
ButtonHandle  button
[private]
 

void ButtonNode::write ostream &  out,
int  indent_level = 0
const [virtual]
 

Reimplemented from PandaNode.

Definition at line 95 of file buttonNode.cxx.

References NULL, and PandaNode::write().


Member Data Documentation

PUBLISHED ButtonNode::__pad0__ [private]
 

Reimplemented from DataNode.

Definition at line 47 of file buttonNode.h.

int ButtonNode::_button_events_output [private]
 

Definition at line 74 of file buttonNode.h.

Referenced by do_transmit_data().

TypeHandle ButtonNode::_type_handle [static, private]
 

Reimplemented from DataNode.

Definition at line 25 of file buttonNode.cxx.

PUBLISHED const string& ButtonNode::device_name [private]
 

Definition at line 47 of file buttonNode.h.


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:11:28 2003 for Panda by doxygen1.3