@@ -0,0 +1,28 | |||
|
1 | #ifndef SCIQLOP_VARIABLEREQUEST_H | |
|
2 | #define SCIQLOP_VARIABLEREQUEST_H | |
|
3 | ||
|
4 | #include <QObject> | |
|
5 | ||
|
6 | #include <QUuid> | |
|
7 | ||
|
8 | #include <Common/MetaTypes.h> | |
|
9 | #include <Data/IDataSeries.h> | |
|
10 | #include <Data/SqpRange.h> | |
|
11 | ||
|
12 | #include <memory> | |
|
13 | ||
|
14 | /** | |
|
15 | * @brief The VariableRequest struct holds the information of an acquisition request | |
|
16 | */ | |
|
17 | struct VariableRequest { | |
|
18 | VariableRequest() { m_CanUpdate = false; } | |
|
19 | ||
|
20 | SqpRange m_RangeRequested; | |
|
21 | SqpRange m_CacheRangeRequested; | |
|
22 | std::shared_ptr<IDataSeries> m_DataSeries; | |
|
23 | bool m_CanUpdate; | |
|
24 | }; | |
|
25 | ||
|
26 | SCIQLOP_REGISTER_META_TYPE(VARIABLEREQUEST_REGISTRY, VariableRequest) | |
|
27 | ||
|
28 | #endif // SCIQLOP_VARIABLEREQUEST_H |
General Comments 0
You need to be logged in to leave comments.
Login now