00001 // 00002 // Generated file, do not edit! Created by opp_msgc 4.0 from tier2/dhttestapp/DHTTestAppMessages.msg. 00003 // 00004 00005 #ifndef _DHTTESTAPPMESSAGES_M_H_ 00006 #define _DHTTESTAPPMESSAGES_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 // cplusplus {{ ... }} section: 00017 00018 #include <OverlayKey.h> 00019 // end cplusplus 00020 00021 00022 00033 class DhtTestEntryTimer : public cMessage 00034 { 00035 protected: 00036 OverlayKey key_var; 00037 00038 // protected and unimplemented operator==(), to prevent accidental usage 00039 bool operator==(const DhtTestEntryTimer&); 00040 00041 public: 00042 DhtTestEntryTimer(const char *name=NULL, int kind=0); 00043 DhtTestEntryTimer(const DhtTestEntryTimer& other); 00044 virtual ~DhtTestEntryTimer(); 00045 DhtTestEntryTimer& operator=(const DhtTestEntryTimer& other); 00046 virtual DhtTestEntryTimer *dup() const {return new DhtTestEntryTimer(*this);} 00047 virtual void parsimPack(cCommBuffer *b); 00048 virtual void parsimUnpack(cCommBuffer *b); 00049 00050 // field getter/setter methods 00051 virtual OverlayKey& getKey(); 00052 virtual const OverlayKey& getKey() const {return const_cast<DhtTestEntryTimer*>(this)->getKey();} 00053 virtual void setKey(const OverlayKey& key_var); 00054 }; 00055 00056 inline void doPacking(cCommBuffer *b, DhtTestEntryTimer& obj) {obj.parsimPack(b);} 00057 inline void doUnpacking(cCommBuffer *b, DhtTestEntryTimer& obj) {obj.parsimUnpack(b);} 00058 00059 00060 #endif // _DHTTESTAPPMESSAGES_M_H_
1.5.8