OverSim
ALMTestTracedMessage_m.h
Go to the documentation of this file.
1 //
2 // Generated file, do not edit! Created by opp_msgc 4.2 from applications/almtest/ALMTestTracedMessage.msg.
3 //
4 
5 #ifndef _ALMTESTTRACEDMESSAGE_M_H_
6 #define _ALMTESTTRACEDMESSAGE_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 
43 class ALMTestTracedMessage : public ::cPacket
44 {
45  protected:
50 
51  private:
52  void copy(const ALMTestTracedMessage& other);
53 
54  protected:
55  // protected and unimplemented operator==(), to prevent accidental usage
56  bool operator==(const ALMTestTracedMessage&);
57 
58  public:
59  ALMTestTracedMessage(const char *name=NULL, int kind=0);
61  virtual ~ALMTestTracedMessage();
63  virtual ALMTestTracedMessage *dup() const {return new ALMTestTracedMessage(*this);}
64  virtual void parsimPack(cCommBuffer *b);
65  virtual void parsimUnpack(cCommBuffer *b);
66 
67  // field getter/setter methods
68  virtual OverlayKey& getGroupId();
69  virtual const OverlayKey& getGroupId() const {return const_cast<ALMTestTracedMessage*>(this)->getGroupId();}
70  virtual void setGroupId(const OverlayKey& groupId);
71  virtual long getMcastId() const;
72  virtual void setMcastId(long mcastId);
73  virtual int getSenderId() const;
74  virtual void setSenderId(int senderId);
75  virtual int getReceiverId() const;
76  virtual void setReceiverId(int receiverId);
77 };
78 
79 inline void doPacking(cCommBuffer *b, ALMTestTracedMessage& obj) {obj.parsimPack(b);}
80 inline void doUnpacking(cCommBuffer *b, ALMTestTracedMessage& obj) {obj.parsimUnpack(b);}
81 
82 
83 #endif // _ALMTESTTRACEDMESSAGE_M_H_