##// END OF EJS Templates
Separate the initialization of the properties of the graph of the update of the units of the graph....
Separate the initialization of the properties of the graph of the update of the units of the graph. The initialization of the properties is carried out when adding a variable in the graph, the update of the units is carried out when loading the data of this variable

File last commit:

r750:f189aafd213c
r1254:41b7c6aab8be
Show More
AcquisitionRequest.h
40 lines | 950 B | text/x-c | CLexer
/ core / include / Data / AcquisitionRequest.h
Add AcquisitionDataPacket
r536 #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>
/**
Add the VarRequestId on the AcquisitionPacket
r624 * @brief The AcquisitionRequest struct holds the information of an variable request
Add AcquisitionDataPacket
r536 */
struct AcquisitionRequest {
AcquisitionRequest()
{
m_AcqIdentifier = QUuid::createUuid();
m_Size = 0;
Implementation of progression
r750 m_Progression = 0;
Add AcquisitionDataPacket
r536 }
Add the VarRequestId on the AcquisitionPacket
r624 QUuid m_VarRequestId;
Add AcquisitionDataPacket
r536 QUuid m_AcqIdentifier;
QUuid m_vIdentifier;
DataProviderParameters m_DataProviderParameters;
SqpRange m_RangeRequested;
SqpRange m_CacheRangeRequested;
int m_Size;
Implementation of progression
r750 int m_Progression;
Add AcquisitionDataPacket
r536 std::shared_ptr<IDataProvider> m_Provider;
};
SCIQLOP_REGISTER_META_TYPE(ACQUISITIONREQUEST_REGISTRY, AcquisitionRequest)
#endif // SCIQLOP_ACQUISITIONREQUEST_H