##// END OF EJS Templates
Fix bug when creating two variables crash the app. ...
Fix bug when creating two variables crash the app. Variable as now invalid range and cache range at creation

File last commit:

r623:a4c03aae7d7b
r756:a7f60f6512e6
Show More
VariableRequest.h
28 lines | 627 B | text/x-c | CLexer
#ifndef SCIQLOP_VARIABLEREQUEST_H
#define SCIQLOP_VARIABLEREQUEST_H
#include <QObject>
#include <QUuid>
#include <Common/MetaTypes.h>
#include <Data/IDataSeries.h>
#include <Data/SqpRange.h>
#include <memory>
/**
* @brief The VariableRequest struct holds the information of an acquisition request
*/
struct VariableRequest {
VariableRequest() { m_CanUpdate = false; }
SqpRange m_RangeRequested;
SqpRange m_CacheRangeRequested;
std::shared_ptr<IDataSeries> m_DataSeries;
bool m_CanUpdate;
};
SCIQLOP_REGISTER_META_TYPE(VARIABLEREQUEST_REGISTRY, VariableRequest)
#endif // SCIQLOP_VARIABLEREQUEST_H