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