Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
EventTranslator Class Reference#include <EventTranslator.h>
Inheritance diagram for EventTranslator:
![]() Detailed DescriptionEventTranslator receives events from EventRouters in non-Main processes and adds them into a SharedQueue for Main to pick up.Definition at line 10 of file EventTranslator.h.
Constructor & Destructor Documentation
don't call
Member Function Documentation
Call this with events which should be forwarded to other processes.
Reimplemented in NoOpEventTranslator, and IPCEventTranslator. Definition at line 20 of file EventTranslator.cc. Referenced by IPCEventTranslator::encodeEvent(), MotionCommand::postEvent(), processEvent(), and trapEvent().
Call this with events which should be forwarded to other processes (redirects to encodeEvent()). By providing an EventTrapper interface, you can directly register this class with an EventRouter instead of having to manually forward events (although you could do that as well)
Implements EventTrapper. Definition at line 28 of file EventTranslator.h.
Call this with events which should be forwarded to other processes (redirects to encodeEvent()). By providing an EventListener interface, you can directly register this class with an EventRouter instead of having to manually forward events (although you could do that as well) Implements EventListener. Definition at line 34 of file EventTranslator.h.
Called with buffers containing incoming events which should be reconstituted.
Definition at line 46 of file EventTranslator.cc.
set trapRet, which can let you decide whether trapped events should be filtered or not
Definition at line 41 of file EventTranslator.h.
Called by encodeEvent() to request a buffer for serializing into, must be at least size. This buffer will then be sent to post(), which should free it (or recycle it for usage by a later bufferRequest()) Implemented in NoOpEventTranslator, and IPCEventTranslator. Referenced by encodeEvent().
Called by encodeEvent() after serialization is complete for communication to other processes.
Implemented in NoOpEventTranslator, and IPCEventTranslator. Referenced by encodeEvent().
don't call
Member Data Documentation
The value which trapEvent() should return.
Definition at line 62 of file EventTranslator.h. Referenced by setTrapEventValue(), and trapEvent().
The documentation for this class was generated from the following files: |
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:20 2007 by Doxygen 1.5.4 |