AcquisitionRequest.h
40 lines
| 976 B
| text/x-c
|
CLexer
r507 | #ifndef SCIQLOP_ACQUISITIONREQUEST_H | |||
#define SCIQLOP_ACQUISITIONREQUEST_H | ||||
#include <QObject> | ||||
#include <QUuid> | ||||
#include <Common/DateUtils.h> | ||||
#include <Common/MetaTypes.h> | ||||
Alexandre Leroux
|
r681 | #include <Data/AcquisitionDataPacket.h> | ||
r507 | #include <Data/DataProviderParameters.h> | |||
#include <Data/IDataProvider.h> | ||||
#include <Data/SqpRange.h> | ||||
#include <memory> | ||||
/** | ||||
r583 | * @brief The AcquisitionRequest struct holds the information of an variable request | |||
r507 | */ | |||
Alexandre Leroux
|
r683 | struct Acquisition { | ||
Acquisition() | ||||
r507 | { | |||
m_AcqIdentifier = QUuid::createUuid(); | ||||
m_Size = 0; | ||||
} | ||||
r583 | QUuid m_VarRequestId; | |||
r507 | QUuid m_AcqIdentifier; | |||
QUuid m_vIdentifier; | ||||
DataProviderParameters m_DataProviderParameters; | ||||
SqpRange m_RangeRequested; | ||||
SqpRange m_CacheRangeRequested; | ||||
int m_Size; | ||||
std::shared_ptr<IDataProvider> m_Provider; | ||||
Alexandre Leroux
|
r681 | QVector<AcquisitionDataPacket> m_DataPackets; | ||
r507 | }; | |||
SCIQLOP_REGISTER_META_TYPE(ACQUISITIONREQUEST_REGISTRY, AcquisitionRequest) | ||||
#endif // SCIQLOP_ACQUISITIONREQUEST_H | ||||