##// END OF EJS Templates
The cache is now updated only if date requested has been successfully...
The cache is now updated only if date requested has been successfully acquired

File last commit:

r310:9a5cb57f1573
r318:fc4b2122dbde
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