VariableAcquisitionWorker.h
36 lines
| 973 B
| text/x-c
|
CLexer
r527 | #ifndef SCIQLOP_VARIABLEACQUISITIONWORKER_H | |||
#define SCIQLOP_VARIABLEACQUISITIONWORKER_H | ||||
#include "CoreGlobal.h" | ||||
#include <Data/DataProviderParameters.h> | ||||
#include <QLoggingCategory> | ||||
#include <QObject> | ||||
#include <QUuid> | ||||
r530 | #include <Data/SqpRange.h> | |||
r527 | ||||
#include <QLoggingCategory> | ||||
#include <Common/spimpl.h> | ||||
Q_DECLARE_LOGGING_CATEGORY(LOG_VariableAcquisitionWorker) | ||||
class Variable; | ||||
class IDataProvider; | ||||
/// This class aims to handle all acquisition request | ||||
class SCIQLOP_CORE_EXPORT VariableAcquisitionWorker : public QObject { | ||||
Q_OBJECT | ||||
public: | ||||
explicit VariableAcquisitionWorker(QObject *parent = 0); | ||||
void pushVariableRequest(QUuid vIdentifier, SqpRange rangeRequest, SqpRange cacheRangeRequested, | ||||
DataProviderParameters parameters, IDataProvider *provider); | ||||
private: | ||||
class VariableAcquisitionWorkerPrivate; | ||||
spimpl::unique_impl_ptr<VariableAcquisitionWorkerPrivate> impl; | ||||
}; | ||||
#endif // SCIQLOP_VARIABLEACQUISITIONWORKER_H | ||||