RSVPPathError_Base Class Reference
#include <RSVPPathMsg_m.h>
Inheritance diagram for RSVPPathError_Base:
List of all members.
Detailed Description
Class generated from RSVPPathMsg.msg
by opp_msgc.
message RSVPPathError extends RSVPPacket
{
properties:
customize=true;
fields:
IPAddress errorNode;
int errorCode;
SenderDescriptor_t sender_descriptor;
int 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 RSVPPathError : public RSVPPathError_Base
{
public:
RSVPPathError(const char *name=NULL, int kind=0) : RSVPPathError_Base(name,kind) {}
RSVPPathError(const RSVPPathError& other) : RSVPPathError_Base(other.name()) {operator=(other);}
RSVPPathError& operator=(const RSVPPathError& other) {RSVPPathError_Base::operator=(other); return *this;}
virtual cPolymorphic *dup() const {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);
Constructor & Destructor Documentation
RSVPPathError_Base::RSVPPathError_Base |
( |
const char * |
name = NULL , |
|
|
int |
kind = 0 |
|
) |
[protected] |
|
Member Function Documentation
virtual cPolymorphic* RSVPPathError_Base::dup |
( |
|
) |
const [inline, virtual] |
|
|
Reimplemented from RSVPPacket_Base. 00231 {throw new cException("You forgot to manually add a dup() function to class RSVPPathError");}
|
virtual int RSVPPathError_Base::getErrorCode |
( |
|
) |
const [virtual] |
|
virtual const IPAddress& RSVPPathError_Base::getErrorNode |
( |
|
) |
const [inline, virtual] |
|
|
00237 {return const_cast<RSVPPathError_Base*>(this)->getErrorNode();}
|
virtual IPAddress& RSVPPathError_Base::getErrorNode |
( |
|
) |
[virtual] |
|
virtual int RSVPPathError_Base::getRsvpKind |
( |
|
) |
const [virtual] |
|
virtual const SenderDescriptor_t& RSVPPathError_Base::getSender_descriptor |
( |
|
) |
const [inline, virtual] |
|
|
00242 {return const_cast<RSVPPathError_Base*>(this)->getSender_descriptor();}
|
virtual void RSVPPathError_Base::netPack |
( |
cCommBuffer * |
b |
) |
[virtual] |
|
virtual void RSVPPathError_Base::netUnpack |
( |
cCommBuffer * |
b |
) |
[virtual] |
|
virtual void RSVPPathError_Base::setErrorCode |
( |
int |
errorCode_var |
) |
[virtual] |
|
virtual void RSVPPathError_Base::setErrorNode |
( |
const IPAddress & |
errorNode_var |
) |
[virtual] |
|
virtual void RSVPPathError_Base::setRsvpKind |
( |
int |
rsvpKind_var |
) |
[virtual] |
|
virtual void RSVPPathError_Base::setSender_descriptor |
( |
const SenderDescriptor_t & |
sender_descriptor_var |
) |
[virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following file:
Generated on Thu Oct 19 18:22:28 2006 for INET Framework for OMNeT++/OMNEST by
1.4.0