|
INET Framework for OMNeT++/OMNEST
|
Class generated from inet/networklayer/rsvp_te/RSVPPathMsg.msg:72 by nedtool.
More...
#include <RSVPPathMsg_m.h>
Public Member Functions | |
| virtual | ~RSVPPathError_Base () |
| virtual RSVPPathError_Base * | dup () const override |
| virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
| virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
| virtual IPv4Address & | getErrorNode () |
| virtual const IPv4Address & | getErrorNode () const |
| virtual void | setErrorNode (const IPv4Address &errorNode) |
| virtual int | getErrorCode () const |
| virtual void | setErrorCode (int errorCode) |
| virtual SenderDescriptor_t & | getSender_descriptor () |
| virtual const SenderDescriptor_t & | getSender_descriptor () const |
| virtual void | setSender_descriptor (const SenderDescriptor_t &sender_descriptor) |
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 RSVPPathError_Base &) |
| RSVPPathError_Base (const char *name=nullptr, short kind=0) | |
| RSVPPathError_Base (const RSVPPathError_Base &other) | |
| RSVPPathError_Base & | operator= (const RSVPPathError_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 | |
| IPv4Address | errorNode |
| int | errorCode |
| SenderDescriptor_t | sender_descriptor |
Protected Attributes inherited from inet::RSVPPacket_Base | |
| SessionObj_t | session |
| bool | checksumValid |
Private Member Functions | |
| void | copy (const RSVPPathError_Base &other) |
Class generated from inet/networklayer/rsvp_te/RSVPPathMsg.msg:72 by nedtool.
// // FIXME missing documentation // packet RSVPPathError extends RSVPPacket { @customize(true); IPv4Address errorNode; int errorCode; SenderDescriptor_t sender_descriptor;
rsvpKind = PERROR_MESSAGE; }
RSVPPathError_Base is only useful if it gets subclassed, and RSVPPathError is derived from it. The minimum code to be written for RSVPPathError is the following:
class INET_API RSVPPathError : public RSVPPathError_Base { private: void copy(const RSVPPathError& other) { ... }
public:
RSVPPathError(const char *name=nullptr, short kind=0) : RSVPPathError_Base(name,kind) {}
RSVPPathError(const RSVPPathError& other) : RSVPPathError_Base(other) {copy(other);}
RSVPPathError& operator=(const RSVPPathError& other) {if (this==&other) return *this; RSVPPathError_Base::operator=(other); copy(other); return *this;}
virtual RSVPPathError *dup() const override {return new RSVPPathError(*this);}
// ADD CODE HERE to redefine and implement pure virtual functions from RSVPPathError_Base
};
The following should go into a .cc (.cpp) file:
Register_Class(RSVPPathError)
|
protected |
|
protected |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented from inet::RSVPPacket.
Reimplemented in inet::RSVPPathError.
|
virtual |
Referenced by inet::RSVP::processPathErrMsg().
|
virtual |
|
inlinevirtual |
Referenced by getErrorNode().
|
virtual |
|
inlinevirtual |
Referenced by getSender_descriptor().
|
protected |
Referenced by inet::RSVPPathError::operator=().
|
protected |
|
overridevirtual |
Reimplemented from inet::RSVPPacket_Base.
|
overridevirtual |
Reimplemented from inet::RSVPPacket_Base.
|
virtual |
Referenced by inet::RSVP::sendPathErrorMessage().
|
virtual |
Referenced by inet::RSVP::sendPathErrorMessage().
|
virtual |
|
protected |
|
protected |
|
protected |