AmdaProvider.h
30 lines
| 660 B
| text/x-c
|
CLexer
Alexandre Leroux
|
r377 | #ifndef SCIQLOP_AMDAPROVIDER_H | ||
#define SCIQLOP_AMDAPROVIDER_H | ||||
#include "AmdaGlobal.h" | ||||
#include <Data/IDataProvider.h> | ||||
#include <QLoggingCategory> | ||||
r750 | #include <map> | |||
Alexandre Leroux
|
r377 | |||
Q_DECLARE_LOGGING_CATEGORY(LOG_AmdaProvider) | ||||
r388 | class QNetworkReply; | |||
r750 | class QNetworkRequest; | |||
r388 | ||||
Alexandre Leroux
|
r377 | /** | ||
* @brief The AmdaProvider class is an example of how a data provider can generate data | ||||
*/ | ||||
r1423 | class SCIQLOP_AMDA_EXPORT AmdaProvider : public IDataProvider | |||
{ | ||||
r752 | Q_OBJECT | |||
Alexandre Leroux
|
r377 | public: | ||
explicit AmdaProvider(); | ||||
Alexandre Leroux
|
r712 | std::shared_ptr<IDataProvider> clone() const override; | ||
Alexandre Leroux
|
r377 | |||
r1423 | virtual TimeSeries::ITimeSerie* getData(const DataProviderParameters& parameters) override; | |||
Alexandre Leroux
|
r377 | }; | ||
#endif // SCIQLOP_AMDAPROVIDER_H | ||||