#include <RSVPPathMsg_m.h>
Inheritance diagram for RSVPPathMsg_Base:

RSVPPathMsg.msg by opp_msgc.
message RSVPPathMsg extends RSVPPacket
{
properties:
customize=true;
fields:
RsvpHopObj_t hop;
LabelRequestObj_t label_request;
SenderDescriptor_t sender_descriptor;
EroVector ERO;
int color;
int rsvpKind = PATH_MESSAGE; };
RSVPPathMsg_Base is only useful if it gets subclassed, and RSVPPathMsg is derived from it. The minimum code to be written for RSVPPathMsg is the following:
class RSVPPathMsg : public RSVPPathMsg_Base
{
public:
RSVPPathMsg(const char *name=NULL, int kind=0) : RSVPPathMsg_Base(name,kind) {}
RSVPPathMsg(const RSVPPathMsg& other) : RSVPPathMsg_Base(other.name()) {operator=(other);}
RSVPPathMsg& operator=(const RSVPPathMsg& other) {RSVPPathMsg_Base::operator=(other); return *this;}
virtual cPolymorphic *dup() const {return new RSVPPathMsg(*this);}
// ADD CODE HERE to redefine and implement pure virtual functions from RSVPPathMsg_Base
};
The following should go into a .cc (.cpp) file:
Register_Class(RSVPPathMsg);
| RSVPPathMsg_Base::RSVPPathMsg_Base | ( | const char * | name = NULL, |
|
| int | kind = 0 | |||
| ) | [protected] |
| RSVPPathMsg_Base::RSVPPathMsg_Base | ( | const RSVPPathMsg_Base & | other | ) | [protected] |
| virtual RSVPPathMsg_Base::~RSVPPathMsg_Base | ( | ) | [virtual] |
| virtual cPolymorphic* RSVPPathMsg_Base::dup | ( | ) | const [inline, virtual] |
Reimplemented from RSVPPacket_Base.
00082 {throw new cRuntimeError("You forgot to manually add a dup() function to class RSVPPathMsg");}
| virtual int RSVPPathMsg_Base::getColor | ( | ) | const [virtual] |
| virtual const EroVector& RSVPPathMsg_Base::getERO | ( | ) | const [inline, virtual] |
| virtual EroVector& RSVPPathMsg_Base::getERO | ( | ) | [virtual] |
| virtual const RsvpHopObj_t& RSVPPathMsg_Base::getHop | ( | ) | const [inline, virtual] |
| virtual RsvpHopObj_t& RSVPPathMsg_Base::getHop | ( | ) | [virtual] |
| virtual const LabelRequestObj_t& RSVPPathMsg_Base::getLabel_request | ( | ) | const [inline, virtual] |
| virtual LabelRequestObj_t& RSVPPathMsg_Base::getLabel_request | ( | ) | [virtual] |
| virtual int RSVPPathMsg_Base::getRsvpKind | ( | ) | const [virtual] |
Reimplemented from RSVPMessage.
| virtual const SenderDescriptor_t& RSVPPathMsg_Base::getSender_descriptor | ( | ) | const [inline, virtual] |
| virtual SenderDescriptor_t& RSVPPathMsg_Base::getSender_descriptor | ( | ) | [virtual] |
| virtual void RSVPPathMsg_Base::netPack | ( | cCommBuffer * | b | ) | [virtual] |
Reimplemented from RSVPPacket_Base.
| virtual void RSVPPathMsg_Base::netUnpack | ( | cCommBuffer * | b | ) | [virtual] |
Reimplemented from RSVPPacket_Base.
| RSVPPathMsg_Base& RSVPPathMsg_Base::operator= | ( | const RSVPPathMsg_Base & | other | ) | [protected] |
| bool RSVPPathMsg_Base::operator== | ( | const RSVPPathMsg_Base & | ) | [protected] |
| virtual void RSVPPathMsg_Base::setColor | ( | int | color_var | ) | [virtual] |
| virtual void RSVPPathMsg_Base::setERO | ( | const EroVector & | ERO_var | ) | [virtual] |
| virtual void RSVPPathMsg_Base::setHop | ( | const RsvpHopObj_t & | hop_var | ) | [virtual] |
| virtual void RSVPPathMsg_Base::setLabel_request | ( | const LabelRequestObj_t & | label_request_var | ) | [virtual] |
| virtual void RSVPPathMsg_Base::setRsvpKind | ( | int | rsvpKind_var | ) | [virtual] |
Reimplemented from RSVPMessage.
| virtual void RSVPPathMsg_Base::setSender_descriptor | ( | const SenderDescriptor_t & | sender_descriptor_var | ) | [virtual] |
int RSVPPathMsg_Base::color_var [protected] |
EroVector RSVPPathMsg_Base::ERO_var [protected] |
RsvpHopObj_t RSVPPathMsg_Base::hop_var [protected] |
LabelRequestObj_t RSVPPathMsg_Base::label_request_var [protected] |
int RSVPPathMsg_Base::rsvpKind_var [protected] |
Reimplemented from RSVPMessage.
1.4.7