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