##// END OF EJS Templates
Wrapper prototype working, with all kind of Serie...
Wrapper prototype working, with all kind of Serie Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1352:fb8f470a1906
r1479:704e0f1deb02
Show More
GenericWSEngine.h
26 lines | 625 B | text/x-c | CLexer
#ifndef GENERICWSENGINE_H
#define GENERICWSENGINE_H
#include <Data/IDataProvider.h>
#include <Data/DataProviderParameters.h>
class GenericWSEngine: public IDataProvider
{
public:
virtual std::shared_ptr<IDataProvider> clone() const override
{
return std::make_shared<GenericWSEngine>();
}
virtual IDataSeries* getData(const DataProviderParameters &parameters) override
{
auto range = parameters.m_Range;
auto metadata = parameters.m_Data;
auto WS = metadata["WS"].toString();
auto parameter = metadata["WS"].toString();
return nullptr;
}
};
#endif