##// END OF EJS Templates
Made more consistent plugin install path with CMake, removed useless plugin lookup path...
Made more consistent plugin install path with CMake, removed useless plugin lookup path Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1351:d755f1f0a484
r1398:728acc3a845d
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