Go to the documentation of this file.
48 : a0(0.0), a1(0.0), a2(0.0), deltatLS(0.0), tot(0.0), wnot(0),
49 wnLSF(0), dn(0), deltatLSF(0.0), dnSun(1),
60 if (((fromSys ==
src) && (toSys ==
tgt)) ||
61 ((fromSys ==
tgt) && (toSys ==
src)))
70 double dt = when - t0;
81 if ((when >= effBlank) && ((when - effBlank) <=
effEnd()))
99 const ios::fmtflags oldFlags = s.flags();
111 <<
" offset = " << offset << endl;
114 s <<
"****************************************************************"
115 <<
"************" << endl
116 <<
"Time System Offset"
120 <<
" TIMES OF INTEREST" << endl << endl
126 <<
"Parameter Value" << endl
131 << right << uppercase << fixed << setprecision(0) << setfill(
' ')
132 <<
"t-sub-ot " << setw(16) <<
tot <<
" sec" << endl
133 << scientific << setprecision(9)
134 <<
"A0 " << setw(16) <<
a0 <<
" sec" << endl
135 <<
"A1 " << setw(16) <<
a1 <<
" sec/sec" << endl
136 <<
"A2 " << setw(16) <<
a2 <<
" sec/sec**2" << endl
137 << fixed << setprecision(0)
138 <<
"dtLS " << setw(16) <<
deltatLS <<
" sec" << endl
139 <<
"dtLSF " << setw(16) <<
deltatLSF <<
" sec" << endl
140 <<
"WNot " << setw(11) <<
wnot <<
"("
141 << setw(3) << (
wnot & 0x0ff) <<
") Full week (modulo 256 week)" << endl
142 <<
"WN(LSF) " << setw(11) <<
wnLSF <<
"("
143 << setw(3) << (
wnLSF & 0x0ff) <<
") Full week (modulo 256 week)" << endl
146 <<
"DN " << setw(16) <<
dn <<
" day (" <<
dnSun <<
"-"
147 << (
dnSun+6) <<
")" << endl;
std::string getSignalString() const
double deltatLSF
Current or future leap second count (UTC only).
virtual double effEnd() const
virtual void dump(std::ostream &s, DumpDetail dl) const
void dump(std::ostream &s, DumpDetail dl) const override
TimeSystem src
Source time system.
std::pair< TimeSystem, TimeSystem > TimeCvtKey
std::string getDumpTime(DumpDetail dl, const CommonTime &t) const
TimeSystem tgt
Target time system.
std::string asString(IonexStoreStrategy e)
Convert a IonexStoreStrategy to a whitespace-free string name.
CommonTime & setTimeSystem(TimeSystem timeSystem)
double deltatLS
Current or past leap second count (UTC only).
std::string getDumpTimeHdr(DumpDetail dl) const
unsigned wnot
Time data reference week number (storage only).
unsigned dnSun
dn value for Sunday.
unsigned wnLSF
Leap second reference week number (UTC only).
@ Unknown
Unknown or uninitialized stategy value.
double a1
Drift coefficient of source time scale.
std::set< TimeCvtKey > TimeCvtSet
Define a unique set of time system conversions.
unsigned dn
Leap second reference day number (UTC only).
double a2
Drift rate coefficient of source time scale.
TimeCvtSet getConversions() const override
TimeSystem
Definition of various time systems.
bool getOffset(TimeSystem fromSys, TimeSystem toSys, const CommonTime &when, double &offset) const override
@ UTC
Coordinated Universal Time (e.g., from NTP)
#define GNSSTK_ASSERT(CONDITION)
Provide an "ASSERT" type macro.
TimeSystem getTimeSystem() const
Obtain time system info (enum).
DumpDetail
Specify level of detail for dump output.
std::string printTime(const CommonTime &t, const std::string &fmt)
@ Brief
Limit output to <= 5 lines of minimal information.
@ OneLine
Limit output to minimal information on a single line.
double a0
Bias coefficient of source time scale.
CommonTime effTime
Effectivity time (wnLSF,dn).
CommonTime refTime
Reference time for computation.
double tot
Time data reference time of week (storage only).
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:41