INET Framework for OMNeT++/OMNEST
RSVPPathMsg_m.h
Go to the documentation of this file.
00001 //
00002 // Generated file, do not edit! Created by opp_msgc 4.2 from networklayer/rsvp_te/RSVPPathMsg.msg.
00003 //
00004 
00005 #ifndef _RSVPPATHMSG_M_H_
00006 #define _RSVPPATHMSG_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 
00063 class RSVPPathMsg_Base : public ::RSVPPacket
00064 {
00065   protected:
00066     RsvpHopObj_t hop_var;
00067     LabelRequestObj_t label_request_var;
00068     SenderDescriptor_t sender_descriptor_var;
00069     EroVector ERO_var;
00070     int color_var;
00071     int rsvpKind_var;
00072 
00073   private:
00074     void copy(const RSVPPathMsg_Base& other);
00075 
00076   protected:
00077     // protected and unimplemented operator==(), to prevent accidental usage
00078     bool operator==(const RSVPPathMsg_Base&);
00079     // make constructors protected to avoid instantiation
00080     RSVPPathMsg_Base(const char *name=NULL, int kind=0);
00081     RSVPPathMsg_Base(const RSVPPathMsg_Base& other);
00082     // make assignment operator protected to force the user override it
00083     RSVPPathMsg_Base& operator=(const RSVPPathMsg_Base& other);
00084 
00085   public:
00086     virtual ~RSVPPathMsg_Base();
00087     virtual RSVPPathMsg_Base *dup() const {throw cRuntimeError("You forgot to manually add a dup() function to class RSVPPathMsg");}
00088     virtual void parsimPack(cCommBuffer *b);
00089     virtual void parsimUnpack(cCommBuffer *b);
00090 
00091     // field getter/setter methods
00092     virtual RsvpHopObj_t& getHop();
00093     virtual const RsvpHopObj_t& getHop() const {return const_cast<RSVPPathMsg_Base*>(this)->getHop();}
00094     virtual void setHop(const RsvpHopObj_t& hop);
00095     virtual LabelRequestObj_t& getLabel_request();
00096     virtual const LabelRequestObj_t& getLabel_request() const {return const_cast<RSVPPathMsg_Base*>(this)->getLabel_request();}
00097     virtual void setLabel_request(const LabelRequestObj_t& label_request);
00098     virtual SenderDescriptor_t& getSender_descriptor();
00099     virtual const SenderDescriptor_t& getSender_descriptor() const {return const_cast<RSVPPathMsg_Base*>(this)->getSender_descriptor();}
00100     virtual void setSender_descriptor(const SenderDescriptor_t& sender_descriptor);
00101     virtual EroVector& getERO();
00102     virtual const EroVector& getERO() const {return const_cast<RSVPPathMsg_Base*>(this)->getERO();}
00103     virtual void setERO(const EroVector& ERO);
00104     virtual int getColor() const;
00105     virtual void setColor(int color);
00106     virtual int getRsvpKind() const;
00107     virtual void setRsvpKind(int rsvpKind);
00108 };
00109 
00147 class RSVPPathTear_Base : public ::RSVPPacket
00148 {
00149   protected:
00150     RsvpHopObj_t hop_var;
00151     SenderTemplateObj_t senderTemplate_var;
00152     bool force_var;
00153     int rsvpKind_var;
00154 
00155   private:
00156     void copy(const RSVPPathTear_Base& other);
00157 
00158   protected:
00159     // protected and unimplemented operator==(), to prevent accidental usage
00160     bool operator==(const RSVPPathTear_Base&);
00161     // make constructors protected to avoid instantiation
00162     RSVPPathTear_Base(const char *name=NULL, int kind=0);
00163     RSVPPathTear_Base(const RSVPPathTear_Base& other);
00164     // make assignment operator protected to force the user override it
00165     RSVPPathTear_Base& operator=(const RSVPPathTear_Base& other);
00166 
00167   public:
00168     virtual ~RSVPPathTear_Base();
00169     virtual RSVPPathTear_Base *dup() const {throw cRuntimeError("You forgot to manually add a dup() function to class RSVPPathTear");}
00170     virtual void parsimPack(cCommBuffer *b);
00171     virtual void parsimUnpack(cCommBuffer *b);
00172 
00173     // field getter/setter methods
00174     virtual RsvpHopObj_t& getHop();
00175     virtual const RsvpHopObj_t& getHop() const {return const_cast<RSVPPathTear_Base*>(this)->getHop();}
00176     virtual void setHop(const RsvpHopObj_t& hop);
00177     virtual SenderTemplateObj_t& getSenderTemplate();
00178     virtual const SenderTemplateObj_t& getSenderTemplate() const {return const_cast<RSVPPathTear_Base*>(this)->getSenderTemplate();}
00179     virtual void setSenderTemplate(const SenderTemplateObj_t& senderTemplate);
00180     virtual bool getForce() const;
00181     virtual void setForce(bool force);
00182     virtual int getRsvpKind() const;
00183     virtual void setRsvpKind(int rsvpKind);
00184 };
00185 
00224 class RSVPPathError_Base : public ::RSVPPacket
00225 {
00226   protected:
00227     IPAddress errorNode_var;
00228     int errorCode_var;
00229     SenderDescriptor_t sender_descriptor_var;
00230     int rsvpKind_var;
00231 
00232   private:
00233     void copy(const RSVPPathError_Base& other);
00234 
00235   protected:
00236     // protected and unimplemented operator==(), to prevent accidental usage
00237     bool operator==(const RSVPPathError_Base&);
00238     // make constructors protected to avoid instantiation
00239     RSVPPathError_Base(const char *name=NULL, int kind=0);
00240     RSVPPathError_Base(const RSVPPathError_Base& other);
00241     // make assignment operator protected to force the user override it
00242     RSVPPathError_Base& operator=(const RSVPPathError_Base& other);
00243 
00244   public:
00245     virtual ~RSVPPathError_Base();
00246     virtual RSVPPathError_Base *dup() const {throw cRuntimeError("You forgot to manually add a dup() function to class RSVPPathError");}
00247     virtual void parsimPack(cCommBuffer *b);
00248     virtual void parsimUnpack(cCommBuffer *b);
00249 
00250     // field getter/setter methods
00251     virtual IPAddress& getErrorNode();
00252     virtual const IPAddress& getErrorNode() const {return const_cast<RSVPPathError_Base*>(this)->getErrorNode();}
00253     virtual void setErrorNode(const IPAddress& errorNode);
00254     virtual int getErrorCode() const;
00255     virtual void setErrorCode(int errorCode);
00256     virtual SenderDescriptor_t& getSender_descriptor();
00257     virtual const SenderDescriptor_t& getSender_descriptor() const {return const_cast<RSVPPathError_Base*>(this)->getSender_descriptor();}
00258     virtual void setSender_descriptor(const SenderDescriptor_t& sender_descriptor);
00259     virtual int getRsvpKind() const;
00260     virtual void setRsvpKind(int rsvpKind);
00261 };
00262 
00263 
00264 #endif // _RSVPPATHMSG_M_H_