Fetch weather data by grid and range instead of geo location

refs #612
This commit is contained in:
Roland Winklmeier
2016-03-28 17:04:37 +02:00
parent dae31a1986
commit 82fc267b22
3 changed files with 25 additions and 13 deletions

View File

@@ -32,8 +32,9 @@ namespace BlackCore
//! Destructor
virtual ~IWeatherData() {}
//! Fetch new weather data
virtual void fetchWeatherData(const BlackMisc::Geo::CLatitude &latitude, const BlackMisc::Geo::CLongitude &longitude, double maxDistance = -1) = 0;
//! Fetch new weather data around grid
virtual void fetchWeatherData(const BlackMisc::Weather::CWeatherGrid &grid,
const BlackMisc::PhysicalQuantities::CLength &range) = 0;
//! Get fetched weather data
virtual BlackMisc::Weather::CWeatherGrid getWeatherData() const = 0;