|
RINASim
October 2016
Documentation of framework for OMNeT++
|
#include <Routing_Alg.h>
Public Member Functions | |
| Routing_Alg () | |
| virtual | ~Routing_Alg () |
| Routing_Alg (Routing_Module *p, const Address &_nAddr, const string &_addr, T inf) | |
| virtual void | addSynonym (const string syn) |
| virtual void | removeSynonym (const string syn) |
| virtual void | addFlow (const Address &_nAddr, const string &_addr, const T &_metric) |
| virtual void | removeFlow (const Address &_nAddr, const string &_addr) |
| virtual bool | processUpdate (Routing_Update *update)=0 |
| virtual map< string, nhLMetric< T > > | getChanges ()=0 |
| virtual map< string, nhLMetric< T > > | getAll ()=0 |
| void | setInfMetric (const T &inf) |
| void | setUpdateDelay (const simtime_t &t) |
| void | scheduleUpdate () |
| virtual void | sendUpdate () |
| virtual void | print ()=0 |
| void | setDescriptor (const string &des) |
Protected Attributes | |
| Routing_Module * | parent |
| Address | myNAddr |
| string | descriptor |
| string | myAddr |
| set< string > | synonyms |
| T | infinite |
| simtime_t | updateW |
| bool | scheduledUpdate |
| map< string, T > | nei |
| map< string, Address > | neigTable |
| map< Address, string > | invNeigTable |
Definition at line 17 of file Routing_Alg.h.
|
inline |
Definition at line 34 of file Routing_Alg.h.
|
inlinevirtual |
Definition at line 35 of file Routing_Alg.h.
|
inline |
Definition at line 37 of file Routing_Alg.h.
|
inlinevirtual |
Reimplemented in common_DVModule::DV_Module< T >, and common_LSModule::LS_Module< T >.
Definition at line 43 of file Routing_Alg.h.
Referenced by common_LSModule::LS_Module< T >::addFlow(), and common_DVModule::DV_Module< T >::addFlow().
|
inlinevirtual |
Reimplemented in common_DVModule::DV_Module< T >, and common_LSModule::LS_Module< T >.
Definition at line 40 of file Routing_Alg.h.
Referenced by common_LSModule::LS_Module< T >::addSynonym(), and common_DVModule::DV_Module< T >::addSynonym().
|
pure virtual |
Implemented in common_DVModule::DV_Module< T >, and common_LSModule::LS_Module< T >.
|
pure virtual |
Implemented in common_DVModule::DV_Module< T >, and common_LSModule::LS_Module< T >.
|
pure virtual |
Implemented in common_DVModule::DV_Module< T >, and common_LSModule::LS_Module< T >.
|
pure virtual |
Implements common_Routing::Routing_Alg_I.
Implemented in common_DVModule::DV_Module< T >, and common_LSModule::LS_Module< T >.
|
inlinevirtual |
Reimplemented in common_DVModule::DV_Module< T >, and common_LSModule::LS_Module< T >.
Definition at line 49 of file Routing_Alg.h.
Referenced by common_LSModule::LS_Module< T >::removeFlow(), and common_DVModule::DV_Module< T >::removeFlow().
|
inlinevirtual |
Reimplemented in common_DVModule::DV_Module< T >, and common_LSModule::LS_Module< T >.
Definition at line 41 of file Routing_Alg.h.
Referenced by common_LSModule::LS_Module< T >::removeSynonym(), and common_DVModule::DV_Module< T >::removeSynonym().
|
inline |
Definition at line 62 of file Routing_Alg.h.
Referenced by common_LSModule::LS_Module< T >::addFlow(), common_DVModule::DV_Module< T >::addFlow(), common_LSModule::LS_Module< T >::addSynonym(), common_DVModule::DV_Module< T >::addSynonym(), common_LSModule::LS_Module< T >::processUpdate(), common_DVModule::DV_Module< T >::processUpdate(), common_LSModule::LS_Module< T >::removeFlow(), common_DVModule::DV_Module< T >::removeFlow(), common_LSModule::LS_Module< T >::removeSynonym(), and common_DVModule::DV_Module< T >::removeSynonym().
|
inlinevirtual |
Reimplemented in common_DVModule::DV_Module< T >, and common_LSModule::LS_Module< T >.
Definition at line 68 of file Routing_Alg.h.
Referenced by common_LSModule::LS_Module< T >::sendUpdate(), and common_DVModule::DV_Module< T >::sendUpdate().
|
inline |
Definition at line 72 of file Routing_Alg.h.
Referenced by tDomain::TDomainRouting< unsigned short >::addDomain().
|
inline |
Definition at line 59 of file Routing_Alg.h.
|
inline |
Definition at line 61 of file Routing_Alg.h.
|
protected |
Definition at line 22 of file Routing_Alg.h.
|
protected |
Definition at line 25 of file Routing_Alg.h.
|
protected |
Definition at line 31 of file Routing_Alg.h.
|
protected |
Definition at line 23 of file Routing_Alg.h.
|
protected |
Definition at line 21 of file Routing_Alg.h.
|
protected |
Definition at line 29 of file Routing_Alg.h.
|
protected |
Definition at line 30 of file Routing_Alg.h.
|
protected |
Definition at line 20 of file Routing_Alg.h.
|
protected |
Definition at line 27 of file Routing_Alg.h.
|
protected |
Definition at line 24 of file Routing_Alg.h.
|
protected |
Definition at line 26 of file Routing_Alg.h.