Wrapper for the 1-bit health status in GPS CNav2 subframe 2 or 3.
Definition at line 50 of file GPSCNav2Health.hpp.
#include <GPSCNav2Health.hpp>
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 |
GPSCNav2Health () | |
Initialize to unhealthy. More... | |
void | setEph (bool e) |
bool | validate () const override |
![]() | |
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... | |
![]() | |
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 | health |
1-bit health. More... | |
![]() | |
NavMessageID | signal |
Source signal identification for this navigation message data. More... | |
CommonTime | timeStamp |
std::string | weekFmt |
Additional Inherited Members | |
![]() | |
static gnsstk::SatMetaDataStore * | getSatMetaDataStore () |
Accessor for python. More... | |
static void | setSatMetaDataStore (gnsstk::SatMetaDataStore *smds) |
Accessor for python. More... | |
![]() | |
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::SatMetaDataStore * | satMetaDataStore = nullptr |
Set this to a valid store to get PRN->SVN translations in dump(). More... | |
![]() | |
double | msgLenSec |
gnsstk::GPSCNav2Health::GPSCNav2Health | ( | ) |
Initialize to unhealthy.
Definition at line 46 of file GPSCNav2Health.cpp.
|
inlineoverridevirtual |
Create a deep copy of this object.
Implements gnsstk::NavData.
Definition at line 56 of file GPSCNav2Health.hpp.
|
overridevirtual |
Print the contents of this object in a human-readable format.
[in,out] | s | The stream to write the data to. |
[in] | dl | The level of detail the output should contain. |
Reimplemented from gnsstk::NavData.
Definition at line 54 of file GPSCNav2Health.cpp.
|
inlineoverridevirtual |
Defines the status of NavData::signal, specifically sat (not xmitSat).
Implements gnsstk::NavHealthData.
Definition at line 75 of file GPSCNav2Health.hpp.
void gnsstk::GPSCNav2Health::setEph | ( | bool | e | ) |
Alter the message length depending on whether this health data as having originated from an ephemeris or almanac message.
[in] | e | If true, this health was derived from ephemeris data. |
Definition at line 97 of file GPSCNav2Health.cpp.
|
inlineoverridevirtual |
Checks the contents of this message against known validity rules as defined in the appropriate ICD.
Implements gnsstk::NavData.
Definition at line 63 of file GPSCNav2Health.hpp.
bool gnsstk::GPSCNav2Health::health |
1-bit health.
Definition at line 86 of file GPSCNav2Health.hpp.