Go to the documentation of this file.00001
00002
00003
00004
00005 #ifndef _OVERSIMMESSAGE_M_H_
00006 #define _OVERSIMMESSAGE_M_H_
00007
00008 #include <omnetpp.h>
00009
00010
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 #if OMNETPP_VERSION<0x0401
00018 #define getEncapsulatedPacket getEncapsulatedMsg
00019 #endif
00020
00021
00022
00023
00054 class OverSimMessage_Base : public ::cPacket
00055 {
00056 protected:
00057
00058
00059 bool operator==(const OverSimMessage_Base&);
00060
00061 OverSimMessage_Base(const char *name=NULL, int kind=0);
00062 OverSimMessage_Base(const OverSimMessage_Base& other);
00063
00064 OverSimMessage_Base& operator=(const OverSimMessage_Base& other);
00065
00066 public:
00067 virtual ~OverSimMessage_Base();
00068 virtual OverSimMessage_Base *dup() const {throw cRuntimeError("You forgot to manually add a dup() function to class OverSimMessage");}
00069 virtual void parsimPack(cCommBuffer *b);
00070 virtual void parsimUnpack(cCommBuffer *b);
00071
00072
00073 };
00074
00075
00076 #endif // _OVERSIMMESSAGE_M_H_