##// END OF EJS Templates
Many synchronization fixes, most operations works, only product drag from tree is broken...
Many synchronization fixes, most operations works, only product drag from tree is broken Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1351:d755f1f0a484
r1377:0f6ffbe66d5f
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