|
INET Framework for OMNeT++/OMNEST
|
#include <ansaLsa6.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 (OspfLsa6 *p) |
| OspfLsa6 * | GetParent (void) const |
Private Attributes | |
| std::vector< NextHop > | nextHops |
| unsigned long | distance |
| OspfLsa6 * | parent |
Definition at line 31 of file ansaLsa6.h.
| AnsaOspf6::RoutingInfo::RoutingInfo | ( | void | ) | [inline] |
Definition at line 38 of file ansaLsa6.h.
| AnsaOspf6::RoutingInfo::RoutingInfo | ( | const RoutingInfo & | routingInfo | ) | [inline] |
| virtual AnsaOspf6::RoutingInfo::~RoutingInfo | ( | void | ) | [inline, virtual] |
Definition at line 41 of file ansaLsa6.h.
{}
| void AnsaOspf6::RoutingInfo::AddNextHop | ( | NextHop | nextHop | ) | [inline] |
Definition at line 43 of file ansaLsa6.h.
{ nextHops.push_back(nextHop); }
| void AnsaOspf6::RoutingInfo::ClearNextHops | ( | void | ) | [inline] |
Definition at line 44 of file ansaLsa6.h.
Referenced by AnsaOspf6::RouterLsa::Update(), AnsaOspf6::NetworkLsa::Update(), AnsaOspf6::InterAreaPrefixLsa::Update(), AnsaOspf6::InterAreaRouterLsa::Update(), AnsaOspf6::AsExternalLsa::Update(), AnsaOspf6::LinkLsa::Update(), and AnsaOspf6::IntraAreaPrefixLsa::Update().
{ nextHops.clear(); }
| unsigned long AnsaOspf6::RoutingInfo::GetDistance | ( | void | ) | const [inline] |
Definition at line 48 of file ansaLsa6.h.
{ return distance; }
| NextHop AnsaOspf6::RoutingInfo::GetNextHop | ( | unsigned int | index | ) | const [inline] |
Definition at line 46 of file ansaLsa6.h.
| unsigned int AnsaOspf6::RoutingInfo::GetNextHopCount | ( | void | ) | const [inline] |
Definition at line 45 of file ansaLsa6.h.
{ return nextHops.size(); }
| OspfLsa6* AnsaOspf6::RoutingInfo::GetParent | ( | void | ) | const [inline] |
Definition at line 50 of file ansaLsa6.h.
Referenced by AnsaOspf6::Area::RemoveParentFromRoutingInfo().
{ return parent; }
| void AnsaOspf6::RoutingInfo::SetDistance | ( | unsigned long | d | ) | [inline] |
Definition at line 47 of file ansaLsa6.h.
{ distance = d; }
| void AnsaOspf6::RoutingInfo::SetParent | ( | OspfLsa6 * | p | ) | [inline] |
Definition at line 49 of file ansaLsa6.h.
Referenced by AnsaOspf6::Area::RemoveParentFromRoutingInfo().
{ parent = p; }
unsigned long AnsaOspf6::RoutingInfo::distance [private] |
Definition at line 34 of file ansaLsa6.h.
Referenced by GetDistance(), and SetDistance().
std::vector<NextHop> AnsaOspf6::RoutingInfo::nextHops [private] |
Definition at line 33 of file ansaLsa6.h.
Referenced by AddNextHop(), ClearNextHops(), GetNextHop(), and GetNextHopCount().
OspfLsa6* AnsaOspf6::RoutingInfo::parent [private] |
Definition at line 35 of file ansaLsa6.h.
Referenced by GetParent(), and SetParent().