Satellite mobility model for which the current position change based on values read from a file. More...
#include "satellite-traced-mobility-model.h"
Inheritance diagram for ns3::SatTracedMobilityModel:
Collaboration diagram for ns3::SatTracedMobilityModel:Public Member Functions | |
| SatTracedMobilityModel () | |
| Default constructor. More... | |
| SatTracedMobilityModel (uint32_t satId, const std::string &filename, Ptr< SatAntennaGainPatternContainer > agp) | |
| Constructor. More... | |
| virtual | ~SatTracedMobilityModel () |
| Destructor for SatMobilityModel. More... | |
| virtual void | DoDispose () |
| Dispose of this class instance. More... | |
| uint32_t | GetBestBeamId (bool ignoreNan=false) const |
| Return the best beam ID based on the current position. More... | |
| TypeId | GetInstanceTypeId (void) const |
| uint32_t | GetSatId (void) const |
| Return the satellite ID linked to this node. More... | |
| void | SetSatId (uint32_t satId) |
| Set the satellite ID linked to this node. 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 |
| virtual Vector | DoGetVelocity (void) const |
| virtual void | DoSetGeoPosition (const GeoCoordinate &position) |
| void | UpdateGeoPositionFromFile (void) |
Private Attributes | |
| Ptr< SatAntennaGainPatternContainer > | m_antennaGainPatterns |
| GeoCoordinate | m_geoPosition |
| GeoCoordinate::ReferenceEllipsoid_t | m_refEllipsoid |
| uint32_t | m_satId |
| std::string | m_traceFilename |
| Time | m_updateInterval |
| Vector | m_velocity |
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 change based on values read from a file.
Definition at line 41 of file satellite-traced-mobility-model.h.
| ns3::SatTracedMobilityModel::SatTracedMobilityModel | ( | ) |
| ns3::SatTracedMobilityModel::SatTracedMobilityModel | ( | uint32_t | satId, |
| const std::string & | filename, | ||
| Ptr< SatAntennaGainPatternContainer > | agp | ||
| ) |
Constructor.
Definition at line 85 of file satellite-traced-mobility-model.cc.
References UpdateGeoPositionFromFile().
Here is the call graph for this function:
|
virtual |
Destructor for SatMobilityModel.
Definition at line 101 of file satellite-traced-mobility-model.cc.
|
virtual |
Dispose of this class instance.
Definition at line 73 of file satellite-traced-mobility-model.cc.
References m_antennaGainPatterns.
|
privatevirtual |
Implements ns3::SatMobilityModel.
Definition at line 107 of file satellite-traced-mobility-model.cc.
References m_geoPosition.
|
privatevirtual |
Definition at line 131 of file satellite-traced-mobility-model.cc.
References m_velocity.
|
privatevirtual |
| position | the position to set. |
Implements ns3::SatMobilityModel.
Definition at line 115 of file satellite-traced-mobility-model.cc.
References m_geoPosition, m_updateInterval, m_velocity, ns3::SatMobilityModel::NotifyGeoCourseChange(), and ns3::GeoCoordinate::ToVector().
Referenced by UpdateGeoPositionFromFile().
Here is the call graph for this function:
Here is the caller graph for this function:| uint32_t ns3::SatTracedMobilityModel::GetBestBeamId | ( | bool | ignoreNan = false | ) | const |
Return the best beam ID based on the current position.
| ignoreNan | Do not crash if a NaN value is returned |
Definition at line 164 of file satellite-traced-mobility-model.cc.
References m_antennaGainPatterns, m_geoPosition, and m_satId.
| TypeId ns3::SatTracedMobilityModel::GetInstanceTypeId | ( | void | ) | const |
Definition at line 67 of file satellite-traced-mobility-model.cc.
References GetTypeId().
Here is the call graph for this function:| uint32_t ns3::SatTracedMobilityModel::GetSatId | ( | void | ) | const |
Return the satellite ID linked to this node.
Definition at line 158 of file satellite-traced-mobility-model.cc.
References m_satId.
|
static |
Get the type ID.
Definition at line 40 of file satellite-traced-mobility-model.cc.
References ns3::GeoCoordinate::GRS80, m_refEllipsoid, m_updateInterval, ns3::GeoCoordinate::SPHERE, and ns3::GeoCoordinate::WGS84.
Referenced by GetInstanceTypeId().
Here is the caller graph for this function:| void ns3::SatTracedMobilityModel::SetSatId | ( | uint32_t | satId | ) |
Set the satellite ID linked to this node.
Definition at line 152 of file satellite-traced-mobility-model.cc.
References m_satId.
|
private |
Definition at line 139 of file satellite-traced-mobility-model.cc.
References DoSetGeoPosition(), m_refEllipsoid, m_traceFilename, and m_updateInterval.
Referenced by SatTracedMobilityModel().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 114 of file satellite-traced-mobility-model.h.
Referenced by DoDispose(), and GetBestBeamId().
|
private |
Definition at line 112 of file satellite-traced-mobility-model.h.
Referenced by DoGetGeoPosition(), DoSetGeoPosition(), and GetBestBeamId().
|
private |
Definition at line 111 of file satellite-traced-mobility-model.h.
Referenced by GetTypeId(), and UpdateGeoPositionFromFile().
|
private |
Definition at line 108 of file satellite-traced-mobility-model.h.
Referenced by GetBestBeamId(), GetSatId(), and SetSatId().
|
private |
Definition at line 109 of file satellite-traced-mobility-model.h.
Referenced by UpdateGeoPositionFromFile().
|
private |
Definition at line 110 of file satellite-traced-mobility-model.h.
Referenced by DoSetGeoPosition(), GetTypeId(), and UpdateGeoPositionFromFile().
|
private |
Definition at line 113 of file satellite-traced-mobility-model.h.
Referenced by DoGetVelocity(), and DoSetGeoPosition().