00001 // 00002 // Generated file, do not edit! Created by opp_msgc 4.0 from tier3/p2pnstestapp/P2PNSTestAppMessage.msg. 00003 // 00004 00005 #ifndef _P2PNSTESTAPPMESSAGE_M_H_ 00006 #define _P2PNSTESTAPPMESSAGE_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 <OverlayKey.h> 00019 #include <IPvXAddress.h> 00020 #include <BinaryValue.h> 00021 #include <NodeHandle.h> 00022 #include <CommonMessages_m.h> 00023 00024 #define P2PNSTESTCALL_L(msg) BASECALL_L(msg) 00025 #define P2PNSTESTRESPONSE_L(msg) (BASERESPONSE_L(msg) 00026 // end cplusplus 00027 00028 00029 00038 class P2PNSTestCall : public BaseCallMessage 00039 { 00040 protected: 00041 00042 // protected and unimplemented operator==(), to prevent accidental usage 00043 bool operator==(const P2PNSTestCall&); 00044 00045 public: 00046 P2PNSTestCall(const char *name=NULL, int kind=0); 00047 P2PNSTestCall(const P2PNSTestCall& other); 00048 virtual ~P2PNSTestCall(); 00049 P2PNSTestCall& operator=(const P2PNSTestCall& other); 00050 virtual P2PNSTestCall *dup() const {return new P2PNSTestCall(*this);} 00051 virtual void parsimPack(cCommBuffer *b); 00052 virtual void parsimUnpack(cCommBuffer *b); 00053 00054 // field getter/setter methods 00055 }; 00056 00057 inline void doPacking(cCommBuffer *b, P2PNSTestCall& obj) {obj.parsimPack(b);} 00058 inline void doUnpacking(cCommBuffer *b, P2PNSTestCall& obj) {obj.parsimUnpack(b);} 00059 00068 class P2PNSTestResponse : public BaseResponseMessage 00069 { 00070 protected: 00071 00072 // protected and unimplemented operator==(), to prevent accidental usage 00073 bool operator==(const P2PNSTestResponse&); 00074 00075 public: 00076 P2PNSTestResponse(const char *name=NULL, int kind=0); 00077 P2PNSTestResponse(const P2PNSTestResponse& other); 00078 virtual ~P2PNSTestResponse(); 00079 P2PNSTestResponse& operator=(const P2PNSTestResponse& other); 00080 virtual P2PNSTestResponse *dup() const {return new P2PNSTestResponse(*this);} 00081 virtual void parsimPack(cCommBuffer *b); 00082 virtual void parsimUnpack(cCommBuffer *b); 00083 00084 // field getter/setter methods 00085 }; 00086 00087 inline void doPacking(cCommBuffer *b, P2PNSTestResponse& obj) {obj.parsimPack(b);} 00088 inline void doUnpacking(cCommBuffer *b, P2PNSTestResponse& obj) {obj.parsimUnpack(b);} 00089 00098 class P2PNSTestMessage : public cPacket 00099 { 00100 protected: 00101 00102 // protected and unimplemented operator==(), to prevent accidental usage 00103 bool operator==(const P2PNSTestMessage&); 00104 00105 public: 00106 P2PNSTestMessage(const char *name=NULL, int kind=0); 00107 P2PNSTestMessage(const P2PNSTestMessage& other); 00108 virtual ~P2PNSTestMessage(); 00109 P2PNSTestMessage& operator=(const P2PNSTestMessage& other); 00110 virtual P2PNSTestMessage *dup() const {return new P2PNSTestMessage(*this);} 00111 virtual void parsimPack(cCommBuffer *b); 00112 virtual void parsimUnpack(cCommBuffer *b); 00113 00114 // field getter/setter methods 00115 }; 00116 00117 inline void doPacking(cCommBuffer *b, P2PNSTestMessage& obj) {obj.parsimPack(b);} 00118 inline void doUnpacking(cCommBuffer *b, P2PNSTestMessage& obj) {obj.parsimUnpack(b);} 00119 00120 00121 #endif // _P2PNSTESTAPPMESSAGE_M_H_
1.5.5