Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
gnsstk::GLOCNavHeader Class Reference

Detailed Description

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...
 

Constructor & Destructor Documentation

◆ GLOCNavHeader()

gnsstk::GLOCNavHeader::GLOCNavHeader ( )

Sets data members to 0.

Definition at line 48 of file GLOCNavHeader.cpp.

Member Function Documentation

◆ dumpFlags()

void gnsstk::GLOCNavHeader::dumpFlags ( std::ostream &  s) const

Dump String header flags.

Parameters
[in,out]sThe stream to write the data to.

Definition at line 92 of file GLOCNavHeader.cpp.

◆ dumpOverHeader()

void gnsstk::GLOCNavHeader::dumpOverHeader ( std::ostream &  s)
static

Write a couple of lines of Detail-style dump header for this type of object, corresponding to the dumpStrOverhead output.

Parameters
[in,out]sThe stream to write the header to.

Definition at line 72 of file GLOCNavHeader.cpp.

◆ dumpStrOverhead()

void gnsstk::GLOCNavHeader::dumpStrOverhead ( const std::string &  label,
std::ostream &  s 
) const

Dump String header overhead information (time stamps).

Parameters
[in]labelThe label to use for the time stamp (<=10 chars).
[in,out]sThe stream to write the data to.

Definition at line 81 of file GLOCNavHeader.cpp.

◆ validate()

bool gnsstk::GLOCNavHeader::validate ( ) const

Checks the contents of this message against known validity rules as defined in the appropriate ICD.

Returns
true if this message is valid according to ICD criteria.

Definition at line 64 of file GLOCNavHeader.cpp.

Member Data Documentation

◆ A

bool gnsstk::GLOCNavHeader::A

true=time correction planned (see ICD 4.2.2.10).

Definition at line 93 of file GLOCNavHeader.hpp.

◆ dataInvalid

bool gnsstk::GLOCNavHeader::dataInvalid

Data validity flag (lj, false=valid).

Definition at line 88 of file GLOCNavHeader.hpp.

◆ health

SVHealth gnsstk::GLOCNavHeader::health

SV health status.

Definition at line 89 of file GLOCNavHeader.hpp.

◆ KP

unsigned gnsstk::GLOCNavHeader::KP

Leap second indicator (see ICD 4.2.2.9).

Definition at line 92 of file GLOCNavHeader.hpp.

◆ P1

uint8_t gnsstk::GLOCNavHeader::P1

SV call to ground control.

Definition at line 90 of file GLOCNavHeader.hpp.

◆ P2

bool gnsstk::GLOCNavHeader::P2

false=sun pointing (see ICD 4.2.2.8).

Definition at line 91 of file GLOCNavHeader.hpp.

◆ preamble

uint32_t gnsstk::GLOCNavHeader::preamble

20 bit preamble for the message.

Definition at line 79 of file GLOCNavHeader.hpp.

◆ svid

uint8_t gnsstk::GLOCNavHeader::svid

Subject SV ID (j).

Note
the j field is defined in ICD section 4.2.2.4 as the transmit SV ID, but is then for almanac strings it's denoted jA indicating the subject SV. So in the context of the gnsstk implementation, it's effectively the subject SV ID.

Definition at line 86 of file GLOCNavHeader.hpp.

◆ svUnhealthy

bool gnsstk::GLOCNavHeader::svUnhealthy

Health flag (Hj, false=healthy).

Definition at line 87 of file GLOCNavHeader.hpp.

◆ TS

uint16_t gnsstk::GLOCNavHeader::TS

Time stamp (3 second counter for each string).

Definition at line 80 of file GLOCNavHeader.hpp.

◆ xmit

CommonTime gnsstk::GLOCNavHeader::xmit

Transmit time of the string.

Definition at line 78 of file GLOCNavHeader.hpp.


The documentation for this class was generated from the following files:


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:44