##// 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
Alexandre Leroux
Creates a default provider that will be returned by the mock plugin
r128 #ifndef SCIQLOP_COSINUSPROVIDER_H
#define SCIQLOP_COSINUSPROVIDER_H
Alexandre Leroux
Adds Q_DECL_EXPORT for Mock plugin
r351 #include "MockPluginGlobal.h"
Alexandre Leroux
Creates a default provider that will be returned by the mock plugin
r128 #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
*/
Alexandre Leroux
Adds Q_DECL_EXPORT for Mock plugin
r351 class SCIQLOP_MOCKPLUGIN_EXPORT CosinusProvider : public IDataProvider {
Alexandre Leroux
Creates a default provider that will be returned by the mock plugin
r128 public:
Alexandre Leroux
Transits tokens in provider requests
r376 void requestDataLoading(QUuid token, const QVector<SqpDateTime> &dateTimeList) override;
The cosinus provider can now handle data request
r231
private:
Intialization of network controller
r339 /// @sa IDataProvider::retrieveData()
std::shared_ptr<IDataSeries> retrieveData(const DataProviderParameters &parameters) const;
The cosinus provider can now handle data request
r231 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