ALMTestTracedMessage_m.h

Go to the documentation of this file.
00001 //
00002 // Generated file, do not edit! Created by opp_msgc 4.1 from applications/almtest/ALMTestTracedMessage.msg.
00003 //
00004 
00005 #ifndef _ALMTESTTRACEDMESSAGE_M_H_
00006 #define _ALMTESTTRACEDMESSAGE_M_H_
00007 
00008 #include <omnetpp.h>
00009 
00010 // opp_msgc version check
00011 #define MSGC_VERSION 0x0401
00012 #if (MSGC_VERSION!=OMNETPP_VERSION)
00013 #    error Version mismatch! Probably this file was generated by an earlier version of opp_msgc: 'make clean' should help.
00014 #endif
00015 
00016 // cplusplus {{
00017 #include <OverlayKey.h>
00018 // }}
00019 
00020 
00021 
00043 class ALMTestTracedMessage : public ::cPacket
00044 {
00045   protected:
00046     ::OverlayKey groupId_var;
00047     long mcastId_var;
00048     int senderId_var;
00049     int receiverId_var;
00050 
00051     // protected and unimplemented operator==(), to prevent accidental usage
00052     bool operator==(const ALMTestTracedMessage&);
00053 
00054   public:
00055     ALMTestTracedMessage(const char *name=NULL, int kind=0);
00056     ALMTestTracedMessage(const ALMTestTracedMessage& other);
00057     virtual ~ALMTestTracedMessage();
00058     ALMTestTracedMessage& operator=(const ALMTestTracedMessage& other);
00059     virtual ALMTestTracedMessage *dup() const {return new ALMTestTracedMessage(*this);}
00060     virtual void parsimPack(cCommBuffer *b);
00061     virtual void parsimUnpack(cCommBuffer *b);
00062 
00063     // field getter/setter methods
00064     virtual OverlayKey& getGroupId();
00065     virtual const OverlayKey& getGroupId() const {return const_cast<ALMTestTracedMessage*>(this)->getGroupId();}
00066     virtual void setGroupId(const OverlayKey& groupId_var);
00067     virtual long getMcastId() const;
00068     virtual void setMcastId(long mcastId_var);
00069     virtual int getSenderId() const;
00070     virtual void setSenderId(int senderId_var);
00071     virtual int getReceiverId() const;
00072     virtual void setReceiverId(int receiverId_var);
00073 };
00074 
00075 inline void doPacking(cCommBuffer *b, ALMTestTracedMessage& obj) {obj.parsimPack(b);}
00076 inline void doUnpacking(cCommBuffer *b, ALMTestTracedMessage& obj) {obj.parsimUnpack(b);}
00077 
00078 
00079 #endif // _ALMTESTTRACEDMESSAGE_M_H_