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.
node | node to add |
This method is called automatically from Node::Node so the user has little reason to call it himself.
|
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().
|
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().
|
static |
Referenced by ns3::dsr::DsrRouting::GetIDfromIP(), ns3::dsr::DsrRouting::GetIPfromMAC(), ns3::Ipv4RoutingHelper::PrintRoutingTableAllAt(), ns3::Ipv6RoutingHelper::PrintRoutingTableAllAt(), ns3::Ipv4RoutingHelper::PrintRoutingTableAllEvery(), ns3::Ipv6RoutingHelper::PrintRoutingTableAllEvery(), and ns3::AnimationInterface::StartAnimation().
n | index of requested node. |
Referenced by ns3::Ipv4RoutingHelper::PrintRoutingTableAllAt(), ns3::Ipv6RoutingHelper::PrintRoutingTableAllAt(), ns3::Ipv4RoutingHelper::PrintRoutingTableAllEvery(), ns3::Ipv6RoutingHelper::PrintRoutingTableAllEvery(), ns3::MpiInterface::ReceiveMessages(), and ns3::MpiInterface::SendPacket().