22 #ifndef __M2ETIS_MESSAGE_MESSAGEFACTORY_H__
23 #define __M2ETIS_MESSAGE_MESSAGEFACTORY_H__
37 template<
class ChannelType,
class NetworkType>
47 template<
class EventType>
49 return boost::make_shared<InternalMessage<NetworkType, ChannelType, EventType>>(w);
52 template<
class EventType>
54 return boost::make_shared<InternalMessage<NetworkType, ChannelType, EventType>>();
57 template<
class EventType>
62 template <
class EventType>
boost::shared_ptr< M2Message< EventType > > Ptr
M2Message< EventType >::Ptr createMessage() const
NetworkMessage< NetworkType >::Ptr transformToNetworkMessage(typename M2Message< EventType >::Ptr msg) const
M2Message< EventType >::Ptr createMessage(const EventType &w) const
creates a Message
boost::shared_ptr< NetworkMessage > Ptr
Message Factory to create messages.
message::M2Message< EventType >::Ptr transformToM2Message(typename message::NetworkMessage< NetworkType >::Ptr msg) const