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