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 uint32_t | GetNNodes (void) |
static Ptr< Node > | GetNode (uint32_t n) |
the list of simulation nodes.
Every Node created is automatically added to this list.
Definition at line 40 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 174 of file node-list.cc.
References NS_LOG_FUNCTION.
|
static |
Definition at line 180 of file node-list.cc.
References NS_LOG_FUNCTION_NOARGS.
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 |
Definition at line 186 of file node-list.cc.
References NS_LOG_FUNCTION_NOARGS.
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 |
Definition at line 198 of file node-list.cc.
References NS_LOG_FUNCTION_NOARGS.
Referenced by ns3::dsr::DsrOptions::GetIDfromIP(), ns3::dsr::DsrRouting::GetIDfromIP(), ns3::dsr::DsrRouting::GetIPfromMAC(), ns3::dsr::DsrOptions::GetNodeWithAddress(), ns3::dsr::DsrRouting::GetNodeWithAddress(), ns3::Ipv4RoutingHelper::PrintRoutingTableAllAt(), ns3::Ipv6RoutingHelper::PrintRoutingTableAllAt(), ns3::Ipv4RoutingHelper::PrintRoutingTableAllEvery(), ns3::Ipv6RoutingHelper::PrintRoutingTableAllEvery(), ns3::dsr::DsrOptionSR::Process(), and ns3::AnimationInterface::StartAnimation().
n | index of requested node. |
Definition at line 192 of file node-list.cc.
References NS_LOG_FUNCTION.
Referenced by ns3::dsr::DsrOptions::GetIDfromIP(), ns3::dsr::DsrRouting::GetIDfromIP(), ns3::dsr::DsrRouting::GetIPfromID(), ns3::dsr::DsrRouting::GetIPfromMAC(), ns3::dsr::DsrRouting::GetNetDeviceFromContext(), ns3::GlobalRoutingLSA::GetNode(), ns3::dsr::DsrOptions::GetNodeWithAddress(), ns3::dsr::DsrRouting::GetNodeWithAddress(), ns3::Ipv4RoutingHelper::PrintRoutingTableAllAt(), ns3::Ipv6RoutingHelper::PrintRoutingTableAllAt(), ns3::Ipv4RoutingHelper::PrintRoutingTableAllEvery(), ns3::Ipv6RoutingHelper::PrintRoutingTableAllEvery(), ns3::dsr::DsrOptionSR::Process(), ns3::MpiInterface::ReceiveMessages(), ns3::MpiInterface::SendPacket(), ns3::AnimationInterface::ShowNode(), ns3::AnimationInterface::UpdateNodeColor(), and ns3::AnimationInterface::UpdateNodeDescription().