00001 // 00002 // Generated file, do not edit! Created by opp_msgc 4.0 from common/OverSimMessage.msg. 00003 // 00004 00005 #ifndef _OVERSIMMESSAGE_M_H_ 00006 #define _OVERSIMMESSAGE_M_H_ 00007 00008 #include <omnetpp.h> 00009 00010 // opp_msgc version check 00011 #define MSGC_VERSION 0x0400 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 00048 class OverSimMessage_Base : public cPacket 00049 { 00050 protected: 00051 00052 // protected and unimplemented operator==(), to prevent accidental usage 00053 bool operator==(const OverSimMessage_Base&); 00054 // make constructors protected to avoid instantiation 00055 OverSimMessage_Base(const char *name=NULL, int kind=0); 00056 OverSimMessage_Base(const OverSimMessage_Base& other); 00057 // make assignment operator protected to force the user override it 00058 OverSimMessage_Base& operator=(const OverSimMessage_Base& other); 00059 00060 public: 00061 virtual ~OverSimMessage_Base(); 00062 virtual OverSimMessage_Base *dup() const {throw cRuntimeError("You forgot to manually add a dup() function to class OverSimMessage");} 00063 virtual void parsimPack(cCommBuffer *b); 00064 virtual void parsimUnpack(cCommBuffer *b); 00065 00066 // field getter/setter methods 00067 }; 00068 00069 00070 #endif // _OVERSIMMESSAGE_M_H_
1.5.8