##// END OF EJS Templates
Disables 'plot' menu when variable data have not been loaded yet
Disables 'plot' menu when variable data have not been loaded yet

File last commit:

r376:313aeb6a2933
r404:40749dfba67d
Show More
CosinusProvider.h
26 lines | 754 B | text/x-c | CLexer
#ifndef SCIQLOP_COSINUSPROVIDER_H
#define SCIQLOP_COSINUSPROVIDER_H
#include "MockPluginGlobal.h"
#include <Data/IDataProvider.h>
#include <QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(LOG_CosinusProvider)
/**
* @brief The CosinusProvider class is an example of how a data provider can generate data
*/
class SCIQLOP_MOCKPLUGIN_EXPORT CosinusProvider : public IDataProvider {
public:
void requestDataLoading(QUuid token, const QVector<SqpDateTime> &dateTimeList) override;
private:
/// @sa IDataProvider::retrieveData()
std::shared_ptr<IDataSeries> retrieveData(const DataProviderParameters &parameters) const;
std::shared_ptr<IDataSeries> retrieveDataSeries(const SqpDateTime &dateTime);
};
#endif // SCIQLOP_COSINUSPROVIDER_H