Go to the documentation of this file.
8 #include <unordered_map>
9 #include <unordered_set>
13 #include <gnss_info_msgs/SatelliteInfo.h>
20 struct EthzSatdbDataSourcePrivate;
28 explicit EthzSatdbDataSource(
const std::unordered_map<uint32_t, gnss_info_msgs::SatelliteInfo>& satelliteInfo);
31 std::string
getName()
const override;
35 std::pair<ros::Time, ros::Time>
getTimeRange()
const override;
42 std::unique_ptr<EthzSatdbDataSourcePrivate>
data;
bool isApproximate() const override
Return whether this datasource works with approximate orbit data.
std::string getName() const override
Get human-readable name of the data source.
bool isPrecise() const override
Return whether this datasource works with precise orbit data.
std::unordered_set< std::string > getConstellations() const override
Get the constellations handled by this data source.
std::unique_ptr< EthzSatdbDataSourcePrivate > data
Private implementation data (PIMPL).
Generic interface for various data sources for gnsstk::NavLibrary.
GNSSTk NavLibrary data source downloading TLE data from ETHZ Satellite Database.
EthzSatdbDataSource(const std::unordered_map< uint32_t, gnss_info_msgs::SatelliteInfo > &satelliteInfo)
~EthzSatdbDataSource() override
std::pair< ros::Time, ros::Time > getTimeRange() const override
Get the time range in which this datasource can provide information.
std::function< bool(const std::string &file)> DataSourceLoadCb
Callback to be called when a new source file is introduced.
bool load(const ros::Time &time, const DataSourceLoadCb &cb) override
Load data for the given time instant.
gnss_info
Author(s): Martin Pecka
autogenerated on Fri Nov 24 2023 03:50:35