private implementation detail of the NodeList API. More...
Public Member Functions | |
NodeListPriv () | |
~NodeListPriv () | |
uint32_t | Add (Ptr< Node > node) |
NodeList::Iterator | Begin (void) const |
NodeList::Iterator | End (void) const |
Ptr< Node > | GetNode (uint32_t n) |
uint32_t | GetNNodes (void) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::NodeListPriv. | |
static Ptr< NodeListPriv > | Get (void) |
Static Private Member Functions | |
static Ptr< NodeListPriv > * | DoGet (void) |
static void | Delete (void) |
Private Attributes | |
std::vector< Ptr< Node > > | m_nodes |
private implementation detail of the NodeList API.
Definition at line 36 of file node-list.cc.
ns3::NodeListPriv::NodeListPriv | ( | ) |
Definition at line 98 of file node-list.cc.
References NS_LOG_FUNCTION_NOARGS.
ns3::NodeListPriv::~NodeListPriv | ( | ) |
Definition at line 102 of file node-list.cc.
Definition at line 117 of file node-list.cc.
References m_nodes.
NodeList::Iterator ns3::NodeListPriv::Begin | ( | void | ) | const |
Definition at line 125 of file node-list.cc.
References m_nodes.
void ns3::NodeListPriv::Delete | ( | void | ) | [static, private] |
Definition at line 90 of file node-list.cc.
References DoGet(), Get(), NS_LOG_FUNCTION_NOARGS, and ns3::Config::UnregisterRootNamespaceObject().
Referenced by DoGet().
Ptr< NodeListPriv > * ns3::NodeListPriv::DoGet | ( | void | ) | [static, private] |
Definition at line 78 of file node-list.cc.
References Delete(), ns3::Config::RegisterRootNamespaceObject(), and ns3::Simulator::ScheduleDestroy().
NodeList::Iterator ns3::NodeListPriv::End | ( | void | ) | const |
Definition at line 130 of file node-list.cc.
References m_nodes.
Ptr< NodeListPriv > ns3::NodeListPriv::Get | ( | void | ) | [static] |
uint32_t ns3::NodeListPriv::GetNNodes | ( | void | ) |
Definition at line 135 of file node-list.cc.
References m_nodes.
Definition at line 141 of file node-list.cc.
References m_nodes, and NS_ASSERT_MSG.
TypeId ns3::NodeListPriv::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::NodeListPriv.
This object is accessible through the following paths with Config::Set and Config::Connect:
Attributes defined for this type:
No TraceSources defined for this type.
Reimplemented from ns3::Object.
Definition at line 60 of file node-list.cc.
References m_nodes, ns3::MakeObjectVectorAccessor(), and ns3::TypeId::SetParent().
std::vector<Ptr<Node> > ns3::NodeListPriv::m_nodes [private] |
Definition at line 54 of file node-list.cc.
Referenced by Add(), Begin(), End(), GetNNodes(), GetNode(), and GetTypeId().