Define an interface for loading nav data from a file.
Definition at line 51 of file NavDataFactoryWithStoreFile.hpp.
#include <NavDataFactoryWithStoreFile.hpp>
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 |
|
inline |
Definition at line 54 of file NavDataFactoryWithStoreFile.hpp.
|
inlinevirtual |
Clean up.
Definition at line 58 of file NavDataFactoryWithStoreFile.hpp.
|
inlineoverridevirtual |
Load a file into the default map, NavDataFactoryWithStore::data.
[in] | source | The path to the file to load. |
Implements gnsstk::NavDataFactory.
Reimplemented in gnsstk::SP3NavDataFactory.
Definition at line 64 of file NavDataFactoryWithStoreFile.hpp.
|
pure virtual |
Abstract method that should be overridden by specific file-reading factory classes in order to load the data into the 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. |
Implemented in gnsstk::SP3NavDataFactory, gnsstk::MultiFormatNavDataFactory, gnsstk::RinexNavDataFactory, gnsstk::SEMNavDataFactory, and gnsstk::YumaNavDataFactory.
|
pure virtual |
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. |
Implemented in gnsstk::MultiFormatNavDataFactory, gnsstk::SP3NavDataFactory, gnsstk::RinexNavDataFactory, gnsstk::SEMNavDataFactory, and gnsstk::YumaNavDataFactory.