##// END OF EJS Templates
Merge branch 'feature/AmdaProviderImprovements' into develop
Merge branch 'feature/AmdaProviderImprovements' into develop

File last commit:

r375:49f712bf7e59
r385:0ec770a1fa8f merge
Show More
CosinusProvider.h
25 lines | 659 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>
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:
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
private:
Intialization of network controller
r313 /// @sa IDataProvider::retrieveData()
Alexandre Leroux
Updates IDataProvider::requestDataLoading() method's signature...
r375 std::shared_ptr<IDataSeries> retrieveData(const SqpDateTime &dateTime) const;
Alexandre Leroux
Creates a default provider that will be returned by the mock plugin
r120 };
#endif // SCIQLOP_COSINUSPROVIDER_H