##// END OF EJS Templates
add CacheRange for Variable and the provideNotInCacheRangeList method
add CacheRange for Variable and the provideNotInCacheRangeList method

File last commit:

r512:d00d6fd96c10
r532:6d67365e6b04
Show More
AmdaProvider.h
30 lines | 703 B | text/x-c | CLexer
#ifndef SCIQLOP_AMDAPROVIDER_H
#define SCIQLOP_AMDAPROVIDER_H
#include "AmdaGlobal.h"
#include <Data/IDataProvider.h>
#include <QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(LOG_AmdaProvider)
class QNetworkReply;
/**
* @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();
void requestDataLoading(QUuid token, const DataProviderParameters &parameters) override;
void requestDataAborting(QUuid identifier) override;
private:
void retrieveData(QUuid token, const SqpRange &dateTime, const QVariantHash &data);
};
#endif // SCIQLOP_AMDAPROVIDER_H