##// END OF EJS Templates
Add execute skelleton Network
Add execute skelleton Network

File last commit:

r379:0abce98e1e41
r386:be6d704a1f9a
Show More
AmdaProvider.h
36 lines | 869 B | text/x-c | CLexer
#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;
private slots:
void httpFinished() noexcept;
void httpDownloadFinished() noexcept;
void httpDownloadReadyRead() noexcept;
};
#endif // SCIQLOP_AMDAPROVIDER_H