Message base class. More...
Public Member Functions
|virtual gives Message_t *||Clone () const|
|void||Flatten (out Buffer_t *buffer) const|
|virtual int||FlattenContents (out byte *buffer) const|
|virtual int||FlattenedContentsSize () const|
Message base class. See MessageLoop_t for a comprehensive explanation of the UT messaging architecture.
|virtual gives Message_t* Message_t::Clone||(||)|| const
Creates a clone of the message.
|void Message_t::Flatten||(||out Buffer_t *||buffer||)||const|
Flattens the message into a buffer.
|virtual int Message_t::FlattenContents||(||out byte *||buffer||)|| const
Flattens the message into a buffer, which already contains some information needed to reconstruct the specific type of message from the buffer. If a message subclass is used in a context where it would need to be flattened (sent from one process to another), then it must implement the FlattenContents function. It must return the number of bytes used, which must match what would be returned by FlattenedContentsSize.
|virtual int Message_t::FlattenedContentsSize||(||)|| const
Returns the size which would be required to flatten the message contents into a buffer. If a message subclass is used in a context where it would need to be flattened (sent from one process to another), then it must implement the FlattenedContentsSize function.