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