|
Maps SDK for C++ 1.0.0
|


Public Member Functions | |
| Service (const Service &)=delete | |
| Service (Service &&)=default | |
| Default move constructor noexcept is deduced. | |
| Service & | operator= (const Service &)=delete |
| Service & | operator= (Service &&service)=default |
| Default move assignment noexcept is deduced. | |
| int | getCurrent (const CoordinatesList &coords, LocationForecastList &result, ProgressListener listener) noexcept |
| Async gets current weather for a list of coordinates. | |
| int | getForecast (const TimeDistanceCoordinateList &coords, LocationForecastList &result, ProgressListener listener) noexcept |
| Async gets forecast weather for a list of coordinates and timestamps. | |
| int | getDailyForecast (int days, const CoordinatesList &coords, LocationForecastList &result, ProgressListener listener) noexcept |
| Async gets daily forecast weather for a list of coordinates. | |
| int | getHourlyForecast (int hours, const CoordinatesList &coords, LocationForecastList &result, ProgressListener listener) noexcept |
| Async gets hourly forecast weather for a list of coordinates. | |
| void | cancel (ProgressListener listener) noexcept |
| Cancel an async operation. | |
| int | getMaxCoordinatesPerRequest () const noexcept |
| Get max coordinates per request limit. | |
| int | getMaxDayForDailyForecast () const noexcept |
| Get max day for daily forecast limit. | |
| int | getMaxHoursForHourlyForecast () const noexcept |
| Get max hours for hourly forecast limit. | |
| TransferStatisticsRef | getTransferStatistics () const noexcept |
| Get HTTP data transfer statistics. | |
Weather Service.
Provides information about current and forecast weather conditions based on geographical coordinate
Implements share-read / write Api object over IService.
This behaves like a singleton, i.e. all instances are sharing behind the same API interface
|
inlinenoexcept |
Cancel an async operation.
| [in] | listener | The listener associated with the operation |
If listener is empty, all pending weather requests will be cancelled
|
inlinenoexcept |
Async gets current weather for a list of coordinates.
| [in] | coords | The coordinates list for which the current weather is requested |
| [out] | result | The list with weather conditions for every requested coordinates |
| [in] | listener | Operation progress listener |
|
inlinenoexcept |
Async gets daily forecast weather for a list of coordinates.
| [in] | days | The number of days for which the forecast is requested ( value should be <= 10 ) |
| [in] | coords | The coordinates list for which the forecast is requested |
| [out] | result | The list with weather conditions for every requested coordinates |
| [in] | listener | Operation progress listener |
|
inlinenoexcept |
Async gets forecast weather for a list of coordinates and timestamps.
| [in] | coords | The coordinates & timestamps list for which the forecast is requested. The timestamp should be relative to current time |
| [out] | result | The list with weather conditions for every requested coordinates |
| [in] | listener | Operation progress listener |
|
inlinenoexcept |
Async gets hourly forecast weather for a list of coordinates.
| [in] | hours | The number of hours for which the forecast is requested ( value should be <= 240 ) |
| [in] | coords | The coordinates list for which the forecast is requested |
| [out] | result | The list with weather conditions for every requested coordinates |
| [in] | listener | Operation progress listener |
|
inlinenoexcept |
Get max coordinates per request limit.
|
inlinenoexcept |
Get max day for daily forecast limit.
|
inlinenoexcept |
Get max hours for hourly forecast limit.
|
inlinenoexcept |
Get HTTP data transfer statistics.
|
default |
Default move assignment noexcept is deduced.
| [in] | service | The object to move |