Public Member Functions | |
CP_Message () | |
CP_Message (void *inSendingObject, SInt32 inMsgType, SInt32 inMessage, SInt32 inData=0) | |
virtual | ~CP_Message () |
void | Clear () |
SInt32 | GetMessage () const |
void * | GetSender () const |
SInt32 | GetType () const |
SInt32 | GetData () const |
void | SetMessage (const SInt32 inMessage) |
void | SetSender (void *inSender=NULL) |
void | SetType (const SInt32 inType) |
void | SetData (SInt32 inData) |
Protected Attributes | |
SInt32 | fMessage |
SInt32 | fMessageType |
void * | fSendingObject |
SInt32 | fData |
|
Constructor. This constructor creates an empty message with all fields set to 0. |
|
Constructor. This constructor creates the message from the passed in parameters.
|
|
Destructor. |
|
Clear out the contents of this message. This will reset all fields to 0.
|
|
Return the SInt32 of this message. |
|
Return the sending object. |
|
Return the type of message contained in this message. |
|
Return any user supplied data. |
|
Set the SInt32 for this message. |
|
Sets the sending object of this message. |
|
Sets the type of message this is. |
|
Sets any user supplied data for this message. |
|
The message. |
|
The type of message being sent. |
|
The sending object. |
|
Data attached to this message. |