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