Satellite mobility model for which the current position does not change once it has been set and until it is set again explicitly to a new value. More...
#include "satellite-constant-position-mobility-model.h"
Public Member Functions | |
SatConstantPositionMobilityModel () | |
Create a position located at coordinates (0, 0, 0) More... | |
virtual | ~SatConstantPositionMobilityModel () |
Destructor for SatConstantPositionMobilityModel. More... | |
Public Member Functions inherited from ns3::SatMobilityModel | |
SatMobilityModel () | |
Default constructor. More... | |
virtual | ~SatMobilityModel ()=0 |
Destructor for SatMobilityModel. More... | |
double | GetDistanceFrom (Ptr< const SatMobilityModel > position) const |
GeoCoordinate | GetGeoPosition (void) const |
TypeId | GetInstanceTypeId (void) const |
void | NotifyGeoCourseChange (void) const |
void | SetGeoPosition (const GeoCoordinate &position) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Static Public Member Functions inherited from ns3::SatMobilityModel | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Private Member Functions | |
virtual GeoCoordinate | DoGetGeoPosition (void) const |
Vector | DoGetVelocity (void) const |
virtual void | DoSetGeoPosition (const GeoCoordinate &position) |
Private Attributes | |
GeoCoordinate | m_geoPosition |
Additional Inherited Members | |
Public Types inherited from ns3::SatMobilityModel | |
typedef void(* | CourseChangeCallback) (const Ptr< const SatMobilityModel > model) |
Callback signature for SatCourseChange trace source. More... | |
Satellite mobility model for which the current position does not change once it has been set and until it is set again explicitly to a new value.
Definition at line 35 of file satellite-constant-position-mobility-model.h.
ns3::SatConstantPositionMobilityModel::SatConstantPositionMobilityModel | ( | ) |
Create a position located at coordinates (0, 0, 0)
Definition at line 43 of file satellite-constant-position-mobility-model.cc.
|
virtual |
Destructor for SatConstantPositionMobilityModel.
Definition at line 48 of file satellite-constant-position-mobility-model.cc.
|
privatevirtual |
Concrete subclasses of this base class must implement this method.
Implements ns3::SatMobilityModel.
Definition at line 54 of file satellite-constant-position-mobility-model.cc.
References m_geoPosition.
|
private |
Definition at line 71 of file satellite-constant-position-mobility-model.cc.
|
privatevirtual |
position | the position to set. |
Concrete subclasses of this base class must implement this method.
Implements ns3::SatMobilityModel.
Definition at line 62 of file satellite-constant-position-mobility-model.cc.
References m_geoPosition, and ns3::SatMobilityModel::NotifyGeoCourseChange().
|
static |
Get the type ID.
Definition at line 35 of file satellite-constant-position-mobility-model.cc.
|
mutableprivate |
Definition at line 59 of file satellite-constant-position-mobility-model.h.
Referenced by DoGetGeoPosition(), and DoSetGeoPosition().