Defines the class used to store time system offset information as stored in RINEX nav headers.
Definition at line 52 of file RinexTimeOffset.hpp.
#include <RinexTimeOffset.hpp>
Public Member Functions | |
NavDataPtr | clone () const override |
Create a deep copy of this object. More... | |
void | dump (std::ostream &s, DumpDetail dl) const override |
TimeCvtSet | getConversions () const override |
bool | getOffset (TimeSystem fromSys, TimeSystem toSys, const CommonTime &when, double &offset) const override |
CommonTime | getUserTime () const override |
RinexTimeOffset () | |
Initialize all data to 0. More... | |
RinexTimeOffset (const TimeSystemCorrection &right, double leapSec) | |
bool | validate () const override |
virtual | ~RinexTimeOffset () |
Obligatory virtual destructor. More... | |
![]() | |
std::list< std::string > | compare (const NavDataPtr &right) const override |
CommonTime | getNearTime () const override |
bool | isSameData (const NavDataPtr &right) const override |
TimeOffsetData () | |
Set the messageType. More... | |
virtual | ~TimeOffsetData () |
Obligatory virtual destructor. More... | |
![]() | |
virtual std::string | getClassName () const |
std::string | getDumpTime (DumpDetail dl, const CommonTime &t) const |
std::string | getDumpTimeHdr (DumpDetail dl) const |
std::string | getSignalString () const |
bool | getSVN (const SatID &sat, const gnsstk::CommonTime &when, std::string &svn) const |
NavData () | |
Initialize internal data fields. More... | |
![]() | |
std::string | asString () const |
Return readable string version of CorrType. More... | |
std::string | asString4 () const |
Return 4-char string version of CorrType. More... | |
double | Correction (const CommonTime &ct) const |
void | dump (std::ostream &s) const |
dump More... | |
void | fixTimeSystem () |
void | fromString (const std::string &str) |
void | init () |
bool | isConverterFor (const TimeSystem &ts1, const TimeSystem &ts2) const |
bool | operator< (const TimeSystemCorrection &tc) const |
bool | operator== (const TimeSystemCorrection &tc) const |
TimeSystemCorrection () | |
Empty constructor. More... | |
TimeSystemCorrection (std::string str) | |
Constructor from string. More... | |
Public Attributes | |
double | deltatLS |
Current or past leap second count (UTC only) More... | |
![]() | |
NavMessageID | signal |
Source signal identification for this navigation message data. More... | |
CommonTime | timeStamp |
std::string | weekFmt |
![]() | |
double | A0 |
double | A1 |
TimeSystem | frTS |
std::string | geoProvider |
string 'EGNOS' 'WAAS' or 'MSAS' More... | |
int | geoUTCid |
CommonTime | refTime |
reference time for polynominal More... | |
TimeSystem | toTS |
CorrType | type |
Additional Inherited Members | |
![]() | |
enum | CorrType { Unknown =0, GPUT, GAUT, SBUT, GLUT, GPGA, GAGP, GLGP, QZGP, QZUT, BDUT, BDGP, IRUT, IRGP } |
Supported time system correction types, cf. RINEX version 3 spec. More... | |
![]() | |
static gnsstk::SatMetaDataStore * | getSatMetaDataStore () |
Accessor for python. More... | |
static void | setSatMetaDataStore (gnsstk::SatMetaDataStore *smds) |
Accessor for python. More... | |
![]() | |
static bool | convertTimeSystemToCorrType (TimeSystem src, TimeSystem tgt, TimeSystemCorrection::CorrType &ct) |
![]() | |
static const GNSSTK_EXPORT std::string | dumpTimeFmt |
Time format used for the dump method (Full). More... | |
static const GNSSTK_EXPORT std::string | dumpTimeFmtBrief |
Time format used for the dump method (Brief). More... | |
static GNSSTK_EXPORT gnsstk::SatMetaDataStore * | satMetaDataStore = nullptr |
Set this to a valid store to get PRN->SVN translations in dump(). More... | |
![]() | |
double | msgLenSec |
gnsstk::RinexTimeOffset::RinexTimeOffset | ( | ) |
Initialize all data to 0.
Definition at line 48 of file RinexTimeOffset.cpp.
gnsstk::RinexTimeOffset::RinexTimeOffset | ( | const TimeSystemCorrection & | right, |
double | leapSec | ||
) |
Construct from a pre-existing TimeSystemCorrection object and leap seconds.
[in] | right | The TimeSystemCorrection obtained from a RINEX NAV header. |
[in] | leapSec | The number of leap seconds from the same RINEX NAV header. |
Definition at line 55 of file RinexTimeOffset.cpp.
|
inlinevirtual |
Obligatory virtual destructor.
Definition at line 70 of file RinexTimeOffset.hpp.
|
inlineoverridevirtual |
Create a deep copy of this object.
Implements gnsstk::NavData.
Definition at line 58 of file RinexTimeOffset.hpp.
|
overridevirtual |
Print the contents of this object in a human-readable format.
[in,out] | s | The stream to write the data to. |
[in] | dl | The level of detail the output should contain. |
Reimplemented from gnsstk::NavData.
Definition at line 78 of file RinexTimeOffset.cpp.
|
overridevirtual |
The set of time system conversions this class is capable of making.
Implements gnsstk::TimeOffsetData.
Definition at line 152 of file RinexTimeOffset.cpp.
|
overridevirtual |
Get the offset, in seconds, to apply to times when converting them from fromSys to toSys.
[in] | fromSys | The time system to convert from. |
[in] | toSys | The time system to convert to. |
[in] | when | The time being converted, in the GPS time system. |
[out] | offset | The offset in seconds where when(toSys)=when(fromSys)-offset. |
Implements gnsstk::TimeOffsetData.
Definition at line 131 of file RinexTimeOffset.cpp.
|
overridevirtual |
Returns the time when the time offset data would have first been available to the user equipment, i.e. the time at which the final bit of a given broadcast navigation message is received. This is used by NavDataFactoryWithStore::find() in User mode.
Reimplemented from gnsstk::NavData.
Definition at line 70 of file RinexTimeOffset.cpp.
|
overridevirtual |
Checks the contents of the data against known validity rules.
Implements gnsstk::NavData.
Definition at line 62 of file RinexTimeOffset.cpp.
double gnsstk::RinexTimeOffset::deltatLS |
Current or past leap second count (UTC only)
Definition at line 113 of file RinexTimeOffset.hpp.