GNSSTk NavLibrary data source downloading TLE data from ETHZ Satellite Database. More...
#include <ethz_satdb_datasource.h>
Public Member Functions | |
EthzSatdbDataSource (const std::unordered_map< uint32_t, gnss_info_msgs::SatelliteInfo > &satelliteInfo) | |
std::unordered_set< std::string > | getConstellations () const override |
Get the constellations handled by this data source. More... | |
std::string | getName () const override |
Get human-readable name of the data source. More... | |
std::pair< ros::Time, ros::Time > | getTimeRange () const override |
Get the time range in which this datasource can provide information. More... | |
bool | isApproximate () const override |
Return whether this datasource works with approximate orbit data. More... | |
bool | isPrecise () const override |
Return whether this datasource works with precise orbit data. More... | |
bool | load (const ros::Time &startTime, const ros::Time &endTime, const DataSourceLoadCb &cb) override |
Load data for the given time interval. More... | |
bool | load (const ros::Time &time, const DataSourceLoadCb &cb) override |
Load data for the given time instant. More... | |
~EthzSatdbDataSource () override | |
![]() | |
NavLibraryDataSource ()=default | |
Construct the data source. More... | |
virtual | ~NavLibraryDataSource ()=default |
Private Attributes | |
std::unique_ptr< EthzSatdbDataSourcePrivate > | data |
Private implementation data (PIMPL). More... | |
Additional Inherited Members | |
![]() | |
typedef std::function< bool(const std::string &file)> | DataSourceLoadCb |
Callback to be called when a new source file is introduced. More... | |
GNSSTk NavLibrary data source downloading TLE data from ETHZ Satellite Database.
Definition at line 25 of file ethz_satdb_datasource.h.
|
explicit |
Definition at line 356 of file ethz_satdb_datasource.cpp.
|
overridedefault |
|
overridevirtual |
Get the constellations handled by this data source.
Implements gnss_info::NavLibraryDataSource.
Definition at line 389 of file ethz_satdb_datasource.cpp.
|
overridevirtual |
Get human-readable name of the data source.
Implements gnss_info::NavLibraryDataSource.
Definition at line 490 of file ethz_satdb_datasource.cpp.
|
overridevirtual |
Get the time range in which this datasource can provide information.
Implements gnss_info::NavLibraryDataSource.
Definition at line 384 of file ethz_satdb_datasource.cpp.
|
overridevirtual |
Return whether this datasource works with approximate orbit data.
Implements gnss_info::NavLibraryDataSource.
Definition at line 485 of file ethz_satdb_datasource.cpp.
|
overridevirtual |
Return whether this datasource works with precise orbit data.
Implements gnss_info::NavLibraryDataSource.
Definition at line 480 of file ethz_satdb_datasource.cpp.
|
overridevirtual |
Load data for the given time interval.
[in] | startTime | The time to start loading at. |
[in] | endTime | The time to stop loading at. |
[in] | cb | Callback to call for each found and downloaded data file. |
Implements gnss_info::NavLibraryDataSource.
Definition at line 399 of file ethz_satdb_datasource.cpp.
|
overridevirtual |
Load data for the given time instant.
[in] | time | The time to load at. |
[in] | cb | Callback to call for each found and downloaded data file. |
Implements gnss_info::NavLibraryDataSource.
Definition at line 394 of file ethz_satdb_datasource.cpp.
|
private |
Private implementation data (PIMPL).
Definition at line 42 of file ethz_satdb_datasource.h.