|
INET Framework for OMNeT++/OMNEST
|
Class generated from inet/networklayer/rsvp_te/RSVPPathMsg.msg:44 by nedtool.
More...
#include <RSVPPathMsg_m.h>
Public Member Functions | |
| virtual | ~RSVPPathMsg_Base () |
| virtual RSVPPathMsg_Base * | dup () const override |
| virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
| virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
| virtual RsvpHopObj_t & | getHop () |
| virtual const RsvpHopObj_t & | getHop () const |
| virtual void | setHop (const RsvpHopObj_t &hop) |
| virtual LabelRequestObj_t & | getLabel_request () |
| virtual const LabelRequestObj_t & | getLabel_request () const |
| virtual void | setLabel_request (const LabelRequestObj_t &label_request) |
| virtual SenderDescriptor_t & | getSender_descriptor () |
| virtual const SenderDescriptor_t & | getSender_descriptor () const |
| virtual void | setSender_descriptor (const SenderDescriptor_t &sender_descriptor) |
| virtual EroVector & | getERO () |
| virtual const EroVector & | getERO () const |
| virtual void | setERO (const EroVector &ERO) |
| virtual int | getColor () const |
| virtual void | setColor (int color) |
Public Member Functions inherited from inet::RSVPPacket | |
| RSVPPacket (const char *name=nullptr, int kind=0) | |
| RSVPPacket (const RSVPPacket &other) | |
| RSVPPacket & | operator= (const RSVPPacket &other) |
| IPv4Address | getDestAddress () |
| int | getTunnelId () |
| int | getExTunnelId () |
| int | getSetupPri () |
| int | getHoldingPri () |
| bool | isInSession (SessionObj_t *s) |
Public Member Functions inherited from inet::RSVPPacket_Base | |
| virtual | ~RSVPPacket_Base () |
| virtual SessionObj_t & | getSession () |
| virtual const SessionObj_t & | getSession () const |
| virtual void | setSession (const SessionObj_t &session) |
| virtual bool | getChecksumValid () const |
| virtual void | setChecksumValid (bool checksumValid) |
Protected Member Functions | |
| bool | operator== (const RSVPPathMsg_Base &) |
| RSVPPathMsg_Base (const char *name=nullptr, short kind=0) | |
| RSVPPathMsg_Base (const RSVPPathMsg_Base &other) | |
| RSVPPathMsg_Base & | operator= (const RSVPPathMsg_Base &other) |
Protected Member Functions inherited from inet::RSVPPacket_Base | |
| bool | operator== (const RSVPPacket_Base &) |
| RSVPPacket_Base (const char *name=nullptr, short kind=0) | |
| RSVPPacket_Base (const RSVPPacket_Base &other) | |
| RSVPPacket_Base & | operator= (const RSVPPacket_Base &other) |
Protected Attributes | |
| RsvpHopObj_t | hop |
| LabelRequestObj_t | label_request |
| SenderDescriptor_t | sender_descriptor |
| EroVector | ERO |
| int | color |
Protected Attributes inherited from inet::RSVPPacket_Base | |
| SessionObj_t | session |
| bool | checksumValid |
Private Member Functions | |
| void | copy (const RSVPPathMsg_Base &other) |
Class generated from inet/networklayer/rsvp_te/RSVPPathMsg.msg:44 by nedtool.
// // FIXME missing documentation // packet RSVPPathMsg extends RSVPPacket { @customize(true); RsvpHopObj_t hop; LabelRequestObj_t label_request; SenderDescriptor_t sender_descriptor; EroVector ERO; int color;
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 INET_API RSVPPathMsg : public RSVPPathMsg_Base { private: void copy(const RSVPPathMsg& other) { ... }
public:
RSVPPathMsg(const char *name=nullptr, short kind=0) : RSVPPathMsg_Base(name,kind) {}
RSVPPathMsg(const RSVPPathMsg& other) : RSVPPathMsg_Base(other) {copy(other);}
RSVPPathMsg& operator=(const RSVPPathMsg& other) {if (this==&other) return *this; RSVPPathMsg_Base::operator=(other); copy(other); return *this;}
virtual RSVPPathMsg *dup() const override {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)
|
protected |
|
protected |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented from inet::RSVPPacket.
Reimplemented in inet::RSVPPathMsg.
|
virtual |
Referenced by inet::RSVP::createPSB().
|
virtual |
Referenced by inet::RSVP::createPSB(), inet::RSVP::print(), and inet::RSVP::processPathMsg().
|
inlinevirtual |
Referenced by getERO().
|
virtual |
|
inlinevirtual |
Referenced by getHop().
|
virtual |
|
inlinevirtual |
Referenced by getLabel_request().
|
virtual |
|
inlinevirtual |
Referenced by getSender_descriptor().
|
protected |
Referenced by inet::RSVPPathMsg::operator=().
|
protected |
|
overridevirtual |
Reimplemented from inet::RSVPPacket_Base.
|
overridevirtual |
Reimplemented from inet::RSVPPacket_Base.
|
virtual |
|
virtual |
Referenced by inet::RSVP::processPathMsg().
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |