A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::NodeList Class Reference

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< NodeGetNode (uint32_t n)
 

Detailed Description

the list of simulation nodes.

Every Node created is automatically added to this list.

Definition at line 40 of file node-list.h.

Member Function Documentation

uint32_t ns3::NodeList::Add ( Ptr< Node node)
static
Parameters
nodenode to add
Returns
index of node in list.

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.


The documentation for this class was generated from the following files: