#include <POMessageFactory.h>
Static Public Member Functions | |
void | init () |
bool | Register (POMessage *msg) |
bool | UnRegister (const string &type) |
POMessage * | BuildFromBuffer (char *buffer) |
POMessage * | Build (const string &type) |
|
Builds a new message based on type
|
|
Creates a new message based on a packed buffer
|
|
|
|
Used to add a new message type to the factory. Msg is a pointer to a message that the factory will keep around and use to create new messages as needed.
|
|
Removes a message type from the factory. Useful if you are loading and unloading DSOs
|