|
EpcTools
An event based multi-threaded C++ development framework.
|
A template class that all event message classes should derive from. More...
#include <etevent.h>
Public Member Functions | |
| EThreadEventMessageBase () | |
| Default constructor. More... | |
| EThreadEventMessageBase (const T &data) | |
| Copy constructor. More... | |
| virtual | ~EThreadEventMessageBase () |
| Class destructor. More... | |
| T & | operator= (const T &data) |
| Assignment operator. More... | |
| T & | data () |
| Retrieves the data portion of the message. More... | |
| UInt | getMessageId () |
| Retrieves the event message ID associated with this event message. More... | |
| EThreadEventMessageBase & | setMessageId (UInt msgid) |
| Sets the event message ID for this event message. More... | |
| pVoid | getVoidPtr () |
| Retrieves the void pointer from the data portion of this event message. More... | |
| Void | setVoidPtr (pVoid p) |
| Sets the void pointer for this event message. More... | |
| ETimer & | getTimer () |
| Retrieves the timer associated with this event message. More... | |
Public Member Functions inherited from _EThreadEventMessageBase | |
| virtual | ~_EThreadEventMessageBase () |
| Virtual class destructor. More... | |
A template class that all event message classes should derive from.
|
inline |
Default constructor.
|
inline |
Copy constructor.
| data | the T to copy. |
|
inlinevirtual |
Class destructor.
|
inline |
Retrieves the data portion of the message.
|
inline |
Retrieves the event message ID associated with this event message.
|
inline |
Retrieves the timer associated with this event message.
This timer is started when the message is inserted into the thread event queue.
|
inline |
Retrieves the void pointer from the data portion of this event message.
|
inline |
Assignment operator.
| data | the message object to copy. |
|
inline |
Sets the event message ID for this event message.
| msgid | the event message ID for this event message. |
|
inline |
Sets the void pointer for this event message.
| p | the void pointer for this event message. |
1.8.16