Generic interface for various data sources for gnsstk::NavLibrary.
More...
#include <nav_library_data_source.h>
Generic interface for various data sources for gnsstk::NavLibrary.
Definition at line 20 of file nav_library_data_source.h.
◆ DataSourceLoadCb
Callback to be called when a new source file is introduced.
- Parameters
-
[in] | file | Path to the source file. |
- Returns
- Whether reading the source file succeeded.
Definition at line 28 of file nav_library_data_source.h.
◆ NavLibraryDataSource()
gnss_info::NavLibraryDataSource::NavLibraryDataSource |
( |
| ) |
|
|
default |
◆ ~NavLibraryDataSource()
virtual gnss_info::NavLibraryDataSource::~NavLibraryDataSource |
( |
| ) |
|
|
virtualdefault |
◆ getConstellations()
virtual std::unordered_set<std::string> gnss_info::NavLibraryDataSource::getConstellations |
( |
| ) |
const |
|
pure virtual |
◆ getName()
virtual std::string gnss_info::NavLibraryDataSource::getName |
( |
| ) |
const |
|
pure virtual |
◆ getTimeRange()
virtual std::pair<ros::Time, ros::Time> gnss_info::NavLibraryDataSource::getTimeRange |
( |
| ) |
const |
|
pure virtual |
Get the time range in which this datasource can provide information.
- Returns
- The time range (first, latest).
Implemented in gnss_info::EthzSatdbDataSource.
◆ isApproximate()
virtual bool gnss_info::NavLibraryDataSource::isApproximate |
( |
| ) |
const |
|
pure virtual |
Return whether this datasource works with approximate orbit data.
- Returns
- Whether this datasource works with approximate orbit data.
Implemented in gnss_info::EthzSatdbDataSource.
◆ isPrecise()
virtual bool gnss_info::NavLibraryDataSource::isPrecise |
( |
| ) |
const |
|
pure virtual |
Return whether this datasource works with precise orbit data.
- Returns
- Whether this datasource works with precise orbit data.
Implemented in gnss_info::EthzSatdbDataSource.
◆ load() [1/2]
Load data for the given time interval.
- Parameters
-
[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. |
- Returns
- Whether loading succeeded.
Implemented in gnss_info::EthzSatdbDataSource.
◆ load() [2/2]
Load data for the given time instant.
- Parameters
-
[in] | time | The time to load at. |
[in] | cb | Callback to call for each found and downloaded data file. |
- Returns
- Whether loading succeeded.
Implemented in gnss_info::EthzSatdbDataSource.
The documentation for this class was generated from the following file: