Go to the documentation of this file.
39 #ifndef GNSSTK_NAVDATAFACTORYWITHSTORE_HPP
40 #define GNSSTK_NAVDATAFACTORYWITHSTORE_HPP
69 typedef std::map<NavSatelliteID, NavDataPtr>
OffsetMap;
144 void clear()
override;
274 virtual size_t size()
const;
481 bool operator()(
const std::shared_ptr<StdNavTimeOffset>& left,
482 const std::shared_ptr<StdNavTimeOffset>& right)
const;
486 using TOUSet = std::set<std::shared_ptr<StdNavTimeOffset>,
501 #endif // GNSSTK_NAVDATAFACTORYWITHSTORE_HPP
std::shared_ptr< NavData > NavDataPtr
Factories instantiate these in response to find() requests.
bool addNavData(const NavDataPtr &nd)
virtual bool findNearest(const NavMessageID &nmid, const CommonTime &when, NavDataPtr &navData, SVHealth xmitHealth, NavValidityType valid)
Class used to identify/categorize navigation message data.
std::map< NavSatelliteID, NavDataPtr > OffsetMap
void dump(std::ostream &s, DumpDetail dl) const override
std::map< TimeCvtKey, OffsetEpochMap > OffsetCvtMap
Map from the time system conversion pair to the conversion objects.
std::map< NavMessageType, NavSatMap > NavMessageMap
Map nav message type to the rest of the storage.
std::map< CommonTime, OffsetMap > OffsetEpochMap
virtual size_t numSignals() const
Return the number of distinct signals (ignoring PRN) in the data.
virtual bool findUser(const NavMessageID &nmid, const CommonTime &when, NavDataPtr &navData, SVHealth xmitHealth, NavValidityType valid)
TOUSatMap touBySV
Each satellite's uniquely transmitted time offset.
SatelliteSystem
Supported satellite systems.
std::set< NavSatelliteID > NavSatelliteIDSet
const NavMessageMap & getNavMessageMap() const
Get read-only access to the nav data map (User priority).
bool updateInitialFinal(const CommonTime &begin, const CommonTime &end)
SVHealth
Identify different types of SV health states.
NavSearchOrder
Specify the behavior of nav data searches in NavLibrary/NavDataFactory.
NavMessageIDSet getAvailableMsgs(const CommonTime &fromTime, const CommonTime &toTime) const override
virtual size_t count(const NavMessageID &nmid) const
std::set< std::shared_ptr< StdNavTimeOffset >, UniqueTimeOffset > TOUSet
Collect unique StdNavTimeOffset data.
NavDataFactoryWithStore()
Initialize internal data.
@ Any
Use in searches when you don't care about the SV health.
CommonTime initialTime
Store the earliest applicable orbit time here, by addNavData.
CommonTime getFirstTime(const SatID &sat) const
std::map< SatID, std::pair< CommonTime, CommonTime > > firstLastMap
Map subject satellite ID to time stamp pair (oldest,newest).
@ Unknown
Message type is not known or is uninitialized.
virtual size_t size() const
Return the number of nav messages in data.
CommonTime getLastTime(const SatID &sat) const
@ ValidOnly
Only load/find nav messages that pass validity checks.
NavSatelliteIDSet getAvailableSats(const CommonTime &fromTime, const CommonTime &toTime) const override
void edit(const CommonTime &fromTime, const CommonTime &toTime) override
std::map< SatID, TOUSet > TOUSatMap
Map transmitting satellite to unique time offsets.
const OffsetCvtMap & getTimeOffsetMap() const
Get read-only access to the time offset map.
TimeSystem
Definition of various time systems.
virtual size_t numSatellites() const
Return the number of distinct signals including PRN, in the data.
TOUSigMap touBySig
Each signal's uniquely transmitted time offset.
const NavNearMessageMap & getNavNearMessageMap() const
Get read-only access to the nav data map (Nearest priority).
bool find(const NavMessageID &nmid, const CommonTime &when, NavDataPtr &navOut, SVHealth xmitHealth, NavValidityType valid, NavSearchOrder order) override
NavMessageMap data
Internal storage of navigation data for User searches.
Class used to identify navigation data signal types.
DumpDetail
Specify level of detail for dump output.
std::set< SatID > getIndexSet(const CommonTime &fromTime, const CommonTime &toTime) const
NavMessageType
Identify different types of navigation message data.
bool operator()(const std::shared_ptr< StdNavTimeOffset > &left, const std::shared_ptr< StdNavTimeOffset > &right) const
CommonTime getFinalTime() const override
virtual ~NavDataFactoryWithStore()
Clean up.
bool matchHealth(NavData *ndp, SVHealth xmitHealth)
void clear() override
Remove all data from the internal store.
std::map< CommonTime, NavDataPtr > NavMap
Map nav message transmit time to nav message.
NavNearMessageMap nearestData
Internal storage of navigation data for Nearest searches.
std::map< NavMessageType, NavNearSatMap > NavNearMessageMap
Map nav message type to the rest of the storage.
CommonTime getInitialTime() const override
std::set< NavMessageID > NavMessageIDSet
const NavMap * getNavMap(const NavMessageID &nmid) const
bool validityCheck(const NavMap::iterator &ti, NavMap &nm, NavValidityType valid, SVHealth xmitHealth, const CommonTime &when)
std::map< NavSignalID, TOUSet > TOUSigMap
Map signal to unique time offsets.
CommonTime finalTime
Store the latest applicable orbit time here, by addNavData.
bool getOffset(TimeSystem fromSys, TimeSystem toSys, const CommonTime &when, NavDataPtr &offset, SVHealth xmitHealth=SVHealth::Any, NavValidityType valid=NavValidityType::ValidOnly) override
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:40