Go to the documentation of this file.
59 return getXvt(sat, when, xvt, useAlm,
oid, xmitHealth,
valid, order);
72 if (!
find(nmid, when, ndp, xmitHealth,
valid, order))
98 if (!
find(nmid, when, ndp, xmitHealth,
valid, order))
101 if (!
find(nmida, when, ndp, xmitHealth,
valid, order))
119 if (!
find(nmid, when, ndp, xmitHealth,
valid, order))
134 if (
getOffset(fromSys, toSys, when, timeOffset, xmitHealth,
valid))
137 return top->
getOffset(fromSys, toSys, when, offset);
151 if (fi.second->getOffset(fromSys, toSys, when, offset, xmitHealth,
184 corrOut = iono->
getIonoCorr(when, rxgeo, svgeo, band);
234 for (
const auto& nmid : msgIDs)
236 if (
find(nmid, when, navOut, xmitHealth,
valid, order))
253 std::list<NavMessageID> rv;
401 std::set<NavDataFactory*> uniques;
405 if ((fi.first == nmid) && (uniques.count(fi.second.get()) == 0))
409 if (fi.second->find(nmid, when, navOut, xmitHealth,
valid, order))
418 uniques.insert(fi.second.get());
431 i.second->setValidityFilter(nvt);
442 i.second->setTypeFilter(nmts);
453 i.second->clearTypeFilter();
464 i.second->addTypeFilter(nmt);
475 for (
const auto& si : fact->supportedSignals)
477 factories.insert(NavDataFactoryMap::value_type(si,fact));
500 fi.second->edit(fromTime, toTime);
512 fi.second->edit(fromTime, toTime, satID);
524 fi.second->edit(fromTime, toTime, signal);
561 rv =
std::max(rv, fi.second->getFinalTime());
575 tmp = fi.second->getAvailableSats(fromTime, toTime);
576 for (
const auto& i : tmp)
595 tmp = fi.second->getAvailableSats(nmt, fromTime, toTime);
596 for (
const auto& i : tmp)
612 for (
const auto& fssi : fullSatSet)
628 for (
const auto& fssi : fullSatSet)
645 tmp = fi.second->getAvailableMsgs(fromTime, toTime);
646 for (
const auto& i : tmp)
663 if (fi.second->isPresent(nmid, fromTime, toTime))
@ Geodetic
geodetic latitude, longitude, and height above ellipsoid
void edit(const CommonTime &fromTime, const CommonTime &toTime)
std::shared_ptr< NavData > NavDataPtr
Factories instantiate these in response to find() requests.
NavType nav
Navigation message structure of this signal.
std::set< NavMessageType > NavMessageTypeSet
Set of message types, used by NavLibrary and NavDataFactory.
@ ISC
Inter-signal corrections.
virtual double getIonoCorr(const CommonTime &when, const Position &rxgeo, const Position &svgeo, CarrierBand band) const =0
@ Unknown
Uninitialized value.
NavMessageIDSet getAvailableMsgs(const CommonTime &fromTime, const CommonTime &toTime) const
Class used to identify/categorize navigation message data.
@ L5IQ
Modernized GPS L5 civil I+Q combined tracking.
@ YCodeless
Encrypted legacy GPS precise code, squaring codeless tracking.
@ L1CD
Modernized GPS L1C civil code tracking (data)
@ L5Q
Modernized GPS L5 civil quadrature.
void setValidityFilter(NavValidityType nvt)
@ L1CP
Modernized GPS L1C civil code tracking (pilot)
Position & transformTo(CoordinateSystem sys) noexcept
@ L2CL
Modernized GPS L2 civil L code.
void dump(std::ostream &s, DumpDetail dl) const
T max(const SparseMatrix< T > &SM)
Maximum element - return 0 if empty.
virtual bool getISC(const ObsID &oid, double &corrOut) const
SatelliteSystem
Supported satellite systems.
@ Y
Encrypted legacy GPS precise code.
std::set< NavSatelliteID > NavSatelliteIDSet
virtual bool getXvt(const CommonTime &when, Xvt &xvt, const ObsID &oid=ObsID())=0
@ Any
Used to match any carrier band.
std::set< SatID > getIndexSet(const CommonTime &fromTime, const CommonTime &toTime) const
bool getIonoCorr(SatelliteSystem sys, const CommonTime &when, const Position &rxgeo, const Position &svgeo, CarrierBand band, double &corrOut, NavType nt=NavType::Any)
bool getXvt(const NavSatelliteID &sat, const CommonTime &when, Xvt &xvt, bool useAlm, SVHealth xmitHealth=SVHealth::Any, NavValidityType valid=NavValidityType::ValidOnly, NavSearchOrder order=NavSearchOrder::User)
@ L5I
Modernized GPS L5 civil in-phase.
@ Health
SV health status information message.
static const GNSSTK_EXPORT CommonTime BEGINNING_OF_TIME
earliest representable CommonTime
SVHealth
Identify different types of SV health states.
NavSearchOrder
Specify the behavior of nav data searches in NavLibrary/NavDataFactory.
@ MDP
Modernized GPS military unique code.
bool getISC(const SatID &sat, const ObsID &oid, const CommonTime &when, double &corrOut, SVHealth xmitHealth=SVHealth::Any, NavValidityType valid=NavValidityType::ValidOnly, NavSearchOrder order=NavSearchOrder::User)
std::shared_ptr< NavDataFactory > NavDataFactoryPtr
Managed pointer to NavDataFactory.
@ NavMsg
Navigation Message data.
CommonTime getInitialTime() const
@ Any
Use in searches when you don't care about the SV health.
@ CA
Legacy GPS civil code.
static const GNSSTK_EXPORT CommonTime END_OF_TIME
latest representable CommonTime
Triple x
Sat position ECEF Cartesian (X,Y,Z) meters.
virtual bool getOffset(TimeSystem fromSys, TimeSystem toSys, const CommonTime &when, double &offset) const =0
bool getOffset(TimeSystem fromSys, TimeSystem toSys, const CommonTime &when, NavDataPtr &navOut, SVHealth xmitHealth=SVHealth::Any, NavValidityType valid=NavValidityType::ValidOnly)
@ Healthy
Satellite is in a healthy and useable state.
bool isWild() const
return true if any of the fields are set to match wildcards.
@ ValidOnly
Only load/find nav messages that pass validity checks.
@ Iono
Ionospheric correction data.
@ L2CML
Modernized GPS L2 civil M+L combined tracking.
T min(const SparseMatrix< T > &SM)
Maximum element - return 0 if empty.
@ Ztracking
Encrypted legacy GPS precise code, codeless Z tracking.
TimeSystem
Definition of various time systems.
@ L1
GPS L1, Galileo E1, SBAS L1, QZSS L1, BeiDou L1.
#define GNSSTK_RETHROW(exc)
@ P
Legacy GPS precise code.
SatelliteSystem system
System for this satellite.
void setTypeFilter(const NavMessageTypeSet &nmts)
Class used to identify navigation data signal types.
@ L2CM
Modernized GPS L2 civil M code.
DumpDetail
Specify level of detail for dump output.
virtual SVHealth getHealth() const =0
void addTypeFilter(NavMessageType nmt)
bool getHealth(const NavSatelliteID &sat, const CommonTime &when, SVHealth &healthOut, SVHealth xmitHealth=SVHealth::Any, NavValidityType valid=NavValidityType::ValidOnly, NavSearchOrder order=NavSearchOrder::User)
@ Semicodeless
Encrypted legacy GPS precise code, other codeless tracking.
NavMessageType
Identify different types of navigation message data.
static std::list< NavMessageID > getISCNMID(const SatID &sat, const ObsID &oid)
CommonTime getFinalTime() const
@ Ephemeris
Precision orbits for the transmitting SV.
virtual void dump(std::ostream &s, DumpDetail dl) const
void clear()
Remove all data from the library's factories.
void addFactory(NavDataFactoryPtr &fact)
@ Nearest
Return the message closest to the search time.
#define DEBUGTRACE_FUNCTION()
bool isPresent(const NavMessageID &nmid, const CommonTime &fromTime, const CommonTime &toTime)
@ L1CDP
Modernized GPS L1C civil code tracking (pilot + data)
@ User
Return the latest message before the search time.
std::string getFactoryFormats() const
Return a comma-separated list of formats supported by the factories.
NavType
Supported navigation types.
bool find(const NavMessageID &nmid, const CommonTime &when, NavDataPtr &navOut, SVHealth xmitHealth, NavValidityType valid, NavSearchOrder order)
@ Any
When making comparisons in ObsID, matches any enumeration.
std::set< NavMessageID > NavMessageIDSet
NavDataFactoryMap factories
@ Any
Used to match any tracking code.
virtual std::string getFactoryFormats() const =0
Return a comma-separated list of formats supported by this factory.
@ Almanac
Low-precision orbits for other than the transmitting SV.
NavSatelliteIDSet getAvailableSats(const CommonTime &fromTime, const CommonTime &toTime) const
@ L5
GPS L5, Galileo E5a, SBAS L5, QZSS L5, BeiDou B2a, NavIC L5.
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:40