OverSim
GlobalTraceManager_m.h
Go to the documentation of this file.
1 //
2 // Generated file, do not edit! Created by opp_msgc 4.2 from common/GlobalTraceManager.msg.
3 //
4 
5 #ifndef _GLOBALTRACEMANAGER_M_H_
6 #define _GLOBALTRACEMANAGER_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 
17 
28 class GlobalTraceManagerMessage : public ::cPacket
29 {
30  protected:
33 
34  private:
35  void copy(const GlobalTraceManagerMessage& other);
36 
37  protected:
38  // protected and unimplemented operator==(), to prevent accidental usage
40 
41  public:
42  GlobalTraceManagerMessage(const char *name=NULL, int kind=0);
46  virtual GlobalTraceManagerMessage *dup() const {return new GlobalTraceManagerMessage(*this);}
47  virtual void parsimPack(cCommBuffer *b);
48  virtual void parsimUnpack(cCommBuffer *b);
49 
50  // field getter/setter methods
51  virtual int getInternalNodeId() const;
52  virtual void setInternalNodeId(int internalNodeId);
53  virtual int getLineNumber() const;
54  virtual void setLineNumber(int lineNumber);
55 };
56 
57 inline void doPacking(cCommBuffer *b, GlobalTraceManagerMessage& obj) {obj.parsimPack(b);}
58 inline void doUnpacking(cCommBuffer *b, GlobalTraceManagerMessage& obj) {obj.parsimUnpack(b);}
59 
60 
61 #endif // _GLOBALTRACEMANAGER_M_H_