##// END OF EJS Templates
Adds operators for DataSourceItem
Adds operators for DataSourceItem

File last commit:

r310:9a5cb57f1573
r348:ea1f3730c1b2
Show More
CosinusProvider.h
26 lines | 698 B | text/x-c | CLexer
#ifndef SCIQLOP_COSINUSPROVIDER_H
#define SCIQLOP_COSINUSPROVIDER_H
#include <Data/IDataProvider.h>
#include <QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(LOG_CosinusProvider)
/**
* @brief The CosinusProvider class is an example of how a data provider can generate data
*/
class CosinusProvider : public IDataProvider {
public:
/// @sa IDataProvider::retrieveData()
std::shared_ptr<IDataSeries>
retrieveData(const DataProviderParameters &parameters) const override;
void requestDataLoading(const QVector<SqpDateTime> &dateTimeList) override;
private:
std::shared_ptr<IDataSeries> retrieveDataSeries(const SqpDateTime &dateTime);
};
#endif // SCIQLOP_COSINUSPROVIDER_H