INET Framework for OMNeT++/OMNEST
|
Class generated from inet/networklayer/rsvp_te/RSVPPathMsg.msg:59
by nedtool.
More...
#include <RSVPPathMsg_m.h>
Public Member Functions | |
virtual | ~RSVPPathTear_Base () |
virtual RSVPPathTear_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 SenderTemplateObj_t & | getSenderTemplate () |
virtual const SenderTemplateObj_t & | getSenderTemplate () const |
virtual void | setSenderTemplate (const SenderTemplateObj_t &senderTemplate) |
virtual bool | getForce () const |
virtual void | setForce (bool force) |
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 RSVPPathTear_Base &) |
RSVPPathTear_Base (const char *name=nullptr, short kind=0) | |
RSVPPathTear_Base (const RSVPPathTear_Base &other) | |
RSVPPathTear_Base & | operator= (const RSVPPathTear_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 |
SenderTemplateObj_t | senderTemplate |
bool | force |
Protected Attributes inherited from inet::RSVPPacket_Base | |
SessionObj_t | session |
bool | checksumValid |
Private Member Functions | |
void | copy (const RSVPPathTear_Base &other) |
Class generated from inet/networklayer/rsvp_te/RSVPPathMsg.msg:59
by nedtool.
// // FIXME missing documentation // packet RSVPPathTear extends RSVPPacket { @customize(true); RsvpHopObj_t hop; SenderTemplateObj_t senderTemplate; bool force; rsvpKind = PTEAR_MESSAGE; }
RSVPPathTear_Base is only useful if it gets subclassed, and RSVPPathTear is derived from it. The minimum code to be written for RSVPPathTear is the following:
class INET_API RSVPPathTear : public RSVPPathTear_Base { private: void copy(const RSVPPathTear& other) { ... }
public: RSVPPathTear(const char *name=nullptr, short kind=0) : RSVPPathTear_Base(name,kind) {} RSVPPathTear(const RSVPPathTear& other) : RSVPPathTear_Base(other) {copy(other);} RSVPPathTear& operator=(const RSVPPathTear& other) {if (this==&other) return *this; RSVPPathTear_Base::operator=(other); copy(other); return *this;} virtual RSVPPathTear *dup() const override {return new RSVPPathTear(*this);} // ADD CODE HERE to redefine and implement pure virtual functions from RSVPPathTear_Base };
The following should go into a .cc (.cpp) file:
Register_Class(RSVPPathTear)
|
protected |
|
protected |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented from inet::RSVPPacket.
Reimplemented in inet::RSVPPathTear.
|
virtual |
Referenced by inet::RSVP::processPathTearMsg().
|
virtual |
|
inlinevirtual |
Referenced by getHop().
|
virtual |
Referenced by inet::RSVP::processPathTearMsg().
|
inlinevirtual |
Referenced by getSenderTemplate().
|
protected |
Referenced by inet::RSVPPathTear::operator=().
|
protected |
|
overridevirtual |
Reimplemented from inet::RSVPPacket_Base.
|
overridevirtual |
Reimplemented from inet::RSVPPacket_Base.
|
virtual |
Referenced by inet::RSVP::sendPathTearMessage().
|
virtual |
Referenced by inet::RSVP::sendPathTearMessage().
|
virtual |
Referenced by inet::RSVP::sendPathTearMessage().
|
protected |
|
protected |
|
protected |