SimpleGameClient_m.h

Go to the documentation of this file.
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 
00035 class SCSnowTimer : public cMessage
00036 {
00037   protected:
00038     Vector2D position_var;
00039     unsigned int ip_var;
00040 
00041     // protected and unimplemented operator==(), to prevent accidental usage
00042     bool operator==(const SCSnowTimer&);
00043 
00044   public:
00045     SCSnowTimer(const char *name=NULL, int kind=0);
00046     SCSnowTimer(const SCSnowTimer& other);
00047     virtual ~SCSnowTimer();
00048     SCSnowTimer& operator=(const SCSnowTimer& other);
00049     virtual SCSnowTimer *dup() const {return new SCSnowTimer(*this);}
00050     virtual void parsimPack(cCommBuffer *b);
00051     virtual void parsimUnpack(cCommBuffer *b);
00052 
00053     // field getter/setter methods
00054     virtual Vector2D& getPosition();
00055     virtual const Vector2D& getPosition() const {return const_cast<SCSnowTimer*>(this)->getPosition();}
00056     virtual void setPosition(const Vector2D& position_var);
00057     virtual unsigned int getIp() const;
00058     virtual void setIp(unsigned int ip_var);
00059 };
00060 
00061 inline void doPacking(cCommBuffer *b, SCSnowTimer& obj) {obj.parsimPack(b);}
00062 inline void doUnpacking(cCommBuffer *b, SCSnowTimer& obj) {obj.parsimUnpack(b);}
00063 
00064 
00065 #endif // _SIMPLEGAMECLIENT_M_H_

Generated on Tue Sep 8 17:26:54 2009 for OverSim by  doxygen 1.5.8