Allocate a set of satellite positions. More...
#include "satellite-position-allocator.h"
Public Member Functions | |
SatPositionAllocator () | |
Default constructor. More... | |
virtual | ~SatPositionAllocator () |
Destructor for SatPositionAllocator. More... | |
virtual int64_t | AssignStreams (int64_t stream) |
virtual Vector | GetNext (void) const |
virtual GeoCoordinate | GetNextGeoPosition (uint32_t satId=0) const =0 |
Get next position. More... | |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Private Attributes | |
bool | m_GetAsGeoCoordinates |
Allocate a set of satellite positions.
The allocation strategy is implemented in inherited classes.
This is a pure abstract base class.
Definition at line 45 of file satellite-position-allocator.h.
ns3::SatPositionAllocator::SatPositionAllocator | ( | ) |
Default constructor.
Definition at line 62 of file satellite-position-allocator.cc.
|
virtual |
Destructor for SatPositionAllocator.
Definition at line 67 of file satellite-position-allocator.cc.
|
virtual |
Reimplemented in ns3::SatSpotBeamPositionAllocator, ns3::SatRandomCirclePositionAllocator, and ns3::SatRandomBoxPositionAllocator.
Definition at line 89 of file satellite-position-allocator.cc.
|
virtual |
Definition at line 72 of file satellite-position-allocator.cc.
References ns3::GeoCoordinate::GetAltitude(), ns3::GeoCoordinate::GetLatitude(), ns3::GeoCoordinate::GetLongitude(), GetNextGeoPosition(), m_GetAsGeoCoordinates, and ns3::GeoCoordinate::ToVector().
|
pure virtual |
Get next position.
Implemented in ns3::SatRandomCirclePositionAllocator, ns3::SatRandomBoxPositionAllocator, ns3::SatListPositionAllocator, and ns3::SatSpotBeamPositionAllocator.
Referenced by GetNext().
|
static |
Get the type ID.
Definition at line 48 of file satellite-position-allocator.cc.
References m_GetAsGeoCoordinates.
|
private |
Definition at line 81 of file satellite-position-allocator.h.
Referenced by GetNext(), and GetTypeId().