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

Detailed Description

HealthGetter callback for using NavLibrary as the source for health.

Note
The extra options to NavLibrary::getHealth() are data fields in this class. These can be set by the user, but are intended to default to the same defaults that NavLibrary::getHealth() uses.
the healthMap object in the parent class is unused in this context.

Definition at line 78 of file NewNavToRinex.hpp.

#include <NewNavToRinex.hpp>

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

Public Member Functions

bool getHealth (const NavSatelliteID &nsid, const CommonTime &when, NavDataPtr &healthOut) override
 
 NavLibraryHealthGetter (NavLibrary &nl)
 

Public Attributes

NavLibrarynavLib
 NavLibrary to use for health look-up. More...
 
NavSearchOrder order
 Parameter to NavLibrary::getHealth() More...
 
NavValidityType valid
 Parameter to NavLibrary::getHealth() More...
 
SVHealth xmitHealth
 Parameter to NavLibrary::getHealth() More...
 
- Public Attributes inherited from gnsstk::HealthGetter
NavSatMap healthMap
 Contains the health data to look up. More...
 

Constructor & Destructor Documentation

◆ NavLibraryHealthGetter()

gnsstk::NavLibraryHealthGetter::NavLibraryHealthGetter ( NavLibrary nl)

Set NavLibrary::getHealth() parameters to defaults, and initialize navLib reference.

Parameters
[in]nlThe NavLibrary object to use to look up health.

Definition at line 688 of file NewNavToRinex.cpp.

Member Function Documentation

◆ getHealth()

bool gnsstk::NavLibraryHealthGetter::getHealth ( const NavSatelliteID nsid,
const CommonTime when,
NavDataPtr healthOut 
)
overridevirtual

Get the health status of a satellite at a specific time.

Parameters
[in]nsidSatellite to get the health status for.
[in]whenThe time that the health should be retrieved.
[out]healthOutThe health status at when.
Returns
true if successful, false if no nav data was found containing health status.

Reimplemented from gnsstk::HealthGetter.

Definition at line 696 of file NewNavToRinex.cpp.

Member Data Documentation

◆ navLib

NavLibrary& gnsstk::NavLibraryHealthGetter::navLib

NavLibrary to use for health look-up.

Definition at line 88 of file NewNavToRinex.hpp.

◆ order

NavSearchOrder gnsstk::NavLibraryHealthGetter::order

Parameter to NavLibrary::getHealth()

Definition at line 91 of file NewNavToRinex.hpp.

◆ valid

NavValidityType gnsstk::NavLibraryHealthGetter::valid

Parameter to NavLibrary::getHealth()

Definition at line 90 of file NewNavToRinex.hpp.

◆ xmitHealth

SVHealth gnsstk::NavLibraryHealthGetter::xmitHealth

Parameter to NavLibrary::getHealth()

Definition at line 89 of file NewNavToRinex.hpp.


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


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