RINASim
October 2016
Documentation of framework for OMNeT++
|
#include <rModule.h>
Public Member Functions | |
rModule (Routing *_parent, const Address &_nAddr, const std::string &_domain, const std::string &_addr) | |
virtual | ~rModule () |
virtual bool | processUpdate (RoutingUpdate *update)=0 |
virtual void | addFlow (const Address &_nAddr, const std::string &_addr, const unsigned short &_metric)=0 |
virtual void | removeFlow (const Address &_nAddr, const std::string &_addr)=0 |
virtual void | addAddr (const std::string &_addr)=0 |
virtual void | removeAddr (const std::string &_addr)=0 |
virtual void | setInfMetric (const unsigned short &inf)=0 |
virtual dmNxt | getChanges ()=0 |
virtual dmNxt | getAll ()=0 |
virtual void | handleMessage (cMessage *msg)=0 |
Protected Member Functions | |
void | scheduleAt (const double &time, cMessage *) |
Protected Attributes | |
Routing * | parent |
Address | myNAddress |
std::string | domain |
std::string | myAddr |
DMRnms::rModule::rModule | ( | Routing * | _parent, |
const Address & | _nAddr, | ||
const std::string & | _domain, | ||
const std::string & | _addr | ||
) |
Definition at line 39 of file rModule.cc.
|
pure virtual |
Implemented in DMRnmsLS::LS, and DMRnmsDV::DV.
|
pure virtual |
Implemented in DMRnmsLS::LS, and DMRnmsDV::DV.
|
pure virtual |
Implemented in DMRnmsLS::LS, and DMRnmsDV::DV.
|
pure virtual |
Implemented in DMRnmsLS::LS, and DMRnmsDV::DV.
|
pure virtual |
Implemented in DMRnmsLS::LS, and DMRnmsDV::DV.
|
pure virtual |
Implemented in DMRnmsLS::LS, and DMRnmsDV::DV.
|
pure virtual |
Implemented in DMRnmsLS::LS, and DMRnmsDV::DV.
|
pure virtual |
Implemented in DMRnmsLS::LS, and DMRnmsDV::DV.
|
protected |
Definition at line 42 of file rModule.cc.
Referenced by DMRnmsDV::DV::scheduleUpdate(), and DMRnmsLS::LS::scheduleUpdate().
|
pure virtual |
Implemented in DMRnmsLS::LS, and DMRnmsDV::DV.
|
protected |
Definition at line 89 of file rModule.h.
Referenced by DMRnmsDV::DV::getAll(), DMRnmsLS::LS::getAll(), DMRnmsDV::DV::getChanges(), DMRnmsLS::LS::getChanges(), DMRnmsDV::DV::handleMessage(), DMRnmsLS::LS::handleMessage(), and scheduleAt().
|
protected |
Definition at line 90 of file rModule.h.
Referenced by DMRnmsLS::LS::addAddr(), DMRnmsLS::LS::addFlow(), DMRnmsLS::LS::constructTree(), DMRnmsDV::DV::handleMessage(), DMRnmsLS::LS::removeAddr(), and DMRnmsLS::LS::removeFlow().
|
protected |
Definition at line 88 of file rModule.h.
Referenced by DMRnmsDV::DV::processUpdate().
|
protected |
Definition at line 87 of file rModule.h.
Referenced by DMRnmsDV::DV::handleMessage(), DMRnmsLS::LS::handleMessage(), and scheduleAt().