Class containing data elements shared between all GLONASS Civil C-Nav strings.
Definition at line 52 of file GLOCNavHeader.hpp.
#include <GLOCNavHeader.hpp>
Public Member Functions | |
void | dumpFlags (std::ostream &s) const |
void | dumpStrOverhead (const std::string &label, std::ostream &s) const |
GLOCNavHeader () | |
Sets data members to 0. More... | |
bool | validate () const |
Static Public Member Functions | |
static void | dumpOverHeader (std::ostream &s) |
Public Attributes | |
bool | A |
true=time correction planned (see ICD 4.2.2.10). More... | |
bool | dataInvalid |
Data validity flag (lj, false=valid). More... | |
SVHealth | health |
SV health status. More... | |
unsigned | KP |
Leap second indicator (see ICD 4.2.2.9). More... | |
uint8_t | P1 |
SV call to ground control. More... | |
bool | P2 |
false=sun pointing (see ICD 4.2.2.8). More... | |
uint32_t | preamble |
20 bit preamble for the message. More... | |
uint8_t | svid |
Subject SV ID (j). More... | |
bool | svUnhealthy |
Health flag (Hj, false=healthy). More... | |
uint16_t | TS |
Time stamp (3 second counter for each string). More... | |
CommonTime | xmit |
Transmit time of the string. More... | |
gnsstk::GLOCNavHeader::GLOCNavHeader | ( | ) |
Sets data members to 0.
Definition at line 48 of file GLOCNavHeader.cpp.
void gnsstk::GLOCNavHeader::dumpFlags | ( | std::ostream & | s | ) | const |
Dump String header flags.
[in,out] | s | The stream to write the data to. |
Definition at line 92 of file GLOCNavHeader.cpp.
|
static |
Write a couple of lines of Detail-style dump header for this type of object, corresponding to the dumpStrOverhead output.
[in,out] | s | The stream to write the header to. |
Definition at line 72 of file GLOCNavHeader.cpp.
void gnsstk::GLOCNavHeader::dumpStrOverhead | ( | const std::string & | label, |
std::ostream & | s | ||
) | const |
Dump String header overhead information (time stamps).
[in] | label | The label to use for the time stamp (<=10 chars). |
[in,out] | s | The stream to write the data to. |
Definition at line 81 of file GLOCNavHeader.cpp.
bool gnsstk::GLOCNavHeader::validate | ( | ) | const |
Checks the contents of this message against known validity rules as defined in the appropriate ICD.
Definition at line 64 of file GLOCNavHeader.cpp.
bool gnsstk::GLOCNavHeader::A |
true=time correction planned (see ICD 4.2.2.10).
Definition at line 93 of file GLOCNavHeader.hpp.
bool gnsstk::GLOCNavHeader::dataInvalid |
Data validity flag (lj, false=valid).
Definition at line 88 of file GLOCNavHeader.hpp.
SVHealth gnsstk::GLOCNavHeader::health |
SV health status.
Definition at line 89 of file GLOCNavHeader.hpp.
unsigned gnsstk::GLOCNavHeader::KP |
Leap second indicator (see ICD 4.2.2.9).
Definition at line 92 of file GLOCNavHeader.hpp.
uint8_t gnsstk::GLOCNavHeader::P1 |
SV call to ground control.
Definition at line 90 of file GLOCNavHeader.hpp.
bool gnsstk::GLOCNavHeader::P2 |
false=sun pointing (see ICD 4.2.2.8).
Definition at line 91 of file GLOCNavHeader.hpp.
uint32_t gnsstk::GLOCNavHeader::preamble |
20 bit preamble for the message.
Definition at line 79 of file GLOCNavHeader.hpp.
uint8_t gnsstk::GLOCNavHeader::svid |
Subject SV ID (j).
Definition at line 86 of file GLOCNavHeader.hpp.
bool gnsstk::GLOCNavHeader::svUnhealthy |
Health flag (Hj, false=healthy).
Definition at line 87 of file GLOCNavHeader.hpp.
uint16_t gnsstk::GLOCNavHeader::TS |
Time stamp (3 second counter for each string).
Definition at line 80 of file GLOCNavHeader.hpp.
CommonTime gnsstk::GLOCNavHeader::xmit |
Transmit time of the string.
Definition at line 78 of file GLOCNavHeader.hpp.