##// END OF EJS Templates
Update Variable impl for v5
Update Variable impl for v5

File last commit:

r471:d00d6fd96c10
r509:d251b3bc179d
Show More
CosinusProvider.h
33 lines | 937 B | text/x-c | CLexer
Alexandre Leroux
Creates a default provider that will be returned by the mock plugin
r120 #ifndef SCIQLOP_COSINUSPROVIDER_H
#define SCIQLOP_COSINUSPROVIDER_H
Alexandre Leroux
Adds Q_DECL_EXPORT for Mock plugin
r324 #include "MockPluginGlobal.h"
Alexandre Leroux
Creates a default provider that will be returned by the mock plugin
r120 #include <Data/IDataProvider.h>
The cosinus provider can now handle data request
r215 #include <QLoggingCategory>
Add DownloadProgress emission for mock plugin
r394 #include <QUuid>
The cosinus provider can now handle data request
r215
Add DownloadProgress emission for mock plugin
r394 #include <QHash>
The cosinus provider can now handle data request
r215 Q_DECLARE_LOGGING_CATEGORY(LOG_CosinusProvider)
Alexandre Leroux
Creates a default provider that will be returned by the mock plugin
r120 /**
* @brief The CosinusProvider class is an example of how a data provider can generate data
*/
Alexandre Leroux
Adds Q_DECL_EXPORT for Mock plugin
r324 class SCIQLOP_MOCKPLUGIN_EXPORT CosinusProvider : public IDataProvider {
Alexandre Leroux
Creates a default provider that will be returned by the mock plugin
r120 public:
Add DownloadProgress emission for mock plugin
r394 /// @sa IDataProvider::requestDataLoading(). The current impl isn't thread safe.
Alexandre Leroux
Updates IDataProvider::requestDataLoading() method's signature...
r375 void requestDataLoading(QUuid token, const DataProviderParameters &parameters) override;
The cosinus provider can now handle data request
r215
Add DownloadProgress emission for mock plugin
r394 /// @sa IDataProvider::requestDataAborting(). The current impl isn't thread safe.
Implement of the abort download process
r388 void requestDataAborting(QUuid identifier) override;
The cosinus provider can now handle data request
r215 private:
Change SqpRange for SqpDateTime
r471 std::shared_ptr<IDataSeries> retrieveData(QUuid token, const SqpRange &dateTime);
Add DownloadProgress emission for mock plugin
r394
QHash<QUuid, bool> m_VariableToEnableProvider;
Alexandre Leroux
Creates a default provider that will be returned by the mock plugin
r120 };
#endif // SCIQLOP_COSINUSPROVIDER_H