Factory class for loading SEM nav data.
Definition at line 54 of file SEMNavDataFactory.hpp.
#include <SEMNavDataFactory.hpp>

Static Public Member Functions | |
| static bool | convertToHealth (const SEMData &navIn, NavDataPtr &healthOut) |
| static bool | convertToOrbit (const SEMData &navIn, NavDataPtr &navOut) |
| static void | fillNavData (const SEMData &navIn, NavDataPtr &navOut) |
Additional Inherited Members | |
Public Types inherited from gnsstk::NavDataFactoryWithStore | |
| 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 |
Public Attributes inherited from gnsstk::NavDataFactory | |
| NavSignalSet | supportedSignals |
Protected Member Functions inherited from gnsstk::NavDataFactoryWithStore | |
| 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) |
Protected Attributes inherited from gnsstk::NavDataFactoryWithStore | |
| 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 |
Protected Attributes inherited from gnsstk::NavDataFactory | |
| FactoryControl | factControl |
| Configuration for the behavior of this factory. More... | |
| NavValidityType | navValidity |
| NavMessageTypeSet | procNavTypes |
| gnsstk::SEMNavDataFactory::SEMNavDataFactory | ( | ) |
Fill supportedSignals.
Definition at line 51 of file SEMNavDataFactory.cpp.
|
inlinevirtual |
Clean up.
Definition at line 64 of file SEMNavDataFactory.hpp.
|
static |
Convert SEM nav data to a system/code-appropriate NavHealthData object.
| [in] | navIn | The SEM nav message data to convert. |
| [out] | healthOut | The NavHealthData object to be added to the factory data map. |
Definition at line 243 of file SEMNavDataFactory.cpp.
|
static |
Convert SEM nav data to a system/code-appropriate OrbitData object.
| [in] | navIn | The SEM nav message data to convert. |
| [out] | navOut | The OrbitData object to be added to the factory data map. |
Definition at line 192 of file SEMNavDataFactory.cpp.
|
static |
Fill the high level (NavData and above) data for an object using information from a SEM nav record.
| [in] | navIn | The SEM 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 260 of file SEMNavDataFactory.cpp.
|
overridevirtual |
Return a comma-separated list of formats supported by this factory.
Implements gnsstk::NavDataFactory.
Definition at line 179 of file SEMNavDataFactory.cpp.
|
overridevirtual |
Load SEM 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 SEMNavDataFactory.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 SEMNavDataFactory.cpp.