OverSim
SimpleGameClient_m.h
Go to the documentation of this file.
1 //
2 // Generated file, do not edit! Created by opp_msgc 4.2 from applications/simplegameclient/SimpleGameClient.msg.
3 //
4 
5 #ifndef _SIMPLEGAMECLIENT_M_H_
6 #define _SIMPLEGAMECLIENT_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 <NodeHandle.h>
18  #include <OverlayKey.h>
19  #include <Vector2D.h>
20 // }}
21 
22 
23 
34 class SCSnowTimer : public ::cMessage
35 {
36  protected:
38  unsigned int ip_var;
39 
40  private:
41  void copy(const SCSnowTimer& other);
42 
43  protected:
44  // protected and unimplemented operator==(), to prevent accidental usage
45  bool operator==(const SCSnowTimer&);
46 
47  public:
48  SCSnowTimer(const char *name=NULL, int kind=0);
49  SCSnowTimer(const SCSnowTimer& other);
50  virtual ~SCSnowTimer();
51  SCSnowTimer& operator=(const SCSnowTimer& other);
52  virtual SCSnowTimer *dup() const {return new SCSnowTimer(*this);}
53  virtual void parsimPack(cCommBuffer *b);
54  virtual void parsimUnpack(cCommBuffer *b);
55 
56  // field getter/setter methods
57  virtual Vector2D& getPosition();
58  virtual const Vector2D& getPosition() const {return const_cast<SCSnowTimer*>(this)->getPosition();}
59  virtual void setPosition(const Vector2D& position);
60  virtual unsigned int getIp() const;
61  virtual void setIp(unsigned int ip);
62 };
63 
64 inline void doPacking(cCommBuffer *b, SCSnowTimer& obj) {obj.parsimPack(b);}
65 inline void doUnpacking(cCommBuffer *b, SCSnowTimer& obj) {obj.parsimUnpack(b);}
66 
67 
68 #endif // _SIMPLEGAMECLIENT_M_H_