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

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

#include <AODVControlPackets_m.h>

Inheritance diagram for inet::AODVRREQ:
inet::AODVControlPacket

Public Member Functions

 AODVRREQ (const char *name=nullptr)
 
 AODVRREQ (const AODVRREQ &other)
 
virtual ~AODVRREQ ()
 
AODVRREQoperator= (const AODVRREQ &other)
 
virtual AODVRREQdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual bool getJoinFlag () const
 
virtual void setJoinFlag (bool joinFlag)
 
virtual bool getRepairFlag () const
 
virtual void setRepairFlag (bool repairFlag)
 
virtual bool getGratuitousRREPFlag () const
 
virtual void setGratuitousRREPFlag (bool gratuitousRREPFlag)
 
virtual bool getDestOnlyFlag () const
 
virtual void setDestOnlyFlag (bool destOnlyFlag)
 
virtual bool getUnknownSeqNumFlag () const
 
virtual void setUnknownSeqNumFlag (bool unknownSeqNumFlag)
 
virtual unsigned int getHopCount () const
 
virtual void setHopCount (unsigned int hopCount)
 
virtual unsigned int getRreqId () const
 
virtual void setRreqId (unsigned int rreqId)
 
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)
 
- 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 AODVRREQ &)
 
- Protected Member Functions inherited from inet::AODVControlPacket
bool operator== (const AODVControlPacket &)
 

Protected Attributes

bool joinFlag
 
bool repairFlag
 
bool gratuitousRREPFlag
 
bool destOnlyFlag
 
bool unknownSeqNumFlag
 
unsigned int hopCount
 
unsigned int rreqId
 
L3Address destAddr
 
unsigned int destSeqNum
 
L3Address originatorAddr
 
unsigned int originatorSeqNum
 
- Protected Attributes inherited from inet::AODVControlPacket
unsigned int packetType
 

Private Member Functions

void copy (const AODVRREQ &other)
 

Detailed Description

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

//
// Represents an AODV Route Request
//
class AODVRREQ extends AODVControlPacket
{
    packetType = RREQ;
    bool joinFlag;
    bool repairFlag;
    bool gratuitousRREPFlag;
    bool destOnlyFlag;
    bool unknownSeqNumFlag;
    unsigned int hopCount;
    unsigned int rreqId;
    L3Address destAddr;
    unsigned int destSeqNum;
    L3Address originatorAddr;
    unsigned int originatorSeqNum;
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::AODVControlPacket.

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

165 {return new AODVRREQ(*this);}
AODVRREQ(const char *name=nullptr)
virtual const L3Address& inet::AODVRREQ::getDestAddr ( ) const
inlinevirtual

Referenced by getDestAddr().

185 {return const_cast<AODVRREQ*>(this)->getDestAddr();}
AODVRREQ(const char *name=nullptr)
virtual L3Address & getDestAddr()
virtual bool inet::AODVRREQ::getDestOnlyFlag ( ) const
virtual
virtual unsigned int inet::AODVRREQ::getDestSeqNum ( ) const
virtual
virtual bool inet::AODVRREQ::getGratuitousRREPFlag ( ) const
virtual
virtual unsigned int inet::AODVRREQ::getHopCount ( ) const
virtual
virtual bool inet::AODVRREQ::getJoinFlag ( ) const
virtual
virtual L3Address& inet::AODVRREQ::getOriginatorAddr ( )
virtual
virtual const L3Address& inet::AODVRREQ::getOriginatorAddr ( ) const
inlinevirtual

Referenced by getOriginatorAddr().

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

Reimplemented from inet::AODVControlPacket.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::AODVControlPacket.

Referenced by inet::doParsimUnpacking().

virtual void inet::AODVRREQ::setDestAddr ( const L3Address destAddr)
virtual
virtual void inet::AODVRREQ::setDestOnlyFlag ( bool  destOnlyFlag)
virtual
virtual void inet::AODVRREQ::setDestSeqNum ( unsigned int  destSeqNum)
virtual
virtual void inet::AODVRREQ::setGratuitousRREPFlag ( bool  gratuitousRREPFlag)
virtual
virtual void inet::AODVRREQ::setHopCount ( unsigned int  hopCount)
virtual
virtual void inet::AODVRREQ::setJoinFlag ( bool  joinFlag)
virtual
virtual void inet::AODVRREQ::setOriginatorAddr ( const L3Address originatorAddr)
virtual
virtual void inet::AODVRREQ::setOriginatorSeqNum ( unsigned int  originatorSeqNum)
virtual
virtual void inet::AODVRREQ::setRepairFlag ( bool  repairFlag)
virtual
virtual void inet::AODVRREQ::setRreqId ( unsigned int  rreqId)
virtual
virtual void inet::AODVRREQ::setUnknownSeqNumFlag ( bool  unknownSeqNumFlag)
virtual

Member Data Documentation

L3Address inet::AODVRREQ::destAddr
protected
bool inet::AODVRREQ::destOnlyFlag
protected
unsigned int inet::AODVRREQ::destSeqNum
protected
bool inet::AODVRREQ::gratuitousRREPFlag
protected
unsigned int inet::AODVRREQ::hopCount
protected
bool inet::AODVRREQ::joinFlag
protected
L3Address inet::AODVRREQ::originatorAddr
protected
unsigned int inet::AODVRREQ::originatorSeqNum
protected
bool inet::AODVRREQ::repairFlag
protected
unsigned int inet::AODVRREQ::rreqId
protected
bool inet::AODVRREQ::unknownSeqNumFlag
protected

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