Eaagles::DeviceIO::ButtonEvent Class Reference

Inherits Eaagles::DeviceIO::IOEvent.

Inheritance diagram for Eaagles::DeviceIO::ButtonEvent:

Inheritance graph
[legend]
Collaboration diagram for Eaagles::DeviceIO::ButtonEvent:

Collaboration graph
[legend]
List of all members.

Public Types

enum  EventType {
  PRESS, RELEASE, ANY, BUTTON_PRESS,
  BUTTON_RELEASE, AXIS
}

Public Member Functions

 ButtonEvent (void)
 ButtonEvent (int idx, EventType ev)
virtual void processEvent (bool btnState)=0
EventType getEvent (void)

Private Attributes

EventType event

Member Enumeration Documentation

enum Eaagles::DeviceIO::ButtonEvent::EventType

Enumerator:
PRESS 
RELEASE 
ANY 
BUTTON_PRESS 
BUTTON_RELEASE 
AXIS 


Constructor & Destructor Documentation

Eaagles::DeviceIO::ButtonEvent::ButtonEvent ( void   ) 

Button i/o event callback class.

Eaagles::DeviceIO::ButtonEvent::ButtonEvent ( int  idx,
EventType  ev 
)


Member Function Documentation

virtual void Eaagles::DeviceIO::ButtonEvent::processEvent ( bool  btnState  )  [pure virtual]

to be implemented in derived class

EventType Eaagles::DeviceIO::ButtonEvent::getEvent ( void   )  [inline]

captures the event the user inputs


Member Data Documentation

EventType Eaagles::DeviceIO::ButtonEvent::event [private]


Generated on Tue Dec 19 16:26:56 2006 for Eaagles by  doxygen 1.5.0