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

Detailed Description

Wrapper for the health status data scattered throughout the GLONASS Civil C NAV data.

Definition at line 52 of file GLOCNavHealth.hpp.

#include <GLOCNavHealth.hpp>

Inheritance diagram for gnsstk::GLOCNavHealth:
Inheritance graph
[legend]

Public Member Functions

NavDataPtr clone () const override
 Create a deep copy of this object. More...
 
void dump (std::ostream &s, DumpDetail dl) const override
 
SVHealth getHealth () const override
 
 GLOCNavHealth ()
 Initialize to unhealthy using a value typically not seen in health. More...
 
bool validate () const override
 
- Public Member Functions inherited from gnsstk::NavHealthData
std::list< std::string > compare (const NavDataPtr &right) const override
 
CommonTime getNearTime () const override
 
bool isSameData (const NavDataPtr &right) const override
 
 NavHealthData ()
 Set our message type to health so we don't have to in every leaf. More...
 
- Public Member Functions inherited from gnsstk::NavData
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

bool Hj
 The H^j health bit (SV health). More...
 
bool lj
 The l^j health bit (validity indicator). More...
 
- Public Attributes inherited from gnsstk::NavData
NavMessageID signal
 Source signal identification for this navigation message data. More...
 
CommonTime timeStamp
 
std::string weekFmt
 

Additional Inherited Members

- Static Public Member Functions inherited from gnsstk::NavData
static gnsstk::SatMetaDataStoregetSatMetaDataStore ()
 Accessor for python. More...
 
static void setSatMetaDataStore (gnsstk::SatMetaDataStore *smds)
 Accessor for python. More...
 
- Static Public Attributes inherited from gnsstk::NavData
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::SatMetaDataStoresatMetaDataStore = nullptr
 Set this to a valid store to get PRN->SVN translations in dump(). More...
 
- Protected Attributes inherited from gnsstk::NavData
double msgLenSec
 

Constructor & Destructor Documentation

◆ GLOCNavHealth()

gnsstk::GLOCNavHealth::GLOCNavHealth ( )

Initialize to unhealthy using a value typically not seen in health.

Definition at line 46 of file GLOCNavHealth.cpp.

Member Function Documentation

◆ clone()

NavDataPtr gnsstk::GLOCNavHealth::clone ( ) const
inlineoverridevirtual

Create a deep copy of this object.

Implements gnsstk::NavData.

Definition at line 58 of file GLOCNavHealth.hpp.

◆ dump()

void gnsstk::GLOCNavHealth::dump ( std::ostream &  s,
DumpDetail  dl 
) const
overridevirtual

Print the contents of this object in a human-readable format.

Parameters
[in,out]sThe stream to write the data to.
[in]dlThe level of detail the output should contain.

Reimplemented from gnsstk::NavData.

Definition at line 66 of file GLOCNavHealth.cpp.

◆ getHealth()

SVHealth gnsstk::GLOCNavHealth::getHealth ( ) const
overridevirtual

Defines the status of NavData::signal, specifically sat (not xmitSat).

Returns
Healthy if no health bits are set.

Implements gnsstk::NavHealthData.

Definition at line 115 of file GLOCNavHealth.cpp.

◆ validate()

bool gnsstk::GLOCNavHealth::validate ( ) const
overridevirtual

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

Returns
true if any of the data are usable.

Implements gnsstk::NavData.

Definition at line 55 of file GLOCNavHealth.cpp.

Member Data Documentation

◆ Hj

bool gnsstk::GLOCNavHealth::Hj

The H^j health bit (SV health).

Definition at line 78 of file GLOCNavHealth.hpp.

◆ lj

bool gnsstk::GLOCNavHealth::lj

The l^j health bit (validity indicator).

Definition at line 79 of file GLOCNavHealth.hpp.


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


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