Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <EventTrapper.h>
Inheritance diagram for EventTrapper:
Trappers get first dibs on events and can prevent the event from being sent any further
This is handy in situations where an event is more than a notification, and must be "handled" - the trapper which handles it returns true, otherwise it is passed to the next one
A trapper can filter any and all events, EXCEPT timers. This *could* be changed, if a good reason is presented.
Definition at line 12 of file EventTrapper.h.
Public Member Functions | |
virtual | ~EventTrapper () |
destructor | |
virtual bool | trapEvent (const EventBase &event)=0 |
for receiving events - you must override this to inherit |
|
destructor
Definition at line 15 of file EventTrapper.h. |
|
for receiving events - you must override this to inherit
Implemented in Controller, WorldStateVelDaemon, and EventTranslator. |
Tekkotsu v2.0 |
Generated Wed Jan 21 03:23:10 2004 by Doxygen 1.3.4 |