22 #ifndef __M2ETIS_MESSAGE_NETWORKMESSAGE_H__
23 #define __M2ETIS_MESSAGE_NETWORKMESSAGE_H__
25 #include "m2etis/config/GeneratedEventTypes.h"
31 #include "boost/serialization/export.hpp"
32 #include "boost/serialization/list.hpp"
33 #include "boost/serialization/map.hpp"
34 #include "boost/serialization/shared_ptr.hpp"
35 #include "boost/serialization/variant.hpp"
36 #include "boost/serialization/vector.hpp"
41 template<
class NetworkType>
45 typedef boost::shared_ptr<NetworkMessage>
Ptr;
71 SimulationEventType pl;
75 friend class boost::serialization::access;
77 template<
typename Archive>
78 void serialize(Archive & ar,
const unsigned int ) {
NetworkType::Key sender
sender of the message
NetworkType::Key receiver
receiver of the message
virtual ~NetworkMessage()
NetworkMessage(const NetworkMessage &msg, MessageType *mt)
NetworkMessage(MessageType *mt)
boost::shared_ptr< NetworkMessage > Ptr