INET Framework for OMNeT++/OMNEST
inet::AODVRREP Class Reference

Class generated from inet/routing/aodv/AODVControlPackets.msg:75 by nedtool. More...

#include <AODVControlPackets_m.h>

Inheritance diagram for inet::AODVRREP:
inet::AODVControlPacket

Public Member Functions

 AODVRREP (const char *name=nullptr)
 
 AODVRREP (const AODVRREP &other)
 
virtual ~AODVRREP ()
 
AODVRREPoperator= (const AODVRREP &other)
 
virtual AODVRREPdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual bool getRepairFlag () const
 
virtual void setRepairFlag (bool repairFlag)
 
virtual bool getAckRequiredFlag () const
 
virtual void setAckRequiredFlag (bool ackRequiredFlag)
 
virtual unsigned int getPrefixSize () const
 
virtual void setPrefixSize (unsigned int prefixSize)
 
virtual unsigned int getHopCount () const
 
virtual void setHopCount (unsigned int hopCount)
 
virtual L3AddressgetDestAddr ()
 
virtual const L3AddressgetDestAddr () const
 
virtual void setDestAddr (const L3Address &destAddr)
 
virtual unsigned int getDestSeqNum () const
 
virtual void setDestSeqNum (unsigned int destSeqNum)
 
virtual L3AddressgetOriginatorAddr ()
 
virtual const L3AddressgetOriginatorAddr () const
 
virtual void setOriginatorAddr (const L3Address &originatorAddr)
 
virtual unsigned int getOriginatorSeqNum () const
 
virtual void setOriginatorSeqNum (unsigned int originatorSeqNum)
 
virtual ::omnetpp::simtime_t getLifeTime () const
 
virtual void setLifeTime (::omnetpp::simtime_t lifeTime)
 
- Public Member Functions inherited from inet::AODVControlPacket
 AODVControlPacket (const char *name=nullptr, short kind=0)
 
 AODVControlPacket (const AODVControlPacket &other)
 
virtual ~AODVControlPacket ()
 
AODVControlPacketoperator= (const AODVControlPacket &other)
 
virtual unsigned int getPacketType () const
 
virtual void setPacketType (unsigned int packetType)
 

Protected Member Functions

bool operator== (const AODVRREP &)
 
- Protected Member Functions inherited from inet::AODVControlPacket
bool operator== (const AODVControlPacket &)
 

Protected Attributes

bool repairFlag
 
bool ackRequiredFlag
 
unsigned int prefixSize
 
unsigned int hopCount
 
L3Address destAddr
 
unsigned int destSeqNum
 
L3Address originatorAddr
 
unsigned int originatorSeqNum
 
::omnetpp::simtime_t lifeTime
 
- Protected Attributes inherited from inet::AODVControlPacket
unsigned int packetType
 

Private Member Functions

void copy (const AODVRREP &other)
 

Detailed Description

Class generated from inet/routing/aodv/AODVControlPackets.msg:75 by nedtool.

//
// Represents an AODV Route Reply
//
class AODVRREP extends AODVControlPacket
{
    packetType = RREP;
    bool repairFlag;
    bool ackRequiredFlag;
    unsigned int prefixSize;
    unsigned int hopCount;
    L3Address destAddr;
    unsigned int destSeqNum;
    L3Address originatorAddr;
    unsigned int originatorSeqNum;
    simtime_t lifeTime;
}

Constructor & Destructor Documentation

inet::AODVRREP::AODVRREP ( const char *  name = nullptr)
inet::AODVRREP::AODVRREP ( const AODVRREP other)
virtual inet::AODVRREP::~AODVRREP ( )
virtual

Member Function Documentation

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

Reimplemented from inet::AODVControlPacket.

Referenced by inet::AODVRouting::handleRREP().

245 {return new AODVRREP(*this);}
AODVRREP(const char *name=nullptr)
virtual bool inet::AODVRREP::getAckRequiredFlag ( ) const
virtual
virtual L3Address& inet::AODVRREP::getDestAddr ( )
virtual
virtual const L3Address& inet::AODVRREP::getDestAddr ( ) const
inlinevirtual

Referenced by getDestAddr().

259 {return const_cast<AODVRREP*>(this)->getDestAddr();}
AODVRREP(const char *name=nullptr)
virtual L3Address & getDestAddr()
virtual unsigned int inet::AODVRREP::getDestSeqNum ( ) const
virtual
virtual unsigned int inet::AODVRREP::getHopCount ( ) const
virtual
virtual ::omnetpp::simtime_t inet::AODVRREP::getLifeTime ( ) const
virtual L3Address& inet::AODVRREP::getOriginatorAddr ( )
virtual
virtual const L3Address& inet::AODVRREP::getOriginatorAddr ( ) const
inlinevirtual

Referenced by getOriginatorAddr().

264 {return const_cast<AODVRREP*>(this)->getOriginatorAddr();}
AODVRREP(const char *name=nullptr)
virtual L3Address & getOriginatorAddr()
virtual unsigned int inet::AODVRREP::getOriginatorSeqNum ( ) const
virtual
virtual unsigned int inet::AODVRREP::getPrefixSize ( ) const
virtual
virtual bool inet::AODVRREP::getRepairFlag ( ) const
virtual
AODVRREP& inet::AODVRREP::operator= ( const AODVRREP other)
bool inet::AODVRREP::operator== ( const AODVRREP )
protected
virtual void inet::AODVRREP::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::AODVControlPacket.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::AODVControlPacket.

Referenced by inet::doParsimUnpacking().

virtual void inet::AODVRREP::setAckRequiredFlag ( bool  ackRequiredFlag)
virtual
virtual void inet::AODVRREP::setDestAddr ( const L3Address destAddr)
virtual
virtual void inet::AODVRREP::setDestSeqNum ( unsigned int  destSeqNum)
virtual
virtual void inet::AODVRREP::setHopCount ( unsigned int  hopCount)
virtual
virtual void inet::AODVRREP::setLifeTime ( ::omnetpp::simtime_t  lifeTime)
virtual
virtual void inet::AODVRREP::setOriginatorAddr ( const L3Address originatorAddr)
virtual
virtual void inet::AODVRREP::setOriginatorSeqNum ( unsigned int  originatorSeqNum)
virtual
virtual void inet::AODVRREP::setPrefixSize ( unsigned int  prefixSize)
virtual
virtual void inet::AODVRREP::setRepairFlag ( bool  repairFlag)
virtual

Member Data Documentation

bool inet::AODVRREP::ackRequiredFlag
protected
L3Address inet::AODVRREP::destAddr
protected
unsigned int inet::AODVRREP::destSeqNum
protected
unsigned int inet::AODVRREP::hopCount
protected
::omnetpp::simtime_t inet::AODVRREP::lifeTime
protected
L3Address inet::AODVRREP::originatorAddr
protected
unsigned int inet::AODVRREP::originatorSeqNum
protected
unsigned int inet::AODVRREP::prefixSize
protected
bool inet::AODVRREP::repairFlag
protected

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