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

ButtonEvent Class Reference

#include <buttonEvent.h>

List of all members.

Public Types

enum  Type { T_down, T_resume_down, T_up, T_keystroke }

Public Member Functions

INLINE ButtonEvent ()
INLINE ButtonEvent (ButtonHandle button, Type type)
INLINE ButtonEvent (short keycode)
INLINE ButtonEvent (const ButtonEvent &copy)
INLINE void operator= (const ButtonEvent &copy)
INLINE bool operator== (const ButtonEvent &other) const
INLINE bool operator!= (const ButtonEvent &other) const
INLINE bool operator< (const ButtonEvent &other) const
void output (ostream &out) const

Public Attributes

ButtonHandle _button
short _keycode
Type _type


Member Enumeration Documentation

enum ButtonEvent::Type
 

Enumeration values:
T_down 
T_resume_down 
T_up 
T_keystroke 

Definition at line 54 of file buttonEvent.h.


Constructor & Destructor Documentation

INLINE ButtonEvent::ButtonEvent  ) 
 

INLINE ButtonEvent::ButtonEvent ButtonHandle  button,
Type  type
 

INLINE ButtonEvent::ButtonEvent short  keycode  ) 
 

INLINE ButtonEvent::ButtonEvent const ButtonEvent &  copy  ) 
 


Member Function Documentation

INLINE bool ButtonEvent::operator!= const ButtonEvent &  other  )  const
 

INLINE bool ButtonEvent::operator< const ButtonEvent &  other  )  const
 

INLINE void ButtonEvent::operator= const ButtonEvent &  copy  ) 
 

INLINE bool ButtonEvent::operator== const ButtonEvent &  other  )  const
 

void ButtonEvent::output ostream &  out  )  const
 

Definition at line 27 of file buttonEvent.cxx.

References _button, _keycode, T_down, T_keystroke, T_resume_down, and T_up.

Referenced by operator<<().


Member Data Documentation

ButtonHandle ButtonEvent::_button
 

Definition at line 87 of file buttonEvent.h.

Referenced by MouseWatcher::do_transmit_data(), DriveInterface::do_transmit_data(), ButtonThrower::do_transmit_data(), and output().

short ButtonEvent::_keycode
 

Definition at line 91 of file buttonEvent.h.

Referenced by MouseWatcher::do_transmit_data(), and output().

Type ButtonEvent::_type
 

Definition at line 93 of file buttonEvent.h.

Referenced by MouseWatcher::do_transmit_data(), DriveInterface::do_transmit_data(), and ButtonThrower::do_transmit_data().


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