Defines the class that provides the ability to convert GLONASS to/from UT1 (UTC Greenwich, to distinguish it from UTC(SU)), using data extracted from GLONASS navigation messages. The algorithm is sufficiently different from what's in StdNavTimeOffset (in that the time difference is between the ephemeris and almanac times rather than some reference time and the desired time) that it's implemented apart from StdNavTimeOffset.
Definition at line 59 of file GLOFNavUT1TimeOffset.hpp.
#include <GLOFNavUT1TimeOffset.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 |
void | dumpTerse (std::ostream &s) const |
TimeCvtSet | getConversions () const override |
bool | getOffset (TimeSystem fromSys, TimeSystem toSys, const CommonTime &when, double &offset) const override |
GLOFNavUT1TimeOffset () | |
Initialize all data to 0. More... | |
bool | validate () const override |
![]() | |
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 |
virtual CommonTime | getUserTime () const |
NavData () | |
Initialize internal data fields. More... | |
Public Attributes | |
double | B1 |
Time bias in seconds. More... | |
double | B2 |
Time drift in s/s. More... | |
unsigned | KP |
Leap second indicator. More... | |
unsigned | NA |
Almanac days since leap year. More... | |
unsigned | NT |
Ephemeris days since leap year. More... | |
double | tauc |
Non-integer correction between UTC(SU) and GLONASS. More... | |
![]() | |
NavMessageID | signal |
Source signal identification for this navigation message data. More... | |
CommonTime | timeStamp |
std::string | weekFmt |
Additional Inherited Members | |
![]() | |
static gnsstk::SatMetaDataStore * | getSatMetaDataStore () |
Accessor for python. More... | |
static void | setSatMetaDataStore (gnsstk::SatMetaDataStore *smds) |
Accessor for python. More... | |
![]() | |
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::GLOFNavUT1TimeOffset::GLOFNavUT1TimeOffset | ( | ) |
Initialize all data to 0.
Definition at line 47 of file GLOFNavUT1TimeOffset.cpp.
|
inlineoverridevirtual |
Create a deep copy of this object.
Implements gnsstk::NavData.
Definition at line 65 of file GLOFNavUT1TimeOffset.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 59 of file GLOFNavUT1TimeOffset.cpp.
void gnsstk::GLOFNavUT1TimeOffset::dumpTerse | ( | std::ostream & | s | ) | const |
Print the contents of this object in a terse format.
[in,out] | s | The stream to write the data to. |
Definition at line 129 of file GLOFNavUT1TimeOffset.cpp.
|
overridevirtual |
The set of time system conversions this class is capable of making.
Implements gnsstk::TimeOffsetData.
Definition at line 172 of file GLOFNavUT1TimeOffset.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 same time system as fromSys. |
[out] | offset | The offset in seconds where when(toSys)=when(fromSys)-offset. |
AssertionFailure | if when's time system is not fromSys. |
Implements gnsstk::TimeOffsetData.
Definition at line 149 of file GLOFNavUT1TimeOffset.cpp.
|
overridevirtual |
Checks the contents of this message against known validity rules as defined in the appropriate ICD.
Implements gnsstk::NavData.
Definition at line 181 of file GLOFNavUT1TimeOffset.cpp.
double gnsstk::GLOFNavUT1TimeOffset::B1 |
Time bias in seconds.
Definition at line 104 of file GLOFNavUT1TimeOffset.hpp.
double gnsstk::GLOFNavUT1TimeOffset::B2 |
Time drift in s/s.
Definition at line 105 of file GLOFNavUT1TimeOffset.hpp.
unsigned gnsstk::GLOFNavUT1TimeOffset::KP |
Leap second indicator.
Definition at line 106 of file GLOFNavUT1TimeOffset.hpp.
unsigned gnsstk::GLOFNavUT1TimeOffset::NA |
Almanac days since leap year.
Definition at line 108 of file GLOFNavUT1TimeOffset.hpp.
unsigned gnsstk::GLOFNavUT1TimeOffset::NT |
Ephemeris days since leap year.
Definition at line 107 of file GLOFNavUT1TimeOffset.hpp.
double gnsstk::GLOFNavUT1TimeOffset::tauc |
Non-integer correction between UTC(SU) and GLONASS.
Definition at line 103 of file GLOFNavUT1TimeOffset.hpp.