##// END OF EJS Templates
Defines actions for a data source items...
Defines actions for a data source items DataSourceItemAction is an object that will be connected to a QAction. When the QAction will be triggered, the DataSourceItemAction will be executed

File last commit:

r122:8c237b28a7ec
r144:7a9a79ed3b02
Show More
IDataProvider.h
25 lines | 621 B | text/x-c | CLexer
Alexandre Leroux
Creates IDataProvider interface
r122 #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