Factory class for loading Yuma nav data.
Definition at line 54 of file YumaNavDataFactory.hpp.
#include <YumaNavDataFactory.hpp>
Static Public Member Functions | |
static bool | convertToHealth (const YumaData &navIn, NavDataPtr &healthOut) |
static bool | convertToOrbit (const YumaData &navIn, NavDataPtr &navOut) |
static void | fillNavData (const YumaData &navIn, NavDataPtr &navOut) |
Additional Inherited Members | |
![]() | |
typedef std::map< TimeCvtKey, OffsetEpochMap > | OffsetCvtMap |
Map from the time system conversion pair to the conversion objects. More... | |
typedef std::map< CommonTime, OffsetMap > | OffsetEpochMap |
typedef std::map< NavSatelliteID, NavDataPtr > | OffsetMap |
![]() | |
NavSignalSet | supportedSignals |
![]() | |
virtual bool | findNearest (const NavMessageID &nmid, const CommonTime &when, NavDataPtr &navData, SVHealth xmitHealth, NavValidityType valid) |
virtual bool | findUser (const NavMessageID &nmid, const CommonTime &when, NavDataPtr &navData, SVHealth xmitHealth, NavValidityType valid) |
bool | matchHealth (NavData *ndp, SVHealth xmitHealth) |
bool | updateInitialFinal (const CommonTime &begin, const CommonTime &end) |
bool | validityCheck (const NavDataPtr &ndp, NavValidityType valid, SVHealth xmitHealth, const CommonTime &when) |
bool | validityCheck (const NavMap::iterator &ti, NavMap &nm, NavValidityType valid, SVHealth xmitHealth, const CommonTime &when) |
![]() | |
NavMessageMap | data |
Internal storage of navigation data for User searches. More... | |
CommonTime | finalTime |
Store the latest applicable orbit time here, by addNavData. More... | |
std::map< SatID, std::pair< CommonTime, CommonTime > > | firstLastMap |
Map subject satellite ID to time stamp pair (oldest,newest). More... | |
CommonTime | initialTime |
Store the earliest applicable orbit time here, by addNavData. More... | |
NavNearMessageMap | nearestData |
Internal storage of navigation data for Nearest searches. More... | |
OffsetCvtMap | offsetData |
![]() | |
FactoryControl | factControl |
Configuration for the behavior of this factory. More... | |
NavValidityType | navValidity |
NavMessageTypeSet | procNavTypes |
gnsstk::YumaNavDataFactory::YumaNavDataFactory | ( | ) |
Fill supportedSignals.
Definition at line 51 of file YumaNavDataFactory.cpp.
|
inlinevirtual |
Clean up.
Definition at line 64 of file YumaNavDataFactory.hpp.
|
static |
Convert Yuma nav data to a system/code-appropriate NavHealthData object.
[in] | navIn | The Yuma nav message data to convert. |
[out] | healthOut | The NavHealthData object to be added to the factory data map. |
Definition at line 244 of file YumaNavDataFactory.cpp.
|
static |
Convert Yuma nav data to a system/code-appropriate OrbitData object.
[in] | navIn | The Yuma nav message data to convert. |
[out] | navOut | The OrbitData object to be added to the factory data map. |
Definition at line 193 of file YumaNavDataFactory.cpp.
|
static |
Fill the high level (NavData and above) data for an object using information from a Yuma nav record.
[in] | navIn | The Yuma nav message data to convert. |
[in,out] | navOut | A NavDataPtr that has already been allocated for the appropriate leaf node class (e.g. GPSLNavEph, GPSLNavHealth, etc.) |
Definition at line 262 of file YumaNavDataFactory.cpp.
|
overridevirtual |
Return a comma-separated list of formats supported by this factory.
Implements gnsstk::NavDataFactory.
Definition at line 180 of file YumaNavDataFactory.cpp.
|
overridevirtual |
Load Yuma nav data into a map.
[in] | filename | The path of the file to load. |
[out] | navMap | The map to store the loaded data in. |
[out] | navNearMap | The map to store the loaded data in for use by "Nearest" (as opposed to "User") searches. |
[out] | ofsMap | The map to load TimeOffsetData into. |
Implements gnsstk::NavDataFactoryWithStoreFile.
Definition at line 61 of file YumaNavDataFactory.cpp.
|
overridevirtual |
Process the data in the specified file using a custom callback. Each message decoded by the factory class will be run through NavDataFactoryCallback::process(). It is expected that the user will derive a class from NavDataFactoryCallback, implement the details of the process method to suit their use case, and apply it here.
[in] | filename | The path of the file to process. |
[in] | cb | The call back to use to process the data in the file. |
Implements gnsstk::NavDataFactoryWithStoreFile.
Definition at line 70 of file YumaNavDataFactory.cpp.