##// END OF EJS Templates
Merge branch 'feature/ThreadFix' into develop
Merge branch 'feature/ThreadFix' into develop

File last commit:

r351:057ef7ee6e0d
r371:684b9afd5f2a merge
Show More
CosinusProvider.h
28 lines | 755 B | text/x-c | CLexer
#ifndef SCIQLOP_COSINUSPROVIDER_H
#define SCIQLOP_COSINUSPROVIDER_H
#include "MockPluginGlobal.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 SCIQLOP_MOCKPLUGIN_EXPORT 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