OverSim
DHTTestAppMessages_m.h
Go to the documentation of this file.
1 //
2 // Generated file, do not edit! Created by opp_msgc 4.2 from tier2/dhttestapp/DHTTestAppMessages.msg.
3 //
4 
5 #ifndef _DHTTESTAPPMESSAGES_M_H_
6 #define _DHTTESTAPPMESSAGES_M_H_
7 
8 #include <omnetpp.h>
9 
10 // opp_msgc version check
11 #define MSGC_VERSION 0x0402
12 #if (MSGC_VERSION!=OMNETPP_VERSION)
13 # error Version mismatch! Probably this file was generated by an earlier version of opp_msgc: 'make clean' should help.
14 #endif
15 
16 // cplusplus {{
17 #include <OverlayKey.h>
18 // }}
19 
20 
21 
32 class DhtTestEntryTimer : public ::cMessage
33 {
34  protected:
36 
37  private:
38  void copy(const DhtTestEntryTimer& other);
39 
40  protected:
41  // protected and unimplemented operator==(), to prevent accidental usage
42  bool operator==(const DhtTestEntryTimer&);
43 
44  public:
45  DhtTestEntryTimer(const char *name=NULL, int kind=0);
47  virtual ~DhtTestEntryTimer();
49  virtual DhtTestEntryTimer *dup() const {return new DhtTestEntryTimer(*this);}
50  virtual void parsimPack(cCommBuffer *b);
51  virtual void parsimUnpack(cCommBuffer *b);
52 
53  // field getter/setter methods
54  virtual OverlayKey& getKey();
55  virtual const OverlayKey& getKey() const {return const_cast<DhtTestEntryTimer*>(this)->getKey();}
56  virtual void setKey(const OverlayKey& key);
57 };
58 
59 inline void doPacking(cCommBuffer *b, DhtTestEntryTimer& obj) {obj.parsimPack(b);}
60 inline void doUnpacking(cCommBuffer *b, DhtTestEntryTimer& obj) {obj.parsimUnpack(b);}
61 
62 
63 #endif // _DHTTESTAPPMESSAGES_M_H_