ns-3
|
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.
uint32_t ns3::NodeList::Add | ( | Ptr< Node > | node | ) | [static] |
node | node to add |
This method is called automatically from Node::Node so the user has little reason to call it himself.
NodeList::Iterator ns3::NodeList::Begin | ( | void | ) | [static] |
Referenced by ns3::GlobalRouteManagerImpl::BuildGlobalRoutingDatabase(), ns3::GlobalRouteManagerImpl::DeleteGlobalRoutes(), ns3::Ipv4NixVectorRouting::FlushGlobalNixRoutingCache(), ns3::NodeContainer::GetGlobal(), ns3::GlobalRouteManagerImpl::InitializeRoutes(), ns3::Ns2MobilityHelper::Install(), ns3::FlowMonitorHelper::InstallAll(), and ns3::AnimationInterface::StartAnimation().
NodeList::Iterator ns3::NodeList::End | ( | void | ) | [static] |
Referenced by ns3::GlobalRouteManagerImpl::BuildGlobalRoutingDatabase(), ns3::GlobalRouteManagerImpl::DeleteGlobalRoutes(), ns3::Ipv4NixVectorRouting::FlushGlobalNixRoutingCache(), ns3::GlobalRouteManagerImpl::InitializeRoutes(), ns3::Ns2MobilityHelper::Install(), ns3::FlowMonitorHelper::InstallAll(), and ns3::AnimationInterface::StartAnimation().
uint32_t ns3::NodeList::GetNNodes | ( | void | ) | [static] |
Referenced by ns3::Ipv4RoutingHelper::PrintRoutingTableAllAt(), ns3::Ipv4RoutingHelper::PrintRoutingTableAllEvery(), and ns3::AnimationInterface::StartAnimation().
Ptr< Node > ns3::NodeList::GetNode | ( | uint32_t | n | ) | [static] |
n | index of requested node. |
Referenced by ns3::Ipv4RoutingHelper::PrintRoutingTableAllAt(), ns3::Ipv4RoutingHelper::PrintRoutingTableAllEvery(), ns3::MpiInterface::ReceiveMessages(), and ns3::MpiInterface::SendPacket().