![]() |
0.4.1
|
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_COUNT > | nObservables |
Number of observables. | |
std::array< size_t, GnssObs::ObservationType_COUNT > | nObservablesUniqueSatellite |
Number of observables (counted once for each satellite) | |
std::unordered_set< size_t > | receivers |
Receivers included. | |
std::unordered_set< SatId > | satellites |
Satellites used. | |
unordered_map< SatSigId, SignalObservation > | signals |
Observations and calculated data for each signal. | |
std::set< SatelliteSystem > | systems |
Satellite systems used. | |
Observation storage type.
Definition at line 40 of file Observation.hpp.
size_t NAV::Observations::countObservations | ( | const SatSigId & | satSigId, |
const GnssObs::ObservationType & | obsType ) const |
Counts how many observations for the specified signal ant type exist.
[in] | satSigId | Signal identifier |
[in] | obsType | Observation type |
Definition at line 11 of file Observation.cpp.
void NAV::Observations::recalcObservableCounts | ( | const std::string & | nameId | ) |
Calculates/Recalculates the number of observables.
[in] | nameId | Name and Id of the calling node for logging purposes |
Definition at line 21 of file Observation.cpp.
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.
[in] | code | Code |
[in] | obsType | Observation type |
[in] | nameId | Name and Id of the calling node for logging purposes |
Definition at line 127 of file Observation.cpp.
bool NAV::Observations::removeObsType | ( | const GnssObs::ObservationType & | obsType, |
const std::string & | nameId ) |
Remove all measurements for the provided observation type.
[in] | obsType | Observation type |
[in] | nameId | Name and Id of the calling node for logging purposes |
Definition at line 151 of file Observation.cpp.
bool NAV::Observations::removeSatellite | ( | const SatId & | satId, |
const std::string & | nameId ) |
Remove all signals of the satellite.
[in] | satId | Satellite identifier |
[in] | nameId | Name and Id of the calling node for logging purposes |
Definition at line 108 of file Observation.cpp.
bool NAV::Observations::removeSignal | ( | const SatSigId & | satSigId, |
const GnssObs::ObservationType & | obsType, | ||
const std::string & | nameId ) |
Remove the signal from the observations.
[in] | satSigId | Signal identifier |
[in] | obsType | Observation type |
[in] | nameId | Name and Id of the calling node for logging purposes |
Definition at line 83 of file Observation.cpp.
bool NAV::Observations::removeSignal | ( | const SatSigId & | satSigId, |
const std::string & | nameId ) |
Remove the signal from the observations.
[in] | satSigId | Signal identifier |
[in] | nameId | Name and Id of the calling node for logging purposes |
Definition at line 70 of file Observation.cpp.
std::array<size_t, GnssObs::ObservationType_COUNT> NAV::Observations::nObservables |
Number of observables.
Definition at line 210 of file Observation.hpp.
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.
std::unordered_set<size_t> NAV::Observations::receivers |
Receivers included.
Definition at line 207 of file Observation.hpp.
std::unordered_set<SatId> NAV::Observations::satellites |
Satellites used.
Definition at line 209 of file Observation.hpp.
unordered_map<SatSigId, SignalObservation> NAV::Observations::signals |
Observations and calculated data for each signal.
Definition at line 205 of file Observation.hpp.
std::set<SatelliteSystem> NAV::Observations::systems |
Satellite systems used.
Definition at line 208 of file Observation.hpp.