RINASim  October 2016
Documentation of framework for OMNeT++
DMRnmsDV::DV Class Reference

#include <DV.h>

Inheritance diagram for DMRnmsDV::DV:
DMRnms::rModule

Public Member Functions

 DV (Routing *parent, const Address &_nAddr, const std::string &_domain, const std::string &_addr)
 
bool processUpdate (RoutingUpdate *update)
 
void addFlow (const Address &_nAddr, const std::string &_addr, const unsigned short &_metric)
 
void removeFlow (const Address &_nAddr, const std::string &_addr)
 
void addAddr (const std::string &_addr)
 
void removeAddr (const std::string &_addr)
 
void setInfMetric (const unsigned short &inf)
 
dmNxt getChanges ()
 
dmNxt getAll ()
 
void handleMessage (cMessage *msg)
 
- Public Member Functions inherited from DMRnms::rModule
 rModule (Routing *_parent, const Address &_nAddr, const std::string &_domain, const std::string &_addr)
 
virtual ~rModule ()
 

Protected Member Functions

void scheduleUpdate ()
 
- Protected Member Functions inherited from DMRnms::rModule
void scheduleAt (const double &time, cMessage *)
 

Protected Attributes

tTable table
 
neighMetric nei
 
unsigned short infMetric
 
s2A changes
 
sSet changedEntries
 
sSet myAddrSet
 
bool scheduledUpdate
 
- Protected Attributes inherited from DMRnms::rModule
Routingparent
 
Address myNAddress
 
std::string domain
 
std::string myAddr
 

Detailed Description

Definition at line 96 of file DV.h.

Constructor & Destructor Documentation

DMRnmsDV::DV::DV ( Routing parent,
const Address _nAddr,
const std::string &  _domain,
const std::string &  _addr 
)

Definition at line 54 of file DV.cc.

Member Function Documentation

void DMRnmsDV::DV::addAddr ( const std::string &  _addr)
virtual

Implements DMRnms::rModule.

Definition at line 154 of file DV.cc.

void DMRnmsDV::DV::addFlow ( const Address _nAddr,
const std::string &  _addr,
const unsigned short &  _metric 
)
virtual

Implements DMRnms::rModule.

Definition at line 105 of file DV.cc.

dmNxt DMRnmsDV::DV::getAll ( )
virtual

Implements DMRnms::rModule.

Definition at line 172 of file DV.cc.

dmNxt DMRnmsDV::DV::getChanges ( )
virtual

Implements DMRnms::rModule.

Definition at line 166 of file DV.cc.

void DMRnmsDV::DV::handleMessage ( cMessage *  msg)
virtual

Implements DMRnms::rModule.

Definition at line 187 of file DV.cc.

bool DMRnmsDV::DV::processUpdate ( RoutingUpdate update)
virtual

Implements DMRnms::rModule.

Definition at line 61 of file DV.cc.

void DMRnmsDV::DV::removeAddr ( const std::string &  _addr)
virtual

Implements DMRnms::rModule.

Definition at line 158 of file DV.cc.

void DMRnmsDV::DV::removeFlow ( const Address _nAddr,
const std::string &  _addr 
)
virtual

Implements DMRnms::rModule.

Definition at line 137 of file DV.cc.

void DMRnmsDV::DV::scheduleUpdate ( )
protected

Definition at line 219 of file DV.cc.

Referenced by addFlow(), processUpdate(), and removeFlow().

void DMRnmsDV::DV::setInfMetric ( const unsigned short &  inf)
virtual

Implements DMRnms::rModule.

Definition at line 162 of file DV.cc.

Member Data Documentation

sSet DMRnmsDV::DV::changedEntries
protected

Definition at line 119 of file DV.h.

Referenced by addFlow(), handleMessage(), processUpdate(), and removeFlow().

s2A DMRnmsDV::DV::changes
protected

Definition at line 118 of file DV.h.

Referenced by addFlow(), getAll(), getChanges(), processUpdate(), and removeFlow().

unsigned short DMRnmsDV::DV::infMetric
protected

Definition at line 117 of file DV.h.

Referenced by addFlow(), DV(), getAll(), processUpdate(), and setInfMetric().

sSet DMRnmsDV::DV::myAddrSet
protected

Definition at line 120 of file DV.h.

Referenced by addAddr(), DV(), handleMessage(), processUpdate(), and removeAddr().

neighMetric DMRnmsDV::DV::nei
protected

Definition at line 116 of file DV.h.

Referenced by addFlow(), handleMessage(), and removeFlow().

bool DMRnmsDV::DV::scheduledUpdate
protected

Definition at line 122 of file DV.h.

Referenced by DV(), handleMessage(), and scheduleUpdate().

tTable DMRnmsDV::DV::table
protected

Definition at line 115 of file DV.h.

Referenced by addFlow(), getAll(), handleMessage(), processUpdate(), and removeFlow().


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