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

#include <AODVRouteData.h>

Inheritance diagram for inet::AODVRouteData:

Public Member Functions

 AODVRouteData ()
 
virtual ~AODVRouteData ()
 
unsigned int getDestSeqNum () const
 
void setDestSeqNum (unsigned int destSeqNum)
 
bool hasValidDestNum () const
 
void setHasValidDestNum (bool hasValidDestNum)
 
bool isBeingRepaired () const
 
void setIsBeingRepaired (bool isBeingRepaired)
 
bool isRepariable () const
 
void setIsRepariable (bool isRepariable)
 
const simtime_t & getLifeTime () const
 
void setLifeTime (const simtime_t &lifeTime)
 
bool isActive () const
 
void setIsActive (bool active)
 
void addPrecursor (const L3Address &precursorAddr)
 
const std::set< L3Address > & getPrecursorList () const
 

Protected Attributes

std::set< L3AddressprecursorList
 
bool active
 
bool repariable
 
bool beingRepaired
 
bool validDestNum
 
unsigned int destSeqNum
 
simtime_t lifeTime
 

Constructor & Destructor Documentation

inet::AODVRouteData::AODVRouteData ( )
inline
42  {
43  active = true;
44  repariable = false;
45  beingRepaired = false;
46  validDestNum = true;
47  lifeTime = SIMTIME_ZERO;
48  destSeqNum = 0;
49  }
bool beingRepaired
Definition: AODVRouteData.h:34
bool validDestNum
Definition: AODVRouteData.h:35
bool active
Definition: AODVRouteData.h:32
simtime_t lifeTime
Definition: AODVRouteData.h:37
unsigned int destSeqNum
Definition: AODVRouteData.h:36
bool repariable
Definition: AODVRouteData.h:33
virtual inet::AODVRouteData::~AODVRouteData ( )
inlinevirtual
51 {}

Member Function Documentation

void inet::AODVRouteData::addPrecursor ( const L3Address precursorAddr)
inline

Referenced by inet::AODVRouting::createRREP(), inet::AODVRouting::handleRREP(), and inet::AODVRouting::sendRREP().

65 { precursorList.insert(precursorAddr); }
std::set< L3Address > precursorList
Definition: AODVRouteData.h:31
const std::set<L3Address>& inet::AODVRouteData::getPrecursorList ( ) const
inline

Referenced by inet::AODVRouting::handleRERR(), and inet::operator<<().

66 { return precursorList; }
std::set< L3Address > precursorList
Definition: AODVRouteData.h:31
bool inet::AODVRouteData::isBeingRepaired ( ) const
inline
57 { return beingRepaired; }
bool beingRepaired
Definition: AODVRouteData.h:34
bool inet::AODVRouteData::isRepariable ( ) const
inline
59 { return repariable; }
bool repariable
Definition: AODVRouteData.h:33
void inet::AODVRouteData::setDestSeqNum ( unsigned int  destSeqNum)
inline
void inet::AODVRouteData::setHasValidDestNum ( bool  hasValidDestNum)
inline

Referenced by inet::AODVRouting::createRoute(), and inet::AODVRouting::updateRoutingTable().

56 { this->validDestNum = hasValidDestNum; }
bool validDestNum
Definition: AODVRouteData.h:35
bool hasValidDestNum() const
Definition: AODVRouteData.h:55
void inet::AODVRouteData::setIsBeingRepaired ( bool  isBeingRepaired)
inline
58 { this->beingRepaired = isBeingRepaired; }
bool beingRepaired
Definition: AODVRouteData.h:34
bool isBeingRepaired() const
Definition: AODVRouteData.h:57
void inet::AODVRouteData::setIsRepariable ( bool  isRepariable)
inline
60 { this->repariable = isRepariable; }
bool isRepariable() const
Definition: AODVRouteData.h:59
bool repariable
Definition: AODVRouteData.h:33

Member Data Documentation

bool inet::AODVRouteData::active
protected
bool inet::AODVRouteData::beingRepaired
protected
unsigned int inet::AODVRouteData::destSeqNum
protected
simtime_t inet::AODVRouteData::lifeTime
protected
std::set<L3Address> inet::AODVRouteData::precursorList
protected
bool inet::AODVRouteData::repariable
protected
bool inet::AODVRouteData::validDestNum
protected

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