14 namespace MAKVrExchange
35 DtPortalMessage* create(
const void* message,
unsigned int messageSize )
const;
45 template <
typename T_Message>
46 void registerCreator(
const T_Message& msg );
67 template <
typename T_Message>
#define DT_DLL_LIBPORTAL
Definition: include/portal/dllExport.h:20
Contains the DtPortalMessage class declaration.
The base class for all messages passed through the portal.
Definition: pMessage.h:65
std::map< DtPortalMessageKind, ShmMessageCreator > KindCreateFunctionMap
Definition: pMessageFactory.h:61
This factory creates DtPortalMessage instances from a byte array.
Definition: pMessageFactory.h:22
KindCreateFunctionMap myCreatorFunctionMap
Definition: pMessageFactory.h:62
void registerCreator(const T_Message &msg)
registers a message creator function with the factory.
Definition: pMessageFactory.h:68
DtPortalMessageKind
A List of message kinds distributed with the Portal.
Definition: pMessageKinds.h:23