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

Detailed Description

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

Definition at line 52 of file GLOFNavHealth.hpp.

#include <GLOFNavHealth.hpp>

Inheritance diagram for gnsstk::GLOFNavHealth:
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
 
 GLOFNavHealth ()
 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

ValidType< bool > Cn
 The C_n health bit in strings 6,8,10,12,14. More...
 
ValidType< uint8_t > healthBits
 The 3-bit B_n value. More...
 
ValidType< bool > ln
 The l_n health bit in strings 3,5,7,9,11,13,15. 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

◆ GLOFNavHealth()

gnsstk::GLOFNavHealth::GLOFNavHealth ( )

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

Definition at line 46 of file GLOFNavHealth.cpp.

Member Function Documentation

◆ clone()

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

Create a deep copy of this object.

Implements gnsstk::NavData.

Definition at line 58 of file GLOFNavHealth.hpp.

◆ dump()

void gnsstk::GLOFNavHealth::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 61 of file GLOFNavHealth.cpp.

◆ getHealth()

SVHealth gnsstk::GLOFNavHealth::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 128 of file GLOFNavHealth.cpp.

◆ validate()

bool gnsstk::GLOFNavHealth::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 54 of file GLOFNavHealth.cpp.

Member Data Documentation

◆ Cn

ValidType<bool> gnsstk::GLOFNavHealth::Cn

The C_n health bit in strings 6,8,10,12,14.

Definition at line 82 of file GLOFNavHealth.hpp.

◆ healthBits

ValidType<uint8_t> gnsstk::GLOFNavHealth::healthBits

The 3-bit B_n value.

Definition at line 80 of file GLOFNavHealth.hpp.

◆ ln

ValidType<bool> gnsstk::GLOFNavHealth::ln

The l_n health bit in strings 3,5,7,9,11,13,15.

Definition at line 81 of file GLOFNavHealth.hpp.


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


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