CosinusProvider.h
26 lines
| 698 B
| text/x-c
|
CLexer
Alexandre Leroux
|
r128 | #ifndef SCIQLOP_COSINUSPROVIDER_H | ||
#define SCIQLOP_COSINUSPROVIDER_H | ||||
#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 | ||||
*/ | ||||
class CosinusProvider : public IDataProvider { | ||||
public: | ||||
/// @sa IDataProvider::retrieveData() | ||||
Alexandre Leroux
|
r310 | std::shared_ptr<IDataSeries> | ||
Alexandre Leroux
|
r128 | retrieveData(const DataProviderParameters ¶meters) const override; | ||
r231 | ||||
void requestDataLoading(const QVector<SqpDateTime> &dateTimeList) override; | ||||
private: | ||||
std::shared_ptr<IDataSeries> retrieveDataSeries(const SqpDateTime &dateTime); | ||||
Alexandre Leroux
|
r128 | }; | ||
#endif // SCIQLOP_COSINUSPROVIDER_H | ||||