RealWorldTestMessage_m.h

Go to the documentation of this file.
00001 //
00002 // Generated file, do not edit! Created by opp_msgc 4.1 from applications/realworldtestapp/RealWorldTestMessage.msg.
00003 //
00004 
00005 #ifndef _REALWORLDTESTMESSAGE_M_H_
00006 #define _REALWORLDTESTMESSAGE_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 
00017 
00027 class RealWorldTestMessage : public ::cPacket
00028 {
00029   protected:
00030     opp_string msg_var;
00031 
00032     // protected and unimplemented operator==(), to prevent accidental usage
00033     bool operator==(const RealWorldTestMessage&);
00034 
00035   public:
00036     RealWorldTestMessage(const char *name=NULL, int kind=0);
00037     RealWorldTestMessage(const RealWorldTestMessage& other);
00038     virtual ~RealWorldTestMessage();
00039     RealWorldTestMessage& operator=(const RealWorldTestMessage& other);
00040     virtual RealWorldTestMessage *dup() const {return new RealWorldTestMessage(*this);}
00041     virtual void parsimPack(cCommBuffer *b);
00042     virtual void parsimUnpack(cCommBuffer *b);
00043 
00044     // field getter/setter methods
00045     virtual const char * getMsg() const;
00046     virtual void setMsg(const char * msg_var);
00047 };
00048 
00049 inline void doPacking(cCommBuffer *b, RealWorldTestMessage& obj) {obj.parsimPack(b);}
00050 inline void doUnpacking(cCommBuffer *b, RealWorldTestMessage& obj) {obj.parsimUnpack(b);}
00051 
00052 
00053 #endif // _REALWORLDTESTMESSAGE_M_H_