Go to the documentation of this file.
8 #include <unordered_set>
43 virtual std::string
getName()
const = 0;
61 virtual std::pair<ros::Time, ros::Time>
getTimeRange()
const = 0;
virtual std::string getName() const =0
Get human-readable name of the data source.
virtual bool load(const ros::Time &time, const DataSourceLoadCb &cb)=0
Load data for the given time instant.
virtual std::pair< ros::Time, ros::Time > getTimeRange() const =0
Get the time range in which this datasource can provide information.
Generic interface for various data sources for gnsstk::NavLibrary.
virtual bool isPrecise() const =0
Return whether this datasource works with precise orbit data.
virtual ~NavLibraryDataSource()=default
NavLibraryDataSource()=default
Construct the data source.
std::function< bool(const std::string &file)> DataSourceLoadCb
Callback to be called when a new source file is introduced.
virtual std::unordered_set< std::string > getConstellations() const =0
Get the constellations handled by this data source.
virtual bool isApproximate() const =0
Return whether this datasource works with approximate orbit data.
gnss_info
Author(s): Martin Pecka
autogenerated on Fri Nov 24 2023 03:50:35