##// END OF EJS Templates
Add a signal to the IDataProvider API to correspond with the network...
Add a signal to the IDataProvider API to correspond with the network controller and ask it to download data

File last commit:

r379:0abce98e1e41
r387:096d47e83d44
Show More
AmdaProvider.h
36 lines | 869 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)
/**
* @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 QVector<SqpDateTime> &dateTimeList) override;
private:
void retrieveData(QUuid token, const DataProviderParameters &parameters) const;
class AmdaProviderPrivate;
spimpl::unique_impl_ptr<AmdaProviderPrivate> impl;
Alexandre Leroux
Amda provider (1)...
r378
private slots:
void httpFinished() noexcept;
Alexandre Leroux
Amda provider (2)...
r379 void httpDownloadFinished() noexcept;
void httpDownloadReadyRead() noexcept;
Alexandre Leroux
Inits Amda provider
r377 };
#endif // SCIQLOP_AMDAPROVIDER_H