|
INET Framework for OMNeT++/OMNEST
|
00001 // 00002 // Generated file, do not edit! Created by opp_msgc 4.2 from networklayer/rsvp_te/RSVPResvMsg.msg. 00003 // 00004 00005 #ifndef _RSVPRESVMSG_M_H_ 00006 #define _RSVPRESVMSG_M_H_ 00007 00008 #include <omnetpp.h> 00009 00010 // opp_msgc version check 00011 #define MSGC_VERSION 0x0402 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 "IntServ.h" 00018 #include "RSVPPacket.h" 00019 // }} 00020 00021 00022 00059 class RSVPResvMsg_Base : public ::RSVPPacket 00060 { 00061 protected: 00062 RsvpHopObj_t hop_var; 00063 FlowDescriptorVector flowDescriptor_var; 00064 int rsvpKind_var; 00065 00066 private: 00067 void copy(const RSVPResvMsg_Base& other); 00068 00069 protected: 00070 // protected and unimplemented operator==(), to prevent accidental usage 00071 bool operator==(const RSVPResvMsg_Base&); 00072 // make constructors protected to avoid instantiation 00073 RSVPResvMsg_Base(const char *name=NULL, int kind=0); 00074 RSVPResvMsg_Base(const RSVPResvMsg_Base& other); 00075 // make assignment operator protected to force the user override it 00076 RSVPResvMsg_Base& operator=(const RSVPResvMsg_Base& other); 00077 00078 public: 00079 virtual ~RSVPResvMsg_Base(); 00080 virtual RSVPResvMsg_Base *dup() const {throw cRuntimeError("You forgot to manually add a dup() function to class RSVPResvMsg");} 00081 virtual void parsimPack(cCommBuffer *b); 00082 virtual void parsimUnpack(cCommBuffer *b); 00083 00084 // field getter/setter methods 00085 virtual RsvpHopObj_t& getHop(); 00086 virtual const RsvpHopObj_t& getHop() const {return const_cast<RSVPResvMsg_Base*>(this)->getHop();} 00087 virtual void setHop(const RsvpHopObj_t& hop); 00088 virtual FlowDescriptorVector& getFlowDescriptor(); 00089 virtual const FlowDescriptorVector& getFlowDescriptor() const {return const_cast<RSVPResvMsg_Base*>(this)->getFlowDescriptor();} 00090 virtual void setFlowDescriptor(const FlowDescriptorVector& flowDescriptor); 00091 virtual int getRsvpKind() const; 00092 virtual void setRsvpKind(int rsvpKind); 00093 }; 00094 00131 class RSVPResvTear_Base : public ::RSVPPacket 00132 { 00133 protected: 00134 RsvpHopObj_t hop_var; 00135 FlowDescriptorVector flowDescriptor_var; 00136 int rsvpKind_var; 00137 00138 private: 00139 void copy(const RSVPResvTear_Base& other); 00140 00141 protected: 00142 // protected and unimplemented operator==(), to prevent accidental usage 00143 bool operator==(const RSVPResvTear_Base&); 00144 // make constructors protected to avoid instantiation 00145 RSVPResvTear_Base(const char *name=NULL, int kind=0); 00146 RSVPResvTear_Base(const RSVPResvTear_Base& other); 00147 // make assignment operator protected to force the user override it 00148 RSVPResvTear_Base& operator=(const RSVPResvTear_Base& other); 00149 00150 public: 00151 virtual ~RSVPResvTear_Base(); 00152 virtual RSVPResvTear_Base *dup() const {throw cRuntimeError("You forgot to manually add a dup() function to class RSVPResvTear");} 00153 virtual void parsimPack(cCommBuffer *b); 00154 virtual void parsimUnpack(cCommBuffer *b); 00155 00156 // field getter/setter methods 00157 virtual RsvpHopObj_t& getHop(); 00158 virtual const RsvpHopObj_t& getHop() const {return const_cast<RSVPResvTear_Base*>(this)->getHop();} 00159 virtual void setHop(const RsvpHopObj_t& hop); 00160 virtual FlowDescriptorVector& getFlowDescriptor(); 00161 virtual const FlowDescriptorVector& getFlowDescriptor() const {return const_cast<RSVPResvTear_Base*>(this)->getFlowDescriptor();} 00162 virtual void setFlowDescriptor(const FlowDescriptorVector& flowDescriptor); 00163 virtual int getRsvpKind() const; 00164 virtual void setRsvpKind(int rsvpKind); 00165 }; 00166 00204 class RSVPResvError_Base : public ::RSVPPacket 00205 { 00206 protected: 00207 RsvpHopObj_t hop_var; 00208 IPAddress errorNode_var; 00209 int errorCode_var; 00210 int rsvpKind_var; 00211 00212 private: 00213 void copy(const RSVPResvError_Base& other); 00214 00215 protected: 00216 // protected and unimplemented operator==(), to prevent accidental usage 00217 bool operator==(const RSVPResvError_Base&); 00218 // make constructors protected to avoid instantiation 00219 RSVPResvError_Base(const char *name=NULL, int kind=0); 00220 RSVPResvError_Base(const RSVPResvError_Base& other); 00221 // make assignment operator protected to force the user override it 00222 RSVPResvError_Base& operator=(const RSVPResvError_Base& other); 00223 00224 public: 00225 virtual ~RSVPResvError_Base(); 00226 virtual RSVPResvError_Base *dup() const {throw cRuntimeError("You forgot to manually add a dup() function to class RSVPResvError");} 00227 virtual void parsimPack(cCommBuffer *b); 00228 virtual void parsimUnpack(cCommBuffer *b); 00229 00230 // field getter/setter methods 00231 virtual RsvpHopObj_t& getHop(); 00232 virtual const RsvpHopObj_t& getHop() const {return const_cast<RSVPResvError_Base*>(this)->getHop();} 00233 virtual void setHop(const RsvpHopObj_t& hop); 00234 virtual IPAddress& getErrorNode(); 00235 virtual const IPAddress& getErrorNode() const {return const_cast<RSVPResvError_Base*>(this)->getErrorNode();} 00236 virtual void setErrorNode(const IPAddress& errorNode); 00237 virtual int getErrorCode() const; 00238 virtual void setErrorCode(int errorCode); 00239 virtual int getRsvpKind() const; 00240 virtual void setRsvpKind(int rsvpKind); 00241 }; 00242 00243 00244 #endif // _RSVPRESVMSG_M_H_