##// END OF EJS Templates
Updates VariableModel::createVariable() method...
Updates VariableModel::createVariable() method - Stores variable as shared_ptr (maybe the variable may exist outside this controller) - Adds default data series for the variable - Returns the shared_ptr after variable creation

File last commit:

r122:8c237b28a7ec
r165:81409bbf8178
Show More
IDataProvider.h
25 lines | 621 B | text/x-c | CLexer
#ifndef SCIQLOP_IDATAPROVIDER_H
#define SCIQLOP_IDATAPROVIDER_H
#include <memory>
class DataProviderParameters;
class IDataSeries;
/**
* @brief The IDataProvider interface aims to declare a data provider.
*
* A data provider is an entity that generates data and returns it according to various parameters
* (time interval, product to retrieve the data, etc.)
*
* @sa IDataSeries
*/
class IDataProvider {
public:
virtual ~IDataProvider() noexcept = default;
virtual std::unique_ptr<IDataSeries>
retrieveData(const DataProviderParameters &parameters) const = 0;
};
#endif // SCIQLOP_IDATAPROVIDER_H