##// END OF EJS Templates
Updates DataSourceController::loadProductItem() method...
Updates DataSourceController::loadProductItem() method - Passes the DataSource uid as a parameter of the method. The uid will be used to retrieve the right provider, which will be passed for the variable creation - Stores data providers as shared_ptr instead of unique_ptr - Updates the mock plugin to pass the data source uid to the loadProductItem() method

File last commit:

r128:59f921efd8e4
r167:31990a7209fc
Show More
CosinusProvider.h
16 lines | 446 B | text/x-c | CLexer
#ifndef SCIQLOP_COSINUSPROVIDER_H
#define SCIQLOP_COSINUSPROVIDER_H
#include <Data/IDataProvider.h>
/**
* @brief The CosinusProvider class is an example of how a data provider can generate data
*/
class CosinusProvider : public IDataProvider {
public:
/// @sa IDataProvider::retrieveData()
std::unique_ptr<IDataSeries>
retrieveData(const DataProviderParameters &parameters) const override;
};
#endif // SCIQLOP_COSINUSPROVIDER_H