Public Member Functions

ns3::ApplicationContainer Class Reference

holds a vector of ns3::Application pointers More...

#include <application-container.h>

List of all members.

Public Member Functions

Iterator Begin (void) const
Iterator End (void) const
uint32_t GetN (void) const
Ptr< ApplicationGet (uint32_t i) const
void Add (ApplicationContainer other)
void Add (Ptr< Application > application)

Detailed Description

holds a vector of ns3::Application pointers


Member Function Documentation

void ns3::ApplicationContainer::Add ( ApplicationContainer  other  ) 
Parameters:
other another netdevice container

Append to the end of this container the other input container.

void ns3::ApplicationContainer::Add ( Ptr< Application application  ) 
Parameters:
application another netdevice pointer.

Append to the end of this container the input netdevice pointer.

Iterator ns3::ApplicationContainer::Begin ( void   )  const
Returns:
an iterator which points to the start of the array of pointers.
Iterator ns3::ApplicationContainer::End ( void   )  const
Returns:
an iterator which points to the end of the array of pointers.
Ptr<Application> ns3::ApplicationContainer::Get ( uint32_t  i  )  const
Parameters:
i the index of the requested netdevice pointer.
Returns:
the requested netdevice pointer.
uint32_t ns3::ApplicationContainer::GetN ( void   )  const
Returns:
the number of netdevice pointers stored in this container.

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