|
INET Framework for OMNeT++/OMNEST
|
00001 // 00002 // Generated file, do not edit! Created by opp_msgc 4.2 from linklayer/mfcore/TransmComplete.msg. 00003 // 00004 00005 #ifndef _TRANSMCOMPLETE_M_H_ 00006 #define _TRANSMCOMPLETE_M_H_ 00007 00008 #include <omnetpp.h> 00009 00010 // opp_msgc version check 00011 #define MSGC_VERSION 0x0402 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 "INETDefs.h" 00018 // }} 00019 00020 00021 00030 class TransmComplete : public ::cPacket 00031 { 00032 protected: 00033 00034 private: 00035 void copy(const TransmComplete& other); 00036 00037 protected: 00038 // protected and unimplemented operator==(), to prevent accidental usage 00039 bool operator==(const TransmComplete&); 00040 00041 public: 00042 TransmComplete(const char *name=NULL, int kind=0); 00043 TransmComplete(const TransmComplete& other); 00044 virtual ~TransmComplete(); 00045 TransmComplete& operator=(const TransmComplete& other); 00046 virtual TransmComplete *dup() const {return new TransmComplete(*this);} 00047 virtual void parsimPack(cCommBuffer *b); 00048 virtual void parsimUnpack(cCommBuffer *b); 00049 00050 // field getter/setter methods 00051 }; 00052 00053 inline void doPacking(cCommBuffer *b, TransmComplete& obj) {obj.parsimPack(b);} 00054 inline void doUnpacking(cCommBuffer *b, TransmComplete& obj) {obj.parsimUnpack(b);} 00055 00056 00057 #endif // _TRANSMCOMPLETE_M_H_