AmdaProvider.h
30 lines
| 714 B
| text/x-c
|
CLexer
Alexandre Leroux
|
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; | |||
Alexandre Leroux
|
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(); | ||||
r510 | void requestDataLoading(QUuid acqIdentifier, const DataProviderParameters ¶meters) override; | |||
Alexandre Leroux
|
r348 | |||
r510 | void requestDataAborting(QUuid acqIdentifier) override; | |||
r388 | ||||
Alexandre Leroux
|
r348 | private: | ||
r471 | void retrieveData(QUuid token, const SqpRange &dateTime, const QVariantHash &data); | |||
Alexandre Leroux
|
r348 | }; | ||
#endif // SCIQLOP_AMDAPROVIDER_H | ||||