##// END OF EJS Templates
Improves AMDA result parsing...
Improves AMDA result parsing Finds the unit among all the commented lines, in order to handle the case where the number of commented lines differs from one file to another

File last commit:

r422:ff0aebb946e3
r492:41e897ecff03
Show More
AmdaProvider.h
30 lines | 706 B | text/x-c | CLexer
#ifndef SCIQLOP_AMDAPROVIDER_H
#define SCIQLOP_AMDAPROVIDER_H
#include "AmdaGlobal.h"
#include <Data/IDataProvider.h>
#include <QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(LOG_AmdaProvider)
class QNetworkReply;
/**
* @brief The AmdaProvider class is an example of how a data provider can generate data
*/
class SCIQLOP_AMDA_EXPORT AmdaProvider : public IDataProvider {
public:
explicit AmdaProvider();
void requestDataLoading(QUuid token, const DataProviderParameters &parameters) override;
void requestDataAborting(QUuid identifier) override;
private:
void retrieveData(QUuid token, const SqpDateTime &dateTime, const QVariantHash &data);
};
#endif // SCIQLOP_AMDAPROVIDER_H