Public Types | Static Public Member Functions

ns3::ChannelList Class Reference
[Node]

the list of simulation channels. More...

#include <channel-list.h>

List of all members.

Public Types

typedef std::vector< Ptr
< Channel > >::const_iterator 
Iterator

Static Public Member Functions

static uint32_t Add (Ptr< Channel > channel)
static Iterator Begin (void)
static Iterator End (void)
static Ptr< ChannelGetChannel (uint32_t n)
static uint32_t GetNChannels (void)

Detailed Description

the list of simulation channels.

Every Channel created is automatically added to this list.


Member Function Documentation

static uint32_t ns3::ChannelList::Add ( Ptr< Channel channel  )  [static]
Parameters:
channel channel to add
Returns:
index of channel in list.

This method is called automatically from Channel::Channel so the user has little reason to call it himself.

static Iterator ns3::ChannelList::Begin ( void   )  [static]
Returns:
a C++ iterator located at the beginning of this list.
static Iterator ns3::ChannelList::End ( void   )  [static]
Returns:
a C++ iterator located at the end of this list.
static Ptr<Channel> ns3::ChannelList::GetChannel ( uint32_t  n  )  [static]
Parameters:
n index of requested channel.
Returns:
the Channel associated to index n.
static uint32_t ns3::ChannelList::GetNChannels ( void   )  [static]
Returns:
the number of channels currently in the list.

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