CosinusProvider.h
26 lines
| 754 B
| text/x-c
|
CLexer
Alexandre Leroux
|
r128 | #ifndef SCIQLOP_COSINUSPROVIDER_H | ||
#define SCIQLOP_COSINUSPROVIDER_H | ||||
Alexandre Leroux
|
r351 | #include "MockPluginGlobal.h" | ||
Alexandre Leroux
|
r128 | #include <Data/IDataProvider.h> | ||
r231 | #include <QLoggingCategory> | |||
Q_DECLARE_LOGGING_CATEGORY(LOG_CosinusProvider) | ||||
Alexandre Leroux
|
r128 | /** | ||
* @brief The CosinusProvider class is an example of how a data provider can generate data | ||||
*/ | ||||
Alexandre Leroux
|
r351 | class SCIQLOP_MOCKPLUGIN_EXPORT CosinusProvider : public IDataProvider { | ||
Alexandre Leroux
|
r128 | public: | ||
Alexandre Leroux
|
r376 | void requestDataLoading(QUuid token, const QVector<SqpDateTime> &dateTimeList) override; | ||
r231 | ||||
private: | ||||
r339 | /// @sa IDataProvider::retrieveData() | |||
std::shared_ptr<IDataSeries> retrieveData(const DataProviderParameters ¶meters) const; | ||||
r231 | std::shared_ptr<IDataSeries> retrieveDataSeries(const SqpDateTime &dateTime); | |||
Alexandre Leroux
|
r128 | }; | ||
#endif // SCIQLOP_COSINUSPROVIDER_H | ||||