##// END OF EJS Templates
Hack to download first component of a parameter if the parameter is a vector...
Hack to download first component of a parameter if the parameter is a vector The hack will be removed when download of vectors will be implemented

File last commit:

r408:49f712bf7e59
r417:348a77304894
Show More
CosinusProvider.h
25 lines | 659 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 DataProviderParameters &parameters) override;
private:
/// @sa IDataProvider::retrieveData()
std::shared_ptr<IDataSeries> retrieveData(const SqpDateTime &dateTime) const;
};
#endif // SCIQLOP_COSINUSPROVIDER_H