AmdaProvider.h
31 lines
| 773 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> | ||||
Q_DECLARE_LOGGING_CATEGORY(LOG_AmdaProvider) | ||||
r388 | class QNetworkReply; | |||
Alexandre Leroux
|
r377 | /** | ||
* @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(); | ||||
Alexandre Leroux
|
r712 | std::shared_ptr<IDataProvider> clone() const override; | ||
Alexandre Leroux
|
r377 | |||
r539 | void requestDataLoading(QUuid acqIdentifier, const DataProviderParameters ¶meters) override; | |||
Alexandre Leroux
|
r377 | |||
r539 | void requestDataAborting(QUuid acqIdentifier) override; | |||
r422 | ||||
Alexandre Leroux
|
r377 | private: | ||
r512 | void retrieveData(QUuid token, const SqpRange &dateTime, const QVariantHash &data); | |||
Alexandre Leroux
|
r377 | }; | ||
#endif // SCIQLOP_AMDAPROVIDER_H | ||||