Go to the documentation of this file.
5 #ifndef _NICEMESSAGE_M_H_
6 #define _NICEMESSAGE_M_H_
11 #define MSGC_VERSION 0x0402
12 #if (MSGC_VERSION!=OMNETPP_VERSION)
13 # error Version mismatch! Probably this file was generated by an earlier version of opp_msgc: 'make clean' should help.
20 #define TRANSPORTADDRESS_L (IPADDR_L + UDPPORT_L)
30 #define NICEMESSAGE_L(msg) (BASEOVERLAY_L(msg) + NICECOMMAND_L + TRANSPORTADDRESS_L + LAYER_L)
31 #define NICEMEMBERMESSAGE_L(msg) (NICEMESSAGE_L(msg) + (msg->getMembersArraySize() * TRANSPORTADDRESS_L))
32 #define NICECLUSTERMERGE_L(msg) (NICEMEMBERMESSAGE_L(msg) + TRANSPORTADDRESS_L)
33 #define NICEHEARTBEAT_L(msg) (NICEMEMBERMESSAGE_L(msg) + (msg->getDistancesArraySize() * SIMTIME_L) + INT_L + INT_L + SIMTIME_L + INT_L)
34 #define NICELEADERHEARTBEAT_L(msg) (NICEHEARTBEAT_L(msg) + TRANSPORTADDRESS_L + (msg->getSupercluster_membersArraySize() * TRANSPORTADDRESS_L) + INT_L)
35 #define NICEMULTICAST_L(msg) (NICEMESSAGE_L(msg) + TRANSPORTADDRESS_L + DOUBLE_L + INT_L + INT_L)
257 virtual unsigned int getSeqNo()
const;
258 virtual void setSeqNo(
unsigned int seqNo);
266 virtual void setDistances(
unsigned int k,
double distances);
322 virtual unsigned int getK()
const;
323 virtual void setK(
unsigned int k);
373 virtual unsigned int getSeqNo()
const;
374 virtual void setSeqNo(
unsigned int seqNo);
383 #endif // _NICEMESSAGE_M_H_