##// END OF EJS Templates
Unplot menu (5): adds contains() method to an IVariableContainer...
Unplot menu (5): adds contains() method to an IVariableContainer The method will be used to generate an action in the 'unplot' menu, depending on whether or not the container contains the variable

File last commit:

r310:9a5cb57f1573
r327:87af69bdce8a
Show More
CosinusProvider.h
26 lines | 698 B | text/x-c | CLexer
Alexandre Leroux
Creates a default provider that will be returned by the mock plugin
r128 #ifndef SCIQLOP_COSINUSPROVIDER_H
#define SCIQLOP_COSINUSPROVIDER_H
#include <Data/IDataProvider.h>
The cosinus provider can now handle data request
r231 #include <QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(LOG_CosinusProvider)
Alexandre Leroux
Creates a default provider that will be returned by the mock plugin
r128 /**
* @brief The CosinusProvider class is an example of how a data provider can generate data
*/
class CosinusProvider : public IDataProvider {
public:
/// @sa IDataProvider::retrieveData()
Alexandre Leroux
Use std::shared_ptr in CosinusProvider
r310 std::shared_ptr<IDataSeries>
Alexandre Leroux
Creates a default provider that will be returned by the mock plugin
r128 retrieveData(const DataProviderParameters &parameters) const override;
The cosinus provider can now handle data request
r231
void requestDataLoading(const QVector<SqpDateTime> &dateTimeList) override;
private:
std::shared_ptr<IDataSeries> retrieveDataSeries(const SqpDateTime &dateTime);
Alexandre Leroux
Creates a default provider that will be returned by the mock plugin
r128 };
#endif // SCIQLOP_COSINUSPROVIDER_H