00001 // 00002 // Generated file, do not edit! Created by opp_msgc 4.1 from applications/simplegameclient/SimpleGameClient.msg. 00003 // 00004 00005 #ifndef _SIMPLEGAMECLIENT_M_H_ 00006 #define _SIMPLEGAMECLIENT_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 <NodeHandle.h> 00018 #include <OverlayKey.h> 00019 #include <Vector2D.h> 00020 // }} 00021 00022 00023 00034 class SCSnowTimer : public ::cMessage 00035 { 00036 protected: 00037 ::Vector2D position_var; 00038 unsigned int ip_var; 00039 00040 // protected and unimplemented operator==(), to prevent accidental usage 00041 bool operator==(const SCSnowTimer&); 00042 00043 public: 00044 SCSnowTimer(const char *name=NULL, int kind=0); 00045 SCSnowTimer(const SCSnowTimer& other); 00046 virtual ~SCSnowTimer(); 00047 SCSnowTimer& operator=(const SCSnowTimer& other); 00048 virtual SCSnowTimer *dup() const {return new SCSnowTimer(*this);} 00049 virtual void parsimPack(cCommBuffer *b); 00050 virtual void parsimUnpack(cCommBuffer *b); 00051 00052 // field getter/setter methods 00053 virtual Vector2D& getPosition(); 00054 virtual const Vector2D& getPosition() const {return const_cast<SCSnowTimer*>(this)->getPosition();} 00055 virtual void setPosition(const Vector2D& position_var); 00056 virtual unsigned int getIp() const; 00057 virtual void setIp(unsigned int ip_var); 00058 }; 00059 00060 inline void doPacking(cCommBuffer *b, SCSnowTimer& obj) {obj.parsimPack(b);} 00061 inline void doUnpacking(cCommBuffer *b, SCSnowTimer& obj) {obj.parsimUnpack(b);} 00062 00063 00064 #endif // _SIMPLEGAMECLIENT_M_H_