##// END OF EJS Templates
Removed old Variable impl...
Removed old Variable impl Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1351:d755f1f0a484
r1422:a323cf6b7201
Show More
CosinusProvider.h
31 lines | 850 B | text/x-c | CLexer
#ifndef SCIQLOP_COSINUSPROVIDER_H
#define SCIQLOP_COSINUSPROVIDER_H
#include "MockPluginGlobal.h"
#include <Data/IDataProvider.h>
#include <QLoggingCategory>
#include <QUuid>
#include <QHash>
/**
* @brief The CosinusProvider class is an example of how a data provider can generate data
*/
class SCIQLOP_MOCKPLUGIN_EXPORT CosinusProvider : public IDataProvider {
public:
std::shared_ptr<IDataProvider> clone() const override;
virtual IDataSeries* getData(const DataProviderParameters &parameters) override;
private:
std::shared_ptr<IDataSeries>
retrieveData(QUuid acqIdentifier, const DateTimeRange &dataRangeRequested, const QVariantHash &data);
IDataSeries* _generate(const DateTimeRange &range, const QVariantHash &metaData);
QHash<QUuid, bool> m_VariableToEnableProvider;
};
#endif // SCIQLOP_COSINUSPROVIDER_H