0.4.1
Loading...
Searching...
No Matches
NAV::Observations Struct Reference

Observation storage type. More...

Data Structures

struct  SignalObservation
 Receiver specific observation of the signal. More...
 

Public Member Functions

size_t countObservations (const SatSigId &satSigId, const GnssObs::ObservationType &obsType) const
 Counts how many observations for the specified signal ant type exist.
 
void recalcObservableCounts (const std::string &nameId)
 Calculates/Recalculates the number of observables.
 
bool removeMeasurementsFor (const Code &code, const GnssObs::ObservationType &obsType, const std::string &nameId)
 Remove all measurements for the provided code and observation type.
 
bool removeObsType (const GnssObs::ObservationType &obsType, const std::string &nameId)
 Remove all measurements for the provided observation type.
 
bool removeSatellite (const SatId &satId, const std::string &nameId)
 Remove all signals of the satellite.
 
bool removeSignal (const SatSigId &satSigId, const GnssObs::ObservationType &obsType, const std::string &nameId)
 Remove the signal from the observations.
 
bool removeSignal (const SatSigId &satSigId, const std::string &nameId)
 Remove the signal from the observations.
 

Data Fields

std::array< size_t, GnssObs::ObservationType_COUNTnObservables
 Number of observables.
 
std::array< size_t, GnssObs::ObservationType_COUNTnObservablesUniqueSatellite
 Number of observables (counted once for each satellite)
 
std::unordered_set< size_t > receivers
 Receivers included.
 
std::unordered_set< SatIdsatellites
 Satellites used.
 
unordered_map< SatSigId, SignalObservationsignals
 Observations and calculated data for each signal.
 
std::set< SatelliteSystemsystems
 Satellite systems used.
 

Detailed Description

Observation storage type.

Definition at line 40 of file Observation.hpp.

Member Function Documentation

◆ countObservations()

size_t NAV::Observations::countObservations ( const SatSigId & satSigId,
const GnssObs::ObservationType & obsType ) const

Counts how many observations for the specified signal ant type exist.

Parameters
[in]satSigIdSignal identifier
[in]obsTypeObservation type

Definition at line 11 of file Observation.cpp.

◆ recalcObservableCounts()

void NAV::Observations::recalcObservableCounts ( const std::string & nameId)

Calculates/Recalculates the number of observables.

Parameters
[in]nameIdName and Id of the calling node for logging purposes

Definition at line 21 of file Observation.cpp.

◆ removeMeasurementsFor()

bool NAV::Observations::removeMeasurementsFor ( const Code & code,
const GnssObs::ObservationType & obsType,
const std::string & nameId )

Remove all measurements for the provided code and observation type.

Parameters
[in]codeCode
[in]obsTypeObservation type
[in]nameIdName and Id of the calling node for logging purposes
Returns
True if something was removed

Definition at line 127 of file Observation.cpp.

◆ removeObsType()

bool NAV::Observations::removeObsType ( const GnssObs::ObservationType & obsType,
const std::string & nameId )

Remove all measurements for the provided observation type.

Parameters
[in]obsTypeObservation type
[in]nameIdName and Id of the calling node for logging purposes
Returns
True if something was removed

Definition at line 151 of file Observation.cpp.

◆ removeSatellite()

bool NAV::Observations::removeSatellite ( const SatId & satId,
const std::string & nameId )

Remove all signals of the satellite.

Parameters
[in]satIdSatellite identifier
[in]nameIdName and Id of the calling node for logging purposes
Returns
True if something was removed

Definition at line 108 of file Observation.cpp.

◆ removeSignal() [1/2]

bool NAV::Observations::removeSignal ( const SatSigId & satSigId,
const GnssObs::ObservationType & obsType,
const std::string & nameId )

Remove the signal from the observations.

Parameters
[in]satSigIdSignal identifier
[in]obsTypeObservation type
[in]nameIdName and Id of the calling node for logging purposes
Returns
True if something was removed

Definition at line 83 of file Observation.cpp.

◆ removeSignal() [2/2]

bool NAV::Observations::removeSignal ( const SatSigId & satSigId,
const std::string & nameId )

Remove the signal from the observations.

Parameters
[in]satSigIdSignal identifier
[in]nameIdName and Id of the calling node for logging purposes
Returns
True if something was removed

Definition at line 70 of file Observation.cpp.

Field Documentation

◆ nObservables

std::array<size_t, GnssObs::ObservationType_COUNT> NAV::Observations::nObservables

Number of observables.

Definition at line 210 of file Observation.hpp.

◆ nObservablesUniqueSatellite

std::array<size_t, GnssObs::ObservationType_COUNT> NAV::Observations::nObservablesUniqueSatellite

Number of observables (counted once for each satellite)

Definition at line 211 of file Observation.hpp.

◆ receivers

std::unordered_set<size_t> NAV::Observations::receivers

Receivers included.

Definition at line 207 of file Observation.hpp.

◆ satellites

std::unordered_set<SatId> NAV::Observations::satellites

Satellites used.

Definition at line 209 of file Observation.hpp.

◆ signals

unordered_map<SatSigId, SignalObservation> NAV::Observations::signals

Observations and calculated data for each signal.

Definition at line 205 of file Observation.hpp.

◆ systems

std::set<SatelliteSystem> NAV::Observations::systems

Satellite systems used.

Definition at line 208 of file Observation.hpp.


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