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


like the data in subframes 4&5) and compute satellite Xvt based upon this data and the algorithms defined in the IS-GPS-200.
Definition at line 66 of file GPSAlmanacStore.hpp.
Public Member Functions | |
| GPSAlmanacStore () throw () | |
| virtual | ~GPSAlmanacStore () |
| virtual Xvt | getXvt (const SatID &id, const CommonTime &t) const throw ( gpstk::InvalidRequest ) |
| Returns the position, velocity, and clock offset of the indicated object in ECEF coordinates (meters) at the indicated time. | |
| virtual Xvt | getXvtMostRecentXmit (const SatID id, const CommonTime &t) const throw ( gpstk::InvalidRequest ) |
| Returns the position, velocity, and clock offset of the indicated object in ECEF coordinates (meters) at the indicated time. | |
| virtual void | dump (std::ostream &s=std::cout, short detail=0) const throw () |
| A debugging function that outputs in human readable form, all data stored in this object. | |
| virtual void | edit (const CommonTime &tmin, const CommonTime &tmax=CommonTime::END_OF_TIME) throw () |
| Edit the dataset, removing data outside the indicated time interval. | |
| virtual void | clear (void) throw () |
| Clear the dataset, meaning remove all data. | |
| virtual TimeSystem | getTimeSystem (void) const throw () |
| Return time system (NB assumed always to be GPS). | |
| virtual CommonTime | getInitialTime () const throw () |
| Determine the earliest time for which this object can successfully determine the Xvt for any object. | |
| virtual CommonTime | getFinalTime () const throw () |
| Determine the latest time for which this object can successfully determine the Xvt for any object. | |
| virtual bool | velocityIsPresent () const throw () |
| virtual bool | hasVelocity () const throw () |
| Return true if velocity data is present in the store. | |
| virtual bool | isPresent (const SatID &sat) const throw () |
| Return true if the given SatID is present in the store. | |
| short | getSatHealth (const SatID sat, const CommonTime &t) const throw ( gpstk::InvalidRequest) |
| Returns the health of an SV for a particular time. | |
| bool | addAlmanac (const AlmOrbit &alm) throw () |
| bool | addAlmanac (const EngAlmanac &alm) throw () |
| AlmOrbit | findAlmanac (const SatID sat, const CommonTime &t) const throw ( gpstk::InvalidRequest ) |
| gets the closest almanac for the given time and satellite, closest being in the past or future. | |
| AlmOrbit | findMostRecentAlmanac (const SatID sat, const CommonTime &t) const throw ( gpstk::InvalidRequest ) |
| gets the most recent almanac for the given time and satellite id, most recent meaning it must have a transmit time before the specified time. | |
| AlmOrbits | findAlmanacs (const CommonTime &t) const throw ( gpstk::InvalidRequest ) |
| returns all almanacs closest to t for all satellites | |
Protected Types | |
| typedef std::map< CommonTime, AlmOrbit > | EngAlmMap |
| This is intended to just store weekly sets of unique EngAlmanacs for a single SV. | |
| typedef std::map< SatID, EngAlmMap > | UBAMap |
| This is intended to hold all unique EngEphemerises for each SV The key is the SatID of the SV. | |
Protected Attributes | |
| UBAMap | uba |
| The map where all EngAlmanacs are stored. | |
| CommonTime | initialTime |
| CommonTime | finalTime |
|
|
This is intended to just store weekly sets of unique EngAlmanacs for a single SV. The key is ToA Definition at line 203 of file GPSAlmanacStore.hpp. |
|
|
This is intended to hold all unique EngEphemerises for each SV The key is the SatID of the SV.
Definition at line 207 of file GPSAlmanacStore.hpp. |
|
|
Definition at line 70 of file GPSAlmanacStore.hpp. |
|
|
Definition at line 76 of file GPSAlmanacStore.hpp. |
|
|
Definition at line 91 of file GPSAlmanacStore.cpp. References gpstk::AlmOrbits. |
|
|
Definition at line 73 of file GPSAlmanacStore.cpp. References AlmOrbit::getToaTime(). |
|
|
Clear the dataset, meaning remove all data.
Implements OrbElemStore. Definition at line 124 of file GPSAlmanacStore.hpp. |
|
||||||||||||
|
A debugging function that outputs in human readable form, all data stored in this object.
Reimplemented from OrbElemStore. Definition at line 217 of file GPSAlmanacStore.cpp. References AlmOrbit::dump(). |
|
||||||||||||
|
Edit the dataset, removing data outside the indicated time interval.
Implements OrbElemStore. Definition at line 210 of file GPSAlmanacStore.cpp. |
|
||||||||||||
|
gets the closest almanac for the given time and satellite, closest being in the past or future.
Definition at line 103 of file GPSAlmanacStore.cpp. References GPSTK_THROW. |
|
|
returns all almanacs closest to t for all satellites who cares about exceptions - the map will be empty if there are no alms... Definition at line 187 of file GPSAlmanacStore.cpp. References gpstk::AlmOrbits. |
|
||||||||||||
|
gets the most recent almanac for the given time and satellite id, most recent meaning it must have a transmit time before the specified time.
Definition at line 149 of file GPSAlmanacStore.cpp. References GPSTK_THROW. |
|
|
Determine the latest time for which this object can successfully determine the Xvt for any object.
Implements OrbElemStore. Definition at line 144 of file GPSAlmanacStore.hpp. |
|
|
Determine the earliest time for which this object can successfully determine the Xvt for any object.
Implements OrbElemStore. Definition at line 135 of file GPSAlmanacStore.hpp. |
|
||||||||||||
|
Returns the health of an SV for a particular time.
Definition at line 66 of file GPSAlmanacStore.cpp. References AlmOrbit::getSVHealth(). |
|
|
Return time system (NB assumed always to be GPS).
Implements XvtStore< SatID >. Definition at line 128 of file GPSAlmanacStore.hpp. |
|
||||||||||||
|
Returns the position, velocity, and clock offset of the indicated object in ECEF coordinates (meters) at the indicated time.
Implements OrbElemStore. Definition at line 52 of file GPSAlmanacStore.cpp. References AlmOrbit::svXvt(). |
|
||||||||||||
|
Returns the position, velocity, and clock offset of the indicated object in ECEF coordinates (meters) at the indicated time. It differs from getXvt in that it uses a different search algorithm - It will use the most recently received almanac information, thereby imitating what a receiver would be doing in real-time. If there is no almanac data for that object prior to the requested time, InvalidRequest will be thrown.
Definition at line 59 of file GPSAlmanacStore.cpp. References AlmOrbit::svXvt(). |
|
|
Return true if velocity data is present in the store.
Implements OrbElemStore. Definition at line 153 of file GPSAlmanacStore.hpp. |
|
|
Return true if the given SatID is present in the store.
Implements OrbElemStore. Definition at line 157 of file GPSAlmanacStore.hpp. |
|
|
Implements OrbElemStore. Definition at line 148 of file GPSAlmanacStore.hpp. |
|
|
Definition at line 213 of file GPSAlmanacStore.hpp. |
|
|
Definition at line 212 of file GPSAlmanacStore.hpp. |
|
|
The map where all EngAlmanacs are stored.
Definition at line 210 of file GPSAlmanacStore.hpp. |
1.3.9.1