#include <Message.h>
Inheritance diagram for CMessage:
Public Member Functions | |
CMessage () | |
CMessage. | |
CMessage (const CMessage &m) | |
CMessage. | |
~CMessage () | |
~CMessage | |
void | Reply () |
Reply. | |
void | SetSender (uint32 sender) |
SetSender. | |
void | SetRecipient (uint32 recipient) |
SetRecipient. | |
void | SetTimeStamp (TIMESTRUCT timeStmp) |
SetTimeStamp. | |
void | SetCRC (uint32 CRC) |
SetCRC. | |
void | SetMsgType (MsgTypes mType) |
SetMsgType. | |
uint32 | GetSender () const |
GetSender. | |
uint32 | GetRecipient () const |
GetRecipient. | |
TIMESTRUCT | GetTimeStamp () const |
GetTimeStamp. | |
uint32 | GetCRC () const |
GetCRC. | |
uint32 | GetLength () const |
GetLength. | |
uint32 | GetMsgType () const |
GetMsgType. | |
void | SetMsgBody (int8 *ptr, uint32 size, bool bDoCopy=true, bool bIsPacked=false) |
SetMsgBody(). | |
int8 * | GetMsgBody (bool bDoCopy=true) const |
GetMsgBody(). | |
uint32 | GetMsgBodySize () const |
GetMsgBodySize(). | |
bool | IsBufferPacked () const |
IsBufferPacked. | |
virtual void | operator= (const CMessage &m) |
operator = |
Description: : The message class is the primary class which holds messages passed between modules
Limitations: : None
|
CMessage. Description:: Default constructor Limitations: None |
|
CMessage. Description:: Copy constructor
|
|
~CMessage Description: Default Destructor Limitations: None |
|
GetCRC. Description: Returns the CRC checksum of the message
|
|
GetLength. Description: Returns the length of the message body
|
|
Description: Returns the Message Header
|
|
Description: Returns the Message Body size
|
|
GetMsgType. Description: Returns the message type
|
|
GetRecipient. Description: Returns the recipient ID of the message
|
|
GetSender. Description: Returns the sender ID
|
|
GetTimeStamp. Description: Returns the timestamp of the message
|
|
IsBufferPacked. Description: Returns true if the message buffer is packed and false otherwise.
|
|
operator = Description: Copies all attributes from the current message into another
|
|
Reply. Description: This function provides a convienient way to create a reply message. The source and destinaton addresses are swapped so that the message will be returned to the sender when mailed (through the dispatcher).
|
|
SetCRC. Description: Sets the CRC checksum for the message
|
|
Description: Sets the pointer to the message body
|
|
SetMsgType. Description: Sets the message type
|
|
SetRecipient. Description: Sets the intended recipient of the message
|
|
SetSender. Description: Sets the sender of the message
|
|
SetTimeStamp. Description: Sets the timestamp on the message
|