This class encapsulates data for satellite clocks as found in RINEX Clock format files, and is used in conjuction with class Rinex3ClockStream, which handles the I/O, and Rinex3ClockHeader, which holds information from the Rinex3Clock file header.
Definition at line 86 of file Rinex3ClockData.hpp.
#include <Rinex3ClockData.hpp>
Public Member Functions | |
virtual void | dump (std::ostream &s=std::cout) const noexcept |
Debug output function. More... | |
virtual bool | isData () const |
Rinex3ClockData is "data" so this function always returns true. More... | |
Rinex3ClockData () | |
Constructor. More... | |
virtual | ~Rinex3ClockData () |
Destructor. More... | |
![]() | |
virtual | ~Rinex3ClockBase () |
Destructor per the coding standards. More... | |
![]() | |
void | getRecord (FFStream &s) |
virtual bool | isHeader () const |
void | putRecord (FFStream &s) const |
virtual | ~FFData (void) |
virtual desctuctor More... | |
Public Attributes | |
R3CDouble | accel |
Clock acceleration in 1/sec. More... | |
R3CDouble | bias |
Clock bias in seconds. More... | |
std::string | datatype |
Data type : AR, AS, etc. More... | |
R3CDouble | drift |
Clock drift in sec/sec. More... | |
RinexSatID | sat |
Satellite ID (if AS) More... | |
R3CDouble | sig_accel |
Clock acceleration sigma in 1/sec. More... | |
R3CDouble | sig_bias |
Clock bias sigma in seconds. More... | |
R3CDouble | sig_drift |
Clock drift sigma in sec/sec. More... | |
std::string | site |
Site label (4-char) (if AR) More... | |
CommonTime | time |
Time of epoch for this record. More... | |
Protected Member Functions | |
void | clear () noexcept |
virtual void | reallyGetRecord (FFStream &s) |
virtual void | reallyPutRecord (FFStream &s) const |
gnsstk::Rinex3ClockData::Rinex3ClockData | ( | ) |
Constructor.
Definition at line 55 of file Rinex3ClockData.cpp.
|
inlinevirtual |
Destructor.
Definition at line 93 of file Rinex3ClockData.hpp.
|
inlineprotectednoexcept |
Definition at line 115 of file Rinex3ClockData.hpp.
|
virtualnoexcept |
Debug output function.
Reimplemented from gnsstk::FFData.
Definition at line 190 of file Rinex3ClockData.cpp.
|
inlinevirtual |
Rinex3ClockData is "data" so this function always returns true.
Reimplemented from gnsstk::FFData.
Definition at line 97 of file Rinex3ClockData.hpp.
|
protectedvirtual |
This function reads a record from the given FFStream. If an error is encountered in retrieving the record, the stream is reset to its original position and its fail-bit is set.
std::exception | |
StringException | when a StringUtils function fails |
FFStreamError | when exceptions(failbit) is set and a read or formatting error occurs. This also resets the stream to its pre-read position. |
Implements gnsstk::FFData.
Definition at line 123 of file Rinex3ClockData.cpp.
|
protectedvirtual |
Writes the formatted record to the FFStream s.
std::exception | |
FFStreamError | |
StringUtils::StringException |
Implements gnsstk::FFData.
Definition at line 62 of file Rinex3ClockData.cpp.
R3CDouble gnsstk::Rinex3ClockData::accel |
Clock acceleration in 1/sec.
Definition at line 110 of file Rinex3ClockData.hpp.
R3CDouble gnsstk::Rinex3ClockData::bias |
Clock bias in seconds.
Definition at line 106 of file Rinex3ClockData.hpp.
std::string gnsstk::Rinex3ClockData::datatype |
Data type : AR, AS, etc.
Definition at line 102 of file Rinex3ClockData.hpp.
R3CDouble gnsstk::Rinex3ClockData::drift |
Clock drift in sec/sec.
Definition at line 108 of file Rinex3ClockData.hpp.
RinexSatID gnsstk::Rinex3ClockData::sat |
Satellite ID (if AS)
Definition at line 103 of file Rinex3ClockData.hpp.
R3CDouble gnsstk::Rinex3ClockData::sig_accel |
Clock acceleration sigma in 1/sec.
Definition at line 111 of file Rinex3ClockData.hpp.
R3CDouble gnsstk::Rinex3ClockData::sig_bias |
Clock bias sigma in seconds.
Definition at line 107 of file Rinex3ClockData.hpp.
R3CDouble gnsstk::Rinex3ClockData::sig_drift |
Clock drift sigma in sec/sec.
Definition at line 109 of file Rinex3ClockData.hpp.
std::string gnsstk::Rinex3ClockData::site |
Site label (4-char) (if AR)
Definition at line 104 of file Rinex3ClockData.hpp.
CommonTime gnsstk::Rinex3ClockData::time |
Time of epoch for this record.
Definition at line 105 of file Rinex3ClockData.hpp.