Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
IPCEventTranslator Class Reference#include <EventTranslator.h>
Inheritance diagram for IPCEventTranslator:
![]() Detailed DescriptionAn implementation of EventTranslator which will forward events using the inter-process mechanisms of the current platform.The current implementation creates an RCRegion for each event and then releases its reference to the region after it is sent. A more efficient implementation might retain a queue of recycled RCRegions to reduce allocation costs Definition at line 110 of file EventTranslator.h.
Member Typedef Documentationthe class for sending IPC messages on unix-based systems
Definition at line 116 of file EventTranslator.h.
Constructor & Destructor Documentation
don't call
Member Function Documentation
extends base class's implementation to store event.getName() into curName
Reimplemented from EventTranslator. Definition at line 123 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()) Implements EventTranslator. Definition at line 70 of file EventTranslator.cc.
Called by encodeEvent() after serialization is complete for communication to other processes.
Implements EventTranslator. Definition at line 82 of file EventTranslator.cc.
don't call
Member Data Documentation
where to post messages upon serialization, set by constructor
Definition at line 132 of file EventTranslator.h. Referenced by post().
the region currently being serialized into, only valid between call to bufferRequest() and following post()
Definition at line 133 of file EventTranslator.h. Referenced by bufferRequest(), and post().
name of current event being posted (for error messages)
Definition at line 134 of file EventTranslator.h. Referenced by encodeEvent(), and post().
The documentation for this class was generated from the following files: |
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:27 2007 by Doxygen 1.5.4 |