INET Framework for OMNeT++/OMNEST
inet::dymo::RteMsg Class Reference

Class generated from inet/routing/dymo/DYMO.msg:77 by nedtool. More...

#include <DYMO_m.h>

Inheritance diagram for inet::dymo::RteMsg:
inet::dymo::DYMOPacket inet::dymo::RREP inet::dymo::RREQ

Public Member Functions

 RteMsg (const char *name=nullptr, short kind=0)
 
 RteMsg (const RteMsg &other)
 
virtual ~RteMsg ()
 
RteMsgoperator= (const RteMsg &other)
 
virtual RteMsgdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual int getHopCount () const
 
virtual void setHopCount (int hopCount)
 
virtual AddressBlockgetOriginatorNode ()
 
virtual const AddressBlockgetOriginatorNode () const
 
virtual void setOriginatorNode (const AddressBlock &originatorNode)
 
virtual AddressBlockgetTargetNode ()
 
virtual const AddressBlockgetTargetNode () const
 
virtual void setTargetNode (const AddressBlock &targetNode)
 
virtual void setAddedNodeArraySize (unsigned int size)
 
virtual unsigned int getAddedNodeArraySize () const
 
virtual AddressBlockgetAddedNode (unsigned int k)
 
virtual const AddressBlockgetAddedNode (unsigned int k) const
 
virtual void setAddedNode (unsigned int k, const AddressBlock &addedNode)
 
- Public Member Functions inherited from inet::dymo::DYMOPacket
 DYMOPacket (const char *name=nullptr, short kind=0)
 
 DYMOPacket (const DYMOPacket &other)
 
virtual ~DYMOPacket ()
 
DYMOPacketoperator= (const DYMOPacket &other)
 
virtual int getHopLimit () const
 
virtual void setHopLimit (int hopLimit)
 

Protected Member Functions

bool operator== (const RteMsg &)
 
- Protected Member Functions inherited from inet::dymo::DYMOPacket
bool operator== (const DYMOPacket &)
 

Protected Attributes

int hopCount
 
AddressBlock originatorNode
 
AddressBlock targetNode
 
AddressBlockaddedNode
 
unsigned int addedNode_arraysize
 
- Protected Attributes inherited from inet::dymo::DYMOPacket
int hopLimit
 

Private Member Functions

void copy (const RteMsg &other)
 

Detailed Description

Class generated from inet/routing/dymo/DYMO.msg:77 by nedtool.

packet RteMsg extends DYMOPacket
{
    int hopCount;
    AddressBlock originatorNode;
    AddressBlock targetNode;
    AddressBlock addedNode[];
}

Constructor & Destructor Documentation

inet::dymo::RteMsg::RteMsg ( const char *  name = nullptr,
short  kind = 0 
)
inet::dymo::RteMsg::RteMsg ( const RteMsg other)
virtual inet::dymo::RteMsg::~RteMsg ( )
virtual

Member Function Documentation

void inet::dymo::RteMsg::copy ( const RteMsg other)
private
virtual RteMsg* inet::dymo::RteMsg::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::dymo::DYMOPacket.

Reimplemented in inet::dymo::RREP, and inet::dymo::RREQ.

344 {return new RteMsg(*this);}
RteMsg(const char *name=nullptr, short kind=0)
virtual AddressBlock& inet::dymo::RteMsg::getAddedNode ( unsigned int  k)
virtual
virtual const AddressBlock& inet::dymo::RteMsg::getAddedNode ( unsigned int  k) const
inlinevirtual

Referenced by getAddedNode().

360 {return const_cast<RteMsg*>(this)->getAddedNode(k);}
RteMsg(const char *name=nullptr, short kind=0)
const double k
Definition: QAM16Modulation.cc:24
virtual AddressBlock & getAddedNode(unsigned int k)
virtual unsigned int inet::dymo::RteMsg::getAddedNodeArraySize ( ) const
virtual
virtual int inet::dymo::RteMsg::getHopCount ( ) const
virtual
virtual const AddressBlock& inet::dymo::RteMsg::getOriginatorNode ( ) const
inlinevirtual

Referenced by getOriginatorNode().

352 {return const_cast<RteMsg*>(this)->getOriginatorNode();}
RteMsg(const char *name=nullptr, short kind=0)
virtual AddressBlock & getOriginatorNode()
virtual const AddressBlock& inet::dymo::RteMsg::getTargetNode ( ) const
inlinevirtual

Referenced by getTargetNode().

355 {return const_cast<RteMsg*>(this)->getTargetNode();}
RteMsg(const char *name=nullptr, short kind=0)
virtual AddressBlock & getTargetNode()
RteMsg& inet::dymo::RteMsg::operator= ( const RteMsg other)
bool inet::dymo::RteMsg::operator== ( const RteMsg )
protected
virtual void inet::dymo::RteMsg::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::dymo::DYMOPacket.

Reimplemented in inet::dymo::RREP, and inet::dymo::RREQ.

Referenced by inet::dymo::doParsimPacking().

virtual void inet::dymo::RteMsg::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual

Reimplemented from inet::dymo::DYMOPacket.

Reimplemented in inet::dymo::RREP, and inet::dymo::RREQ.

Referenced by inet::dymo::doParsimUnpacking().

virtual void inet::dymo::RteMsg::setAddedNode ( unsigned int  k,
const AddressBlock addedNode 
)
virtual
virtual void inet::dymo::RteMsg::setAddedNodeArraySize ( unsigned int  size)
virtual
virtual void inet::dymo::RteMsg::setHopCount ( int  hopCount)
virtual
virtual void inet::dymo::RteMsg::setOriginatorNode ( const AddressBlock originatorNode)
virtual
virtual void inet::dymo::RteMsg::setTargetNode ( const AddressBlock targetNode)
virtual

Member Data Documentation

AddressBlock* inet::dymo::RteMsg::addedNode
protected
unsigned int inet::dymo::RteMsg::addedNode_arraysize
protected
int inet::dymo::RteMsg::hopCount
protected
AddressBlock inet::dymo::RteMsg::originatorNode
protected
AddressBlock inet::dymo::RteMsg::targetNode
protected

The documentation for this class was generated from the following file: