##// END OF EJS Templates
Started PySide2 migration, builds with CMake and produces a working binary...
Started PySide2 migration, builds with CMake and produces a working binary Need to port all previous stuff from Pybind11 to PySide2/shboken Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1423:31110df2feb2
r1477:70de8bd3d575
Show More
CosinusProvider.h
32 lines | 877 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
*/
Ported MockPlugin to new Variable2 impl and added dummy python plugin...
r1423 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 MockPlugin to new Variable2 impl and added dummy python plugin...
r1423 virtual TimeSeries::ITimeSerie* getData(const DataProviderParameters& parameters) override;
Ported Mock plugin to new IDataProvider interface compatible with...
r1350
The cosinus provider can now handle data request
r231 private:
Ported MockPlugin to new Variable2 impl and added dummy python plugin...
r1423 std::shared_ptr<IDataSeries> retrieveData(
QUuid acqIdentifier, const DateTimeRange& dataRangeRequested, const QVariantHash& data);
Add DownloadProgress emission for mock plugin
r428
Ported MockPlugin to new Variable2 impl and added dummy python plugin...
r1423 TimeSeries::ITimeSerie* _generate(const DateTimeRange& range, const QVariantHash& metaData);
Ported Mock plugin to new IDataProvider interface compatible with...
r1350
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