#include <application-container.h>
Public Member Functions | |
ApplicationContainer () | |
ApplicationContainer (Ptr< Application > application) | |
ApplicationContainer (std::string name) | |
Iterator | Begin (void) const |
Iterator | End (void) const |
uint32_t | GetN (void) const |
Ptr< Application > | Get (uint32_t i) const |
void | Add (ApplicationContainer other) |
void | Add (Ptr< Application > application) |
void | Add (std::string name) |
ns3::ApplicationContainer::ApplicationContainer | ( | ) |
Create an empty ApplicationContainer.
ns3::ApplicationContainer::ApplicationContainer | ( | Ptr< Application > | application | ) |
Create an ApplicationContainer with exactly one application
application | The application to add to the container |
ns3::ApplicationContainer::ApplicationContainer | ( | std::string | name | ) |
Create an ApplicationContainer with exactly one application
name | The name of the application object to add to the container |
void ns3::ApplicationContainer::Add | ( | std::string | name | ) |
Append to the end of this container the application specified by the name.
name | The name of the application object to add to the container. |
void ns3::ApplicationContainer::Add | ( | Ptr< Application > | application | ) |
Append to the end of this container the input application pointer.
application | another netdevice pointer. |
void ns3::ApplicationContainer::Add | ( | ApplicationContainer | other | ) |
Append to the end of this container the other input container.
other | another application container |
Iterator ns3::ApplicationContainer::Begin | ( | void | ) | const |
Iterator ns3::ApplicationContainer::End | ( | void | ) | const |
Ptr<Application> ns3::ApplicationContainer::Get | ( | uint32_t | i | ) | const |
i | the index of the requested application pointer. |
uint32_t ns3::ApplicationContainer::GetN | ( | void | ) | const |