Expose NavDataFactory protected members.
Fake factory used for testing addFactory.
Definition at line 112 of file MultiFormatNavDataFactory_T.cpp.
|
bool | addDataSource (const std::string &source) override |
|
bool | addDataSource (const std::string &source) override |
|
gnsstk::NavMessageMap & | getData () |
|
std::string | getFactoryFormats () const override |
| Return a comma-separated list of formats supported by this factory. More...
|
|
std::string | getFactoryFormats () const override |
| Return a comma-separated list of formats supported by this factory. More...
|
|
gnsstk::NavMessageTypeSet | getTypeFilter () const |
|
gnsstk::NavMessageTypeSet | getTypeFilter () const |
|
gnsstk::NavMessageTypeSet | getTypeFilter () const |
|
gnsstk::NavValidityType | getValidityFilter () const |
|
gnsstk::NavValidityType | getValidityFilter () const |
|
gnsstk::NavValidityType | getValidityFilter () const |
|
| TestFactory () |
|
| TestFactory () |
|
bool | addNavData (const NavDataPtr &nd) |
|
bool | addNavData (const NavDataPtr &nd, NavMessageMap &navMap, NavNearMessageMap &navNearMap, OffsetCvtMap &ofsMap) |
|
void | clear () override |
| Remove all data from the internal store. More...
|
|
virtual size_t | count (const NavMessageID &nmid) const |
|
virtual size_t | count (const SatID &satID, NavMessageType nmt=NavMessageType::Unknown) const |
|
virtual size_t | count (NavMessageType nmt) const |
|
virtual size_t | count (SatelliteSystem sys, NavMessageType nmt=NavMessageType::Unknown) const |
|
void | dump (std::ostream &s, DumpDetail dl) const override |
|
void | edit (const CommonTime &fromTime, const CommonTime &toTime) override |
|
void | edit (const CommonTime &fromTime, const CommonTime &toTime, const NavSatelliteID &satID) override |
|
void | edit (const CommonTime &fromTime, const CommonTime &toTime, const NavSignalID &signal) override |
|
bool | find (const NavMessageID &nmid, const CommonTime &when, NavDataPtr &navOut, SVHealth xmitHealth, NavValidityType valid, NavSearchOrder order) override |
|
NavMessageIDSet | getAvailableMsgs (const CommonTime &fromTime, const CommonTime &toTime) const override |
|
NavSatelliteIDSet | getAvailableSats (const CommonTime &fromTime, const CommonTime &toTime) const override |
|
NavSatelliteIDSet | getAvailableSats (NavMessageType nmt, const CommonTime &fromTime, const CommonTime &toTime) const override |
|
CommonTime | getFinalTime () const override |
|
CommonTime | getFirstTime (const SatID &sat) const |
|
std::set< SatID > | getIndexSet (const CommonTime &fromTime, const CommonTime &toTime) const |
|
std::set< SatID > | getIndexSet (NavMessageType nmt, const CommonTime &fromTime, const CommonTime &toTime) const |
|
CommonTime | getInitialTime () const override |
|
CommonTime | getLastTime (const SatID &sat) const |
|
const NavMap * | getNavMap (const NavMessageID &nmid) const |
|
const NavMessageMap & | getNavMessageMap () const |
| Get read-only access to the nav data map (User priority). More...
|
|
const NavNearMessageMap & | getNavNearMessageMap () const |
| Get read-only access to the nav data map (Nearest priority). More...
|
|
bool | getOffset (TimeSystem fromSys, TimeSystem toSys, const CommonTime &when, NavDataPtr &offset, SVHealth xmitHealth=SVHealth::Any, NavValidityType valid=NavValidityType::ValidOnly) override |
|
const OffsetCvtMap & | getTimeOffsetMap () const |
| Get read-only access to the time offset map. More...
|
|
| NavDataFactoryWithStore () |
| Initialize internal data. More...
|
|
virtual size_t | numSatellites () const |
| Return the number of distinct signals including PRN, in the data. More...
|
|
virtual size_t | numSignals () const |
| Return the number of distinct signals (ignoring PRN) in the data. More...
|
|
virtual size_t | size () const |
| Return the number of nav messages in data. More...
|
|
virtual | ~NavDataFactoryWithStore () |
| Clean up. More...
|
|
virtual void | addTypeFilter (NavMessageType nmt) |
|
virtual void | clearTypeFilter () |
|
virtual std::string | getClassName () const |
| Returns the fully-qualified class name. Used for debugging. More...
|
|
std::set< SatID > | getIndexSet (const CommonTime &fromTime, const CommonTime &toTime) const |
|
std::set< SatID > | getIndexSet (NavMessageType nmt, const CommonTime &fromTime, const CommonTime &toTime) const |
|
NavMessageTypeSet | getTypeFilter () const |
|
virtual bool | isPresent (const NavMessageID &nmid, const CommonTime &fromTime, const CommonTime &toTime) |
|
virtual bool | isTypePresent (NavMessageType nmt, const NavSatelliteID &satID, const CommonTime &fromTime, const CommonTime &toTime) |
|
| NavDataFactory () |
|
virtual void | setControl (const FactoryControl &ctrl) |
|
virtual void | setTypeFilter (const NavMessageTypeSet &nmts) |
|
virtual void | setValidityFilter (NavValidityType nvt) |
|
virtual | ~NavDataFactory () |
| Clean up. More...
|
|
|
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 |
|
bool TestFactory::addDataSource |
( |
const std::string & |
source | ) |
|
|
inlineoverridevirtual |
Add a data source for this factory. This could be a file name, an IP address and port, or something else entirely, depending on the factory implementation. This method is declared here so that NavDataFactoryPtr objects can be set up without having to do any casting of pointers.
- Parameters
-
[in] | source | A string describing the source of data for the factory. |
- Returns
- true If the factory was able to process the data in source.
Implements gnsstk::NavDataFactory.
Definition at line 79 of file NavTimeSystemConverter_T.cpp.
bool TestFactory::addDataSource |
( |
const std::string & |
source | ) |
|
|
inlineoverridevirtual |
Add a data source for this factory. This could be a file name, an IP address and port, or something else entirely, depending on the factory implementation. This method is declared here so that NavDataFactoryPtr objects can be set up without having to do any casting of pointers.
- Parameters
-
[in] | source | A string describing the source of data for the factory. |
- Returns
- true If the factory was able to process the data in source.
Implements gnsstk::NavDataFactory.
Definition at line 114 of file NavLibrary_T.cpp.