##// END OF EJS Templates
Removed old Variable impl...
Removed old Variable impl Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1351:d755f1f0a484
r1422:a323cf6b7201
Show More
CosinusProvider.h
31 lines | 850 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>
Add DownloadProgress emission for mock plugin
r428 #include <QUuid>
The cosinus provider can now handle data request
r231
Add DownloadProgress emission for mock plugin
r428 #include <QHash>
The cosinus provider can now handle data request
r231
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
Generates and registers clone provider
r712 std::shared_ptr<IDataProvider> clone() const override;
Ported Mock plugin to new IDataProvider interface compatible with...
r1350 virtual IDataSeries* getData(const DataProviderParameters &parameters) override;
The cosinus provider can now handle data request
r231 private:
Alexandre Leroux
Updates cosinus provider to handle metadata
r781 std::shared_ptr<IDataSeries>
Renamed SqpRange to DateTimeRange, introduced VariableController2 to...
r1346 retrieveData(QUuid acqIdentifier, const DateTimeRange &dataRangeRequested, const QVariantHash &data);
Add DownloadProgress emission for mock plugin
r428
Ported Mock plugin to new IDataProvider interface compatible with...
r1350 IDataSeries* _generate(const DateTimeRange &range, const QVariantHash &metaData);
Add DownloadProgress emission for mock plugin
r428 QHash<QUuid, bool> m_VariableToEnableProvider;
Alexandre Leroux
Creates a default provider that will be returned by the mock plugin
r128 };
#endif // SCIQLOP_COSINUSPROVIDER_H