ns3::NodeListPriv Class Reference

private implementation detail of the NodeList API. More...

Inheritance diagram for ns3::NodeListPriv:
Inheritance graph
[legend]
Collaboration diagram for ns3::NodeListPriv:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NodeListPriv ()
 ~NodeListPriv ()
uint32_t Add (Ptr< Node > node)
NodeList::Iterator Begin (void) const
NodeList::Iterator End (void) const
Ptr< NodeGetNode (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< NodeListPrivGet (void)

Static Private Member Functions

static Ptr< NodeListPriv > * DoGet (void)
static void Delete (void)

Private Attributes

std::vector< Ptr< Node > > m_nodes

Detailed Description

private implementation detail of the NodeList API.

Definition at line 36 of file node-list.cc.


Constructor & Destructor Documentation

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.


Member Function Documentation

uint32_t ns3::NodeListPriv::Add ( Ptr< Node node  ) 

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().

Referenced by Delete(), and Get().

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]

Definition at line 73 of file node-list.cc.

References DoGet().

Referenced by Delete().

uint32_t ns3::NodeListPriv::GetNNodes ( void   ) 

Definition at line 135 of file node-list.cc.

References m_nodes.

Ptr< Node > ns3::NodeListPriv::GetNode ( uint32_t  n  ) 

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().


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Thu Dec 3 14:12:04 2009 for NS-3 by  doxygen 1.6.3