##// END OF EJS Templates
Updates IDataProvider::requestDataLoading() method's signature...
Updates IDataProvider::requestDataLoading() method's signature The parameters needed for data retrieval are passed to a DataProviderParameters object. For now, it concerns only the list of datetimes to process, but the object will be completed with extra data which may be necessary for certain providers

File last commit:

r408:49f712bf7e59
r408:49f712bf7e59
Show More
AmdaProvider.h
38 lines | 999 B | text/x-c | CLexer
Alexandre Leroux
Inits Amda provider
r377 #ifndef SCIQLOP_AMDAPROVIDER_H
#define SCIQLOP_AMDAPROVIDER_H
#include "AmdaGlobal.h"
#include <Common/spimpl.h>
#include <Data/IDataProvider.h>
#include <QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(LOG_AmdaProvider)
Modify the AmdaProvider to remove from it all network controller...
r388 class QNetworkReply;
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 {
public:
explicit AmdaProvider();
Alexandre Leroux
Updates IDataProvider::requestDataLoading() method's signature...
r408 void requestDataLoading(QUuid token, const DataProviderParameters &parameters) override;
Alexandre Leroux
Inits Amda provider
r377
private:
Alexandre Leroux
Updates IDataProvider::requestDataLoading() method's signature...
r408 void retrieveData(QUuid token, const SqpDateTime &dateTime);
Alexandre Leroux
Inits Amda provider
r377
class AmdaProviderPrivate;
spimpl::unique_impl_ptr<AmdaProviderPrivate> impl;
Alexandre Leroux
Amda provider (1)...
r378
Modify the AmdaProvider to remove from it all network controller...
r388 // private slots:
// void httpFinished(QNetworkReply *reply, QUuid dataId) noexcept;
// void httpDownloadFinished(QNetworkReply *reply, QUuid dataId) noexcept;
// void httpDownloadReadyRead(QNetworkReply *reply, QUuid dataId) noexcept;
Alexandre Leroux
Inits Amda provider
r377 };
#endif // SCIQLOP_AMDAPROVIDER_H