INET Framework for OMNeT++/OMNEST
RSVPHello_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/RSVPHello.msg.
00003 //
00004 
00005 #ifndef _RSVPHELLO_M_H_
00006 #define _RSVPHELLO_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 "RSVPPacket.h"
00018 // }}
00019 
00020 
00021 
00062 class RSVPHelloMsg_Base : public ::RSVPMessage
00063 {
00064   protected:
00065     bool request_var;
00066     bool ack_var;
00067     int srcInstance_var;
00068     int dstInstance_var;
00069     int rsvpKind_var;
00070 
00071   private:
00072     void copy(const RSVPHelloMsg_Base& other);
00073 
00074   protected:
00075     // protected and unimplemented operator==(), to prevent accidental usage
00076     bool operator==(const RSVPHelloMsg_Base&);
00077     // make constructors protected to avoid instantiation
00078     RSVPHelloMsg_Base(const char *name=NULL, int kind=0);
00079     RSVPHelloMsg_Base(const RSVPHelloMsg_Base& other);
00080     // make assignment operator protected to force the user override it
00081     RSVPHelloMsg_Base& operator=(const RSVPHelloMsg_Base& other);
00082 
00083   public:
00084     virtual ~RSVPHelloMsg_Base();
00085     virtual RSVPHelloMsg_Base *dup() const {throw cRuntimeError("You forgot to manually add a dup() function to class RSVPHelloMsg");}
00086     virtual void parsimPack(cCommBuffer *b);
00087     virtual void parsimUnpack(cCommBuffer *b);
00088 
00089     // field getter/setter methods
00090     virtual bool getRequest() const;
00091     virtual void setRequest(bool request);
00092     virtual bool getAck() const;
00093     virtual void setAck(bool ack);
00094     virtual int getSrcInstance() const;
00095     virtual void setSrcInstance(int srcInstance);
00096     virtual int getDstInstance() const;
00097     virtual void setDstInstance(int dstInstance);
00098     virtual int getRsvpKind() const;
00099     virtual void setRsvpKind(int rsvpKind);
00100 };
00101 
00102 
00103 #endif // _RSVPHELLO_M_H_