the list of simulation nodes. More...
#include <node-list.h>
Public Types | |
typedef std::vector< Ptr< Node > >::const_iterator | Iterator |
Static Public Member Functions | |
static uint32_t | Add (Ptr< Node > node) |
static Iterator | Begin (void) |
static Iterator | End (void) |
static Ptr< Node > | GetNode (uint32_t n) |
static uint32_t | GetNNodes (void) |
the list of simulation nodes.
Every Node created is automatically added to this list.
Definition at line 40 of file node-list.h.
typedef std::vector< Ptr<Node> >::const_iterator ns3::NodeList::Iterator |
Definition at line 43 of file node-list.h.
node | node to add |
This method is called automatically from Node::Node so the user has little reason to call it himself.
Definition at line 159 of file node-list.cc.
References ns3::TimeStepPrecision::Get().
Referenced by ns3::Node::Construct().
NodeList::Iterator ns3::NodeList::Begin | ( | void | ) | [static] |
Definition at line 164 of file node-list.cc.
References ns3::TimeStepPrecision::Get().
Referenced by ns3::GlobalRouteManagerImpl::BuildGlobalRoutingDatabase(), ns3::GlobalRouteManagerImpl::DeleteGlobalRoutes(), ns3::GlobalRouteManagerImpl::FindOutgoingTypeId(), ns3::NodeContainer::GetGlobal(), ns3::GlobalRouteManagerImpl::InitializeRoutes(), ns3::Ns2MobilityHelper::Install(), ns3::GlobalRouteManagerImpl::SelectRouterNodes(), ns3::GlobalRouteManagerImpl::SPFIntraAddRouter(), ns3::GlobalRouteManagerImpl::SPFIntraAddStub(), and ns3::GlobalRouteManagerImpl::SPFIntraAddTransit().
NodeList::Iterator ns3::NodeList::End | ( | void | ) | [static] |
Definition at line 169 of file node-list.cc.
References ns3::TimeStepPrecision::Get().
Referenced by ns3::GlobalRouteManagerImpl::BuildGlobalRoutingDatabase(), ns3::GlobalRouteManagerImpl::DeleteGlobalRoutes(), ns3::GlobalRouteManagerImpl::FindOutgoingTypeId(), ns3::GlobalRouteManagerImpl::InitializeRoutes(), ns3::Ns2MobilityHelper::Install(), ns3::GlobalRouteManagerImpl::SelectRouterNodes(), ns3::GlobalRouteManagerImpl::SPFIntraAddRouter(), ns3::GlobalRouteManagerImpl::SPFIntraAddStub(), and ns3::GlobalRouteManagerImpl::SPFIntraAddTransit().
uint32_t ns3::NodeList::GetNNodes | ( | void | ) | [static] |
Definition at line 179 of file node-list.cc.
References ns3::TimeStepPrecision::Get().
n | index of requested node. |
Definition at line 174 of file node-list.cc.
References ns3::TimeStepPrecision::Get().