EpcTools
An event based multi-threaded C++ development framework.
|
An event message that is to be sent to a thread. More...
#include <etevent.h>
Public Member Functions | |
EThreadMessage () | |
Default class constructor. More... | |
EThreadMessage (UInt msgid) | |
Class constructor. More... | |
EThreadMessage (UInt msgid, EThreadEventMessageData &data) | |
Class constructor. More... | |
EThreadMessage (UInt msgid, pVoid v) | |
Class constructor. More... | |
EThreadMessage (UInt msgid, LongLong v) | |
Class constructor. More... | |
EThreadMessage (UInt msgid, ULongLong v) | |
Class constructor. More... | |
EThreadMessage (UInt msgid, Long v1, Long v2=0) | |
Class constructor. More... | |
EThreadMessage (UInt msgid, ULong v1, ULong v2=0) | |
Class constructor. More... | |
EThreadMessage (UInt msgid, Short v1, Short v2=0, Short v3=0, Short v4=0) | |
Class constructor. More... | |
EThreadMessage (UInt msgid, UShort v1, UShort v2=0, UShort v3=0, UShort v4=0) | |
Class constructor. More... | |
EThreadMessage (UInt msgid, Char v1, Char v2=0, Char v3=0, Char v4=0, Char v5=0, Char v6=0, Char v7=0, Char v8=0) | |
Class constructor. More... | |
EThreadMessage (UInt msgid, UChar v1, UChar v2=0, UChar v3=0, UChar v4=0, UChar v5=0, UChar v6=0, UChar v7=0, UChar v8=0) | |
Class constructor. More... | |
EThreadMessage () | |
Default constructor. More... | |
EThreadMessage (UInt msgid) | |
Class constructor. More... | |
EThreadMessage (UInt msgid, Dword lowPart, Long highPart) | |
Class constructor. More... | |
EThreadMessage (UInt msgid, pVoid voidPtr) | |
Class constructor. More... | |
EThreadMessage (UInt msgid, LongLong quadPart) | |
Class constructor. More... | |
EThreadMessage (const EThreadMessage &msg) | |
Copy constructor. More... | |
~EThreadMessage () | |
Class destructor. More... | |
EThreadMessage & | operator= (const EThreadMessage &val) |
Assignment operator. More... | |
Void | set (UInt msgid) |
Assigns values to this message object. More... | |
Void | set (UInt msgid, Dword lowPart, Long highPart) |
Assigns values to this message object. More... | |
Void | set (UInt msgid, pVoid voidPtr) |
Assigns values to this message object. More... | |
Void | set (UInt msgid, LongLong quadPart) |
Assigns values to this message object. More... | |
ETimer & | getTimer () |
Retrieves the ETimer object associated with this event. More... | |
UInt & | getMsgId () |
Retrieves the message ID associated with this message. More... | |
Dword & | getLowPart () |
Retrieves the unsigned 32-bit value associated with this message. More... | |
Long & | getHighPart () |
Retrieves the signed 32-bit value associated with this message. More... | |
LongLong & | getQuadPart () |
Retrieves the signed 64-bit value associated with this message. More... | |
pVoid & | getVoidPtr () |
Retrieves the void pointer value associated with this message. More... | |
![]() | |
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... | |
![]() | |
virtual | ~_EThreadEventMessageBase () |
Virtual class destructor. More... | |
Friends | |
class | EThreadQueueBase |
An event message that is to be sent to a thread.
Represents an event message to be sent to a thread.
This thread message contains a union that interprets 8 bytes in various ways.
|
inline |
Default class constructor.
|
inline |
Class constructor.
msgid | the event message id. |
|
inline |
Class constructor.
msgid | the event message id. |
data | a data object to include in the message (contains the union definition). |
|
inline |
Class constructor.
msgid | the event message id. |
v | a void pointer to include in the event message. |
|
inline |
Class constructor.
msgid | the event message id. |
v | a 64-bit signed integer to include in the event message. |
|
inline |
Class constructor.
msgid | the event message id. |
v | a 64-bit unsigned integer to include in the event message. |
|
inline |
Class constructor.
msgid | the event message id. |
v1 | the first 32-bit signed integer to include in the event message. |
v2 | the second 32-bit signed integer to include in the event message. |
|
inline |
Class constructor.
msgid | the event message id. |
v1 | the first 32-bit unsigned integer to include in the event message. |
v2 | the second 32-bit unsigned integer to include in the event message. |
|
inline |
Class constructor.
msgid | the event message id. |
v1 | the first 16-bit signed integer to include in the event message. |
v2 | the second 16-bit signed integer to include in the event message. |
v3 | the third 16-bit signed integer to include in the event message. |
v4 | the fourth 16-bit signed integer to include in the event message. |
|
inline |
Class constructor.
msgid | the event message id. |
v1 | the first 16-bit unsigned integer to include in the event message. |
v2 | the second 16-bit unsigned integer to include in the event message. |
v3 | the third 16-bit unsigned integer to include in the event message. |
v4 | the fourth 16-bit unsigned integer to include in the event message. |
|
inline |
Class constructor.
msgid | the event message id. |
v1 | the first 8-bit signed integer to include in the event message. |
v2 | the second 8-bit signed integer to include in the event message. |
v3 | the third 8-bit signed integer to include in the event message. |
v4 | the fourth 8-bit signed integer to include in the event message. |
v5 | the fifth 8-bit signed integer to include in the event message. |
v6 | the sixth 8-bit signed integer to include in the event message. |
v7 | the seventh 8-bit signed integer to include in the event message. |
v8 | the eighth 8-bit signed integer to include in the event message. |
|
inline |
Class constructor.
msgid | the event message id. |
v1 | the first 8-bit unsigned integer to include in the event message. |
v2 | the second 8-bit unsigned integer to include in the event message. |
v3 | the third 8-bit unsigned integer to include in the event message. |
v4 | the fourth 8-bit unsigned integer to include in the event message. |
v5 | the fifth 8-bit unsigned integer to include in the event message. |
v6 | the sixth 8-bit unsigned integer to include in the event message. |
v7 | the seventh 8-bit unsigned integer to include in the event message. |
v8 | the eighth 8-bit unsigned integer to include in the event message. |
|
inline |
Default constructor.
|
inline |
Class constructor.
msgid | the event/message ID. |
|
inline |
Class constructor.
msgid | the event/message ID. |
lowPart | an unsigned 32-bit value to be included with the message. |
highPart | a signed 32-bit value to be included with the message. |
|
inline |
Class constructor.
msgid | the event/message ID. |
voidPtr | a void pointer to be included with the message. |
|
inline |
Class constructor.
msgid | the event/message ID. |
quadPart | a signed 64-bit value to be included with the message. |
|
inline |
Copy constructor.
msg | the EThreadMessage to copy. |
|
inline |
Class destructor.
|
inline |
Retrieves the signed 32-bit value associated with this message.
|
inline |
Retrieves the unsigned 32-bit value associated with this message.
|
inline |
Retrieves the message ID associated with this message.
|
inline |
Retrieves the signed 64-bit value associated with this message.
|
inline |
|
inline |
Retrieves the void pointer value associated with this message.
|
inline |
Assignment operator.
val | the value to copy. |
|
inline |
Assigns values to this message object.
msgid | the message ID. |
|
inline |
Assigns values to this message object.
msgid | the message ID. |
lowPart | an unsigned 32-bit value to be included with the message. |
highPart | a signed 32-bit value to be included with the message. |
|
inline |
Assigns values to this message object.
msgid | the message ID. |
quadPart | a signed 64-bit value to be included with the message. |
|
inline |
Assigns values to this message object.
msgid | the message ID. |
voidPtr | a void pointer to be included with the message. |
|
friend |