AmdaProvider.h
30 lines
| 706 B
| text/x-c
|
CLexer
|
r348 | #ifndef SCIQLOP_AMDAPROVIDER_H | ||
#define SCIQLOP_AMDAPROVIDER_H | ||||
#include "AmdaGlobal.h" | ||||
#include <Data/IDataProvider.h> | ||||
#include <QLoggingCategory> | ||||
Q_DECLARE_LOGGING_CATEGORY(LOG_AmdaProvider) | ||||
r358 | class QNetworkReply; | |||
|
r348 | /** | ||
* @brief The AmdaProvider class is an example of how a data provider can generate data | ||||
*/ | ||||
class SCIQLOP_AMDA_EXPORT AmdaProvider : public IDataProvider { | ||||
public: | ||||
explicit AmdaProvider(); | ||||
|
r375 | void requestDataLoading(QUuid token, const DataProviderParameters ¶meters) override; | ||
|
r348 | |||
r388 | void requestDataAborting(QUuid identifier) override; | |||
|
r348 | private: | ||
|
r380 | void retrieveData(QUuid token, const SqpDateTime &dateTime, const QVariantHash &data); | ||
|
r348 | }; | ||
#endif // SCIQLOP_AMDAPROVIDER_H | ||||