#include <net-device-container.h>
Public Member Functions | |
NetDeviceContainer () | |
NetDeviceContainer (Ptr< NetDevice > dev) | |
NetDeviceContainer (std::string devName) | |
NetDeviceContainer (const NetDeviceContainer &a, const NetDeviceContainer &b) | |
Iterator | Begin (void) const |
Iterator | End (void) const |
uint32_t | GetN (void) const |
Ptr< NetDevice > | Get (uint32_t i) const |
void | Add (NetDeviceContainer other) |
void | Add (Ptr< NetDevice > device) |
void | Add (std::string deviceName) |
ns3::NetDeviceContainer::NetDeviceContainer | ( | ) |
Create an empty NetDeviceContainer.
dev | a device to add to the container |
ns3::NetDeviceContainer::NetDeviceContainer | ( | std::string | devName | ) |
devName | The name of a device to add to the container |
ns3::NetDeviceContainer::NetDeviceContainer | ( | const NetDeviceContainer & | a, | |
const NetDeviceContainer & | b | |||
) |
a | a device container | |
b | another device container |
void ns3::NetDeviceContainer::Add | ( | std::string | deviceName | ) |
deviceName | The name of another netdevice to add. |
device | another netdevice pointer. |
void ns3::NetDeviceContainer::Add | ( | NetDeviceContainer | other | ) |
other | another netdevice container |
Iterator ns3::NetDeviceContainer::Begin | ( | void | ) | const |
Iterator ns3::NetDeviceContainer::End | ( | void | ) | const |
i | the index of the requested netdevice pointer. |
uint32_t ns3::NetDeviceContainer::GetN | ( | void | ) | const |