#include <ComputeIURAWeights.hpp>
Inheritance diagram for ComputeIURAWeights:


This class is meant to be used with the GNSS data structures objects found in "DataStructures" class.
A typical way to use this class follows:
RinexObsStream rin("ebre0300.02o"); RinexNavStream rnavin("brdc0300.02n"); RinexNavData rNavData; GPSEphemerisStore bceStore; while (rnavin >> rNavData) bceStore.addEphemeris(rNavData); bceStore.SearchPast(); // This is the default // Declare a GDS object gnssRinex gRin; // Create a 'ComputeIURAWeights' object ComputeIURAWeights iuraW(bceStore); while(rin >> gRin) { gRin >> iuraW; }
The "ComputeIURAWeights" object will visit every satellite in the GNSS data structure that is "gRin" and will try to compute its weight based on the corresponding IURA. For precise ephemeris, a fixed value of IURA = 0.1 m will be set, returning a weight of 100.
When used with the ">>" operator, this class returns the same incoming data structure with the weights inserted along their corresponding satellites. Be warned that if it is not possible to compute the weight for a given satellite, it will be summarily deleted from the data structure.
Definition at line 90 of file ComputeIURAWeights.hpp.
Public Member Functions | |
| ComputeIURAWeights () | |
| Default constructor. | |
| ComputeIURAWeights (GPSEphemerisStore &bcephem) | |
| Common constructor. | |
| ComputeIURAWeights (TabularEphemerisStore &tabephem) | |
| Common constructor. | |
| ComputeIURAWeights (XvtStore< SatID > &ephem) | |
| Common constructor. | |
| virtual satTypeValueMap & | Process (const DayTime &time, satTypeValueMap &gData) throw (ProcessingException) |
| Returns a satTypeValueMap object, adding the new data generated when calling this object. | |
| virtual gnssSatTypeValue & | Process (gnssSatTypeValue &gData) throw (ProcessingException) |
| Returns a gnnsSatTypeValue object, adding the new data generated when calling this object. | |
| virtual gnssRinex & | Process (gnssRinex &gData) throw (ProcessingException) |
| Returns a gnnsRinex object, adding the new data generated when calling this object. | |
| virtual ComputeIURAWeights & | setDefaultEphemeris (XvtStore< SatID > &ephem) |
| Method to set the default ephemeris to be used with GNSS data structures. | |
| virtual ComputeIURAWeights & | setDefaultEphemeris (GPSEphemerisStore &ephem) |
| Method to set the default ephemeris to be used with GNSS data structures. | |
| virtual ComputeIURAWeights & | setDefaultEphemeris (TabularEphemerisStore &ephem) |
| Method to set the default ephemeris to be used with GNSS data structures. | |
| virtual int | getIndex (void) const |
| Returns an index identifying this object. | |
| virtual std::string | getClassName (void) const |
| Returns a string identifying this object. | |
| virtual | ~ComputeIURAWeights () |
| Destructor. | |
Protected Member Functions | |
| virtual double | getWeight (const SatID &sat, const DayTime &time, const TabularEphemerisStore *preciseEph) throw (InvalidWeights) |
| Method to really get the weight of a given satellite. | |
| virtual double | getWeight (const SatID &sat, const DayTime &time, const GPSEphemerisStore *bcEph) throw (InvalidWeights) |
| Method to really get the weight of a given satellite. | |
Protected Attributes | |
| GPSEphemerisStore * | pBCEphemeris |
| Pointer to default broadcast ephemeris to be used. | |
| TabularEphemerisStore * | pTabEphemeris |
| Pointer to default precise ephemeris to be used. | |
|
|
Default constructor.
Definition at line 96 of file ComputeIURAWeights.hpp. |
|
|
Common constructor.
Definition at line 104 of file ComputeIURAWeights.hpp. |
|
|
Common constructor.
Definition at line 114 of file ComputeIURAWeights.hpp. |
|
|
Common constructor.
Definition at line 123 of file ComputeIURAWeights.hpp. |
|
|
Destructor.
Definition at line 193 of file ComputeIURAWeights.hpp. |
|
|
Returns a string identifying this object.
Implements ProcessingClass. Reimplemented in ComputeMOPSWeights. Definition at line 48 of file ComputeIURAWeights.cpp. |
|
|
Returns an index identifying this object.
Implements ProcessingClass. Reimplemented in ComputeMOPSWeights. Definition at line 43 of file ComputeIURAWeights.cpp. |
|
||||||||||||||||
|
Method to really get the weight of a given satellite.
Definition at line 196 of file ComputeIURAWeights.cpp. References EngEphemeris::getAccFlag(), GPSTK_THROW, and gpstk::ura2nominalAccuracy(). |
|
||||||||||||||||
|
Method to really get the weight of a given satellite.
Definition at line 165 of file ComputeIURAWeights.cpp. References TabularEphemerisStore::getXvt(), and GPSTK_THROW. |
|
|
Returns a gnnsRinex object, adding the new data generated when calling this object.
Implements ProcessingClass. Reimplemented in ComputeMOPSWeights. Definition at line 152 of file ComputeIURAWeights.hpp. |
|
|
Returns a gnnsSatTypeValue object, adding the new data generated when calling this object.
Implements ProcessingClass. Reimplemented in ComputeMOPSWeights. Definition at line 142 of file ComputeIURAWeights.hpp. |
|
||||||||||||
|
Returns a satTypeValueMap object, adding the new data generated when calling this object.
Reimplemented in ComputeMOPSWeights. Definition at line 58 of file ComputeIURAWeights.cpp. References GPSTK_THROW, and gpstk::SatIDSet. |
|
|
Method to set the default ephemeris to be used with GNSS data structures.
Reimplemented in ComputeMOPSWeights. Definition at line 179 of file ComputeIURAWeights.hpp. |
|
|
Method to set the default ephemeris to be used with GNSS data structures.
Reimplemented in ComputeMOPSWeights. Definition at line 170 of file ComputeIURAWeights.hpp. |
|
|
Method to set the default ephemeris to be used with GNSS data structures.
Reimplemented in ComputeMOPSWeights. Definition at line 137 of file ComputeIURAWeights.cpp. References ComputeIURAWeights::pBCEphemeris, and ComputeIURAWeights::pTabEphemeris. |
|
|
Pointer to default broadcast ephemeris to be used.
Definition at line 200 of file ComputeIURAWeights.hpp. Referenced by ComputeIURAWeights::setDefaultEphemeris(). |
|
|
Pointer to default precise ephemeris to be used.
Definition at line 204 of file ComputeIURAWeights.hpp. Referenced by ComputeIURAWeights::setDefaultEphemeris(). |
1.3.9.1