@@ -1,38 +1,38 | |||||
1 | #ifndef SCIQLOP_ACQUISITIONREQUEST_H |
|
1 | #ifndef SCIQLOP_ACQUISITIONREQUEST_H | |
2 | #define SCIQLOP_ACQUISITIONREQUEST_H |
|
2 | #define SCIQLOP_ACQUISITIONREQUEST_H | |
3 |
|
3 | |||
4 | #include <QObject> |
|
4 | #include <QObject> | |
5 |
|
5 | |||
6 | #include <QUuid> |
|
6 | #include <QUuid> | |
7 |
|
7 | |||
8 | #include <Common/DateUtils.h> |
|
8 | #include <Common/DateUtils.h> | |
9 | #include <Common/MetaTypes.h> |
|
9 | #include <Common/MetaTypes.h> | |
10 | #include <Data/DataProviderParameters.h> |
|
10 | #include <Data/DataProviderParameters.h> | |
11 | #include <Data/IDataProvider.h> |
|
11 | #include <Data/IDataProvider.h> | |
12 | #include <Data/SqpRange.h> |
|
12 | #include <Data/SqpRange.h> | |
13 |
|
13 | |||
14 | #include <memory> |
|
14 | #include <memory> | |
15 |
|
15 | |||
16 | /** |
|
16 | /** | |
17 |
* @brief The AcquisitionRequest struct holds the information of an |
|
17 | * @brief The AcquisitionRequest struct holds the information of an variable request | |
18 | */ |
|
18 | */ | |
19 | struct AcquisitionRequest { |
|
19 | struct AcquisitionRequest { | |
20 | AcquisitionRequest() |
|
20 | AcquisitionRequest() | |
21 | { |
|
21 | { | |
22 |
|
||||
23 | m_AcqIdentifier = QUuid::createUuid(); |
|
22 | m_AcqIdentifier = QUuid::createUuid(); | |
24 | m_Size = 0; |
|
23 | m_Size = 0; | |
25 | } |
|
24 | } | |
26 |
|
25 | |||
|
26 | QUuid m_VarRequestId; | |||
27 | QUuid m_AcqIdentifier; |
|
27 | QUuid m_AcqIdentifier; | |
28 | QUuid m_vIdentifier; |
|
28 | QUuid m_vIdentifier; | |
29 | DataProviderParameters m_DataProviderParameters; |
|
29 | DataProviderParameters m_DataProviderParameters; | |
30 | SqpRange m_RangeRequested; |
|
30 | SqpRange m_RangeRequested; | |
31 | SqpRange m_CacheRangeRequested; |
|
31 | SqpRange m_CacheRangeRequested; | |
32 | int m_Size; |
|
32 | int m_Size; | |
33 | std::shared_ptr<IDataProvider> m_Provider; |
|
33 | std::shared_ptr<IDataProvider> m_Provider; | |
34 | }; |
|
34 | }; | |
35 |
|
35 | |||
36 | SCIQLOP_REGISTER_META_TYPE(ACQUISITIONREQUEST_REGISTRY, AcquisitionRequest) |
|
36 | SCIQLOP_REGISTER_META_TYPE(ACQUISITIONREQUEST_REGISTRY, AcquisitionRequest) | |
37 |
|
37 | |||
38 | #endif // SCIQLOP_ACQUISITIONREQUEST_H |
|
38 | #endif // SCIQLOP_ACQUISITIONREQUEST_H |
General Comments 0
You need to be logged in to leave comments.
Login now