Nps_m.h

Go to the documentation of this file.
00001 //
00002 // Generated file, do not edit! Created by opp_msgc 4.0 from common/Nps.msg.
00003 //
00004 
00005 #ifndef _NPS_M_H_
00006 #define _NPS_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 <TransportAddress.h>
00019 #include <CommonMessages_m.h>
00020 
00021 static const int NPSLAYER_L = 8;
00022 
00023 #define COORDSREQCALL_L(msg) BASECALL_L(msg)
00024 #define COORDSREQRESPONSE_L(msg) (BASERESPONSE_L(msg) + NPSLAYER_L)
00025 // end cplusplus
00026 
00027 
00028 
00037 class CoordsReqCall : public BaseCallMessage
00038 {
00039   protected:
00040 
00041     // protected and unimplemented operator==(), to prevent accidental usage
00042     bool operator==(const CoordsReqCall&);
00043 
00044   public:
00045     CoordsReqCall(const char *name=NULL, int kind=0);
00046     CoordsReqCall(const CoordsReqCall& other);
00047     virtual ~CoordsReqCall();
00048     CoordsReqCall& operator=(const CoordsReqCall& other);
00049     virtual CoordsReqCall *dup() const {return new CoordsReqCall(*this);}
00050     virtual void parsimPack(cCommBuffer *b);
00051     virtual void parsimUnpack(cCommBuffer *b);
00052 
00053     // field getter/setter methods
00054 };
00055 
00056 inline void doPacking(cCommBuffer *b, CoordsReqCall& obj) {obj.parsimPack(b);}
00057 inline void doUnpacking(cCommBuffer *b, CoordsReqCall& obj) {obj.parsimUnpack(b);}
00058 
00069 class CoordsReqResponse : public BaseResponseMessage
00070 {
00071   protected:
00072     char layer_var;
00073 
00074     // protected and unimplemented operator==(), to prevent accidental usage
00075     bool operator==(const CoordsReqResponse&);
00076 
00077   public:
00078     CoordsReqResponse(const char *name=NULL, int kind=0);
00079     CoordsReqResponse(const CoordsReqResponse& other);
00080     virtual ~CoordsReqResponse();
00081     CoordsReqResponse& operator=(const CoordsReqResponse& other);
00082     virtual CoordsReqResponse *dup() const {return new CoordsReqResponse(*this);}
00083     virtual void parsimPack(cCommBuffer *b);
00084     virtual void parsimUnpack(cCommBuffer *b);
00085 
00086     // field getter/setter methods
00087     virtual char getLayer() const;
00088     virtual void setLayer(char layer_var);
00089 };
00090 
00091 inline void doPacking(cCommBuffer *b, CoordsReqResponse& obj) {obj.parsimPack(b);}
00092 inline void doUnpacking(cCommBuffer *b, CoordsReqResponse& obj) {obj.parsimUnpack(b);}
00093 
00094 
00095 #endif // _NPS_M_H_

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