0.4.1
Loading...
Searching...
No Matches
NAV::IonosphericCorrections Class Reference

Ionospheric Corrections. More...

Data Structures

struct  Corrections
 Ionospheric Corrections Data Storage. More...
 

Public Types

enum  AlphaBeta : uint8_t {
  Alpha ,
  Beta
}
 Alpha or beta values. More...
 

Public Member Functions

void clear ()
 Empties the data.
 
bool contains (SatelliteSystem satSys, AlphaBeta alphaBeta) const
 Checks whether the data is in the internal storage.
 
const std::vector< Corrections > & data () const
 Returns the internal data storage.
 
const std::array< double, 4 > * get (SatelliteSystem satSys, AlphaBeta alphaBeta) const
 Get the Ionospheric Correction values.
 
void insert (SatelliteSystem satSys, AlphaBeta alphaBeta, const std::array< double, 4 > &values)
 Inserts new data into the m_ionosphericCorrections variable.
 
 IonosphericCorrections ()=default
 Default constructor.
 
 IonosphericCorrections (const std::vector< const GnssNavInfo * > &gnssNavInfos)
 Constructor which collects the ionospheric parameters from the Navigation infos.
 
 IonosphericCorrections (std::vector< Corrections > corrections)
 Constructor from raw corrections.
 

Private Attributes

std::vector< Correctionsm_ionosphericCorrections
 Ionospheric correction values.
 

Detailed Description

Ionospheric Corrections.

Definition at line 30 of file IonosphericCorrections.hpp.

Member Enumeration Documentation

◆ AlphaBeta

Alpha or beta values.

Enumerator
Alpha 

Coefficients of a cubic equation representing the amplitude of the vertical delay.

Beta 

Coefficients of a cubic equation representing the period of the model.

Definition at line 34 of file IonosphericCorrections.hpp.

Constructor & Destructor Documentation

◆ IonosphericCorrections() [1/3]

NAV::IonosphericCorrections::IonosphericCorrections ( )
default

Default constructor.

◆ IonosphericCorrections() [2/3]

NAV::IonosphericCorrections::IonosphericCorrections ( const std::vector< const GnssNavInfo * > & gnssNavInfos)
explicit

Constructor which collects the ionospheric parameters from the Navigation infos.

Parameters
[in]gnssNavInfosList of GNSS navigation infos

Definition at line 20 of file IonosphericCorrections.cpp.

◆ IonosphericCorrections() [3/3]

NAV::IonosphericCorrections::IonosphericCorrections ( std::vector< Corrections > corrections)

Constructor from raw corrections.

Parameters
correctionsCorrections vector

Definition at line 34 of file IonosphericCorrections.cpp.

Member Function Documentation

◆ clear()

void NAV::IonosphericCorrections::clear ( )
inline

Empties the data.

Definition at line 112 of file IonosphericCorrections.hpp.

◆ contains()

bool NAV::IonosphericCorrections::contains ( SatelliteSystem satSys,
AlphaBeta alphaBeta ) const
inlinenodiscard

Checks whether the data is in the internal storage.

Parameters
[in]satSysSatellite System to search the value for
[in]alphaBetaAlpha or beta values (Galileo only alpha)

Definition at line 78 of file IonosphericCorrections.hpp.

◆ data()

const std::vector< Corrections > & NAV::IonosphericCorrections::data ( ) const
inlinenodiscard

Returns the internal data storage.

Definition at line 87 of file IonosphericCorrections.hpp.

◆ get()

const std::array< double, 4 > * NAV::IonosphericCorrections::get ( SatelliteSystem satSys,
AlphaBeta alphaBeta ) const
inlinenodiscard

Get the Ionospheric Correction values.

Parameters
[in]satSysSatellite System to search the value for
[in]alphaBetaAlpha or beta values (Galileo only alpha)
Returns
List with the correction values (3 for GAL, otherwise 4)

Definition at line 63 of file IonosphericCorrections.hpp.

◆ insert()

void NAV::IonosphericCorrections::insert ( SatelliteSystem satSys,
AlphaBeta alphaBeta,
const std::array< double, 4 > & values )
inline

Inserts new data into the m_ionosphericCorrections variable.

Parameters
[in]satSysSatellite System to search the value for
[in]alphaBetaAlpha or beta values (Galileo only alpha)
[in]valuesValues to add [s, s/semi-circle, s/semi-circle^2, s/semi-circle^3]

Definition at line 96 of file IonosphericCorrections.hpp.

Field Documentation

◆ m_ionosphericCorrections

std::vector<Corrections> NAV::IonosphericCorrections::m_ionosphericCorrections
private

Ionospheric correction values.

Definition at line 119 of file IonosphericCorrections.hpp.


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