##// END OF EJS Templates
Wait for the end of an acquisition to validate an operation (3)...
Wait for the end of an acquisition to validate an operation (3) If an operation is to validate, waits the end of the acquisition

File last commit:

r750:f189aafd213c
r1248:7541b71e5b78
Show More
AcquisitionRequest.h
40 lines | 950 B | text/x-c | CLexer
/ core / include / Data / AcquisitionRequest.h
#ifndef SCIQLOP_ACQUISITIONREQUEST_H
#define SCIQLOP_ACQUISITIONREQUEST_H
#include <QObject>
#include <QUuid>
#include <Common/DateUtils.h>
#include <Common/MetaTypes.h>
#include <Data/DataProviderParameters.h>
#include <Data/IDataProvider.h>
#include <Data/SqpRange.h>
#include <memory>
/**
* @brief The AcquisitionRequest struct holds the information of an variable request
*/
struct AcquisitionRequest {
AcquisitionRequest()
{
m_AcqIdentifier = QUuid::createUuid();
m_Size = 0;
m_Progression = 0;
}
QUuid m_VarRequestId;
QUuid m_AcqIdentifier;
QUuid m_vIdentifier;
DataProviderParameters m_DataProviderParameters;
SqpRange m_RangeRequested;
SqpRange m_CacheRangeRequested;
int m_Size;
int m_Progression;
std::shared_ptr<IDataProvider> m_Provider;
};
SCIQLOP_REGISTER_META_TYPE(ACQUISITIONREQUEST_REGISTRY, AcquisitionRequest)
#endif // SCIQLOP_ACQUISITIONREQUEST_H