ns3::NodeList Class Reference
[Node]
the list of simulation nodes.
More...
#include <node-list.h>
List of all members.
Detailed Description
the list of simulation nodes.
Every Node created is automatically added to this list.
Member Function Documentation
uint32_t ns3::NodeList::Add |
( |
Ptr< Node > |
node |
) |
[static] |
- Parameters:
-
- Returns:
- index of node in list.
This method is called automatically from
Node::Node so the user has little reason to call it himself.
NodeList::Iterator ns3::NodeList::Begin |
( |
void |
|
) |
[static] |
- Returns:
- a C++ iterator located at the beginning of this list.
NodeList::Iterator ns3::NodeList::End |
( |
void |
|
) |
[static] |
- Returns:
- a C++ iterator located at the end of this list.
uint32_t ns3::NodeList::GetNNodes |
( |
void |
|
) |
[static] |
- Returns:
- the number of nodes currently in the list.
Ptr< Node > ns3::NodeList::GetNode |
( |
uint32_t |
n |
) |
[static] |
- Parameters:
-
| n | index of requested node. |
- Returns:
- the Node associated to index n.
The documentation for this class was generated from the following files:
- src/node/node-list.h
- src/node/node-list.cc