##// END OF EJS Templates
Adds the ability to set cache tolerance for tests
Adds the ability to set cache tolerance for tests

File last commit:

r1119:d60c64f6f148
r1191:c4f25cb21c59
Show More
AmdaProvider.h
44 lines | 1.2 KiB | text/x-c | CLexer
Alexandre Leroux
Inits Amda provider
r377 #ifndef SCIQLOP_AMDAPROVIDER_H
#define SCIQLOP_AMDAPROVIDER_H
#include "AmdaGlobal.h"
#include <Data/IDataProvider.h>
#include <QLoggingCategory>
Implementation of progression
r750 #include <map>
Alexandre Leroux
Inits Amda provider
r377
Q_DECLARE_LOGGING_CATEGORY(LOG_AmdaProvider)
Modify the AmdaProvider to remove from it all network controller...
r388 class QNetworkReply;
Implementation of progression
r750 class QNetworkRequest;
Modify the AmdaProvider to remove from it all network controller...
r388
Alexandre Leroux
Inits Amda provider
r377 /**
* @brief The AmdaProvider class is an example of how a data provider can generate data
*/
class SCIQLOP_AMDA_EXPORT AmdaProvider : public IDataProvider {
Implement progression for AmdaProvider.
r752 Q_OBJECT
Alexandre Leroux
Inits Amda provider
r377 public:
explicit AmdaProvider();
Alexandre Leroux
Generates and registers clone provider
r712 std::shared_ptr<IDataProvider> clone() const override;
Alexandre Leroux
Inits Amda provider
r377
Implementation of V5 acquisition
r539 void requestDataLoading(QUuid acqIdentifier, const DataProviderParameters &parameters) override;
Alexandre Leroux
Inits Amda provider
r377
Implementation of V5 acquisition
r539 void requestDataAborting(QUuid acqIdentifier) override;
Implement of the abort download process
r422
Alexandre Leroux
Inits Amda provider
r377 private:
Change SqpRange for SqpDateTime
r512 void retrieveData(QUuid token, const SqpRange &dateTime, const QVariantHash &data);
Implementation of progression
r750
void updateRequestProgress(QUuid acqIdentifier, std::shared_ptr<QNetworkRequest> request,
double progress);
std::map<QUuid, std::map<std::shared_ptr<QNetworkRequest>, double> >
m_AcqIdToRequestProgressMap;
Alexandre Leroux
(Minor) Fixes vera warnings for AMDA plugin
r1119
private slots:
void onReplyDownloadProgress(QUuid acqIdentifier,
std::shared_ptr<QNetworkRequest> networkRequest, double progress);
Alexandre Leroux
Inits Amda provider
r377 };
#endif // SCIQLOP_AMDAPROVIDER_H