#include <position-allocator.h>
Public Member Functions | |
void | Add (Vector v) |
virtual Vector | GetNext (void) const |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::ListPositionAllocator. |
The first call to ListPositionAllocator::GetNext will return the first element of the list, the second call, the second element, and so on.
void ns3::ListPositionAllocator::Add | ( | Vector | v | ) |
v | the position to append at the end of the list of positions to return from GetNext. |
virtual Vector ns3::ListPositionAllocator::GetNext | ( | void | ) | const [virtual] |
Implements ns3::PositionAllocator.
static TypeId ns3::ListPositionAllocator::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::ListPositionAllocator.
This object is accessible through the following paths with Config::Set and Config::Connect:
Reimplemented from ns3::PositionAllocator.