##// END OF EJS Templates
Uses std::vector when retrieving Amda results
Uses std::vector when retrieving Amda results

File last commit:

r712:951cc05bf337
r733:4f81c91b9535
Show More
CosinusProvider.h
36 lines | 1.0 KiB | 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 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
Generates and registers clone provider
r712 std::shared_ptr<IDataProvider> clone() const override;
Add DownloadProgress emission for mock plugin
r428 /// @sa IDataProvider::requestDataLoading(). The current impl isn't thread safe.
Implementation of V5 acquisition
r539 void requestDataLoading(QUuid acqIdentifier, const DataProviderParameters &parameters) override;
The cosinus provider can now handle data request
r231
Add DownloadProgress emission for mock plugin
r428 /// @sa IDataProvider::requestDataAborting(). The current impl isn't thread safe.
Implementation of V5 acquisition
r539 void requestDataAborting(QUuid acqIdentifier) override;
Implement of the abort download process
r422
The cosinus provider can now handle data request
r231 private:
Implementation of V5 acquisition
r539 std::shared_ptr<IDataSeries> retrieveData(QUuid acqIdentifier,
const SqpRange &dataRangeRequested);
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