|
INET Framework for OMNeT++/OMNEST
|
#include <AnsaLSA.h>
Public Member Functions | |
| RoutingInfo (void) | |
| RoutingInfo (const RoutingInfo &routingInfo) | |
| virtual | ~RoutingInfo (void) |
| void | AddNextHop (NextHop nextHop) |
| void | ClearNextHops (void) |
| unsigned int | GetNextHopCount (void) const |
| NextHop | GetNextHop (unsigned int index) const |
| void | SetDistance (unsigned long d) |
| unsigned long | GetDistance (void) const |
| void | SetParent (OSPFLSA *p) |
| OSPFLSA * | GetParent (void) const |
Private Attributes | |
| std::vector< NextHop > | nextHops |
| unsigned long | distance |
| OSPFLSA * | parent |
| AnsaOSPF::RoutingInfo::RoutingInfo | ( | void | ) | [inline] |
| AnsaOSPF::RoutingInfo::RoutingInfo | ( | const RoutingInfo & | routingInfo | ) | [inline] |
| virtual AnsaOSPF::RoutingInfo::~RoutingInfo | ( | void | ) | [inline, virtual] |
| void AnsaOSPF::RoutingInfo::AddNextHop | ( | NextHop | nextHop | ) | [inline] |
| void AnsaOSPF::RoutingInfo::ClearNextHops | ( | void | ) | [inline] |
Definition at line 32 of file AnsaLSA.h.
Referenced by AnsaOSPF::RouterLSA::Update(), AnsaOSPF::NetworkLSA::Update(), AnsaOSPF::SummaryLSA::Update(), and AnsaOSPF::ASExternalLSA::Update().
{ nextHops.clear(); }
| unsigned long AnsaOSPF::RoutingInfo::GetDistance | ( | void | ) | const [inline] |
| NextHop AnsaOSPF::RoutingInfo::GetNextHop | ( | unsigned int | index | ) | const [inline] |
Definition at line 34 of file AnsaLSA.h.
Referenced by AnsaOSPF::Area::CalculateNextHops().
| unsigned int AnsaOSPF::RoutingInfo::GetNextHopCount | ( | void | ) | const [inline] |
Definition at line 33 of file AnsaLSA.h.
Referenced by AnsaOSPF::Area::CalculateNextHops().
{ return nextHops.size(); }
| OSPFLSA* AnsaOSPF::RoutingInfo::GetParent | ( | void | ) | const [inline] |
Definition at line 38 of file AnsaLSA.h.
Referenced by AnsaOSPF::Area::CalculateNextHops(), AnsaOSPF::Router::IsDestinationUnreachable(), and AnsaOSPF::Area::RemoveParentFromRoutingInfo().
{ return parent; }
| void AnsaOSPF::RoutingInfo::SetDistance | ( | unsigned long | d | ) | [inline] |
| void AnsaOSPF::RoutingInfo::SetParent | ( | OSPFLSA * | p | ) | [inline] |
Definition at line 37 of file AnsaLSA.h.
Referenced by AnsaOSPF::Area::RemoveParentFromRoutingInfo().
{ parent = p; }
unsigned long AnsaOSPF::RoutingInfo::distance [private] |
Definition at line 21 of file AnsaLSA.h.
Referenced by GetDistance(), and SetDistance().
std::vector<NextHop> AnsaOSPF::RoutingInfo::nextHops [private] |
Definition at line 20 of file AnsaLSA.h.
Referenced by AddNextHop(), ClearNextHops(), GetNextHop(), and GetNextHopCount().
OSPFLSA* AnsaOSPF::RoutingInfo::parent [private] |
Definition at line 22 of file AnsaLSA.h.
Referenced by GetParent(), and SetParent().