The OPC UA XVType. More...
| Header: | #include <QOpcUaXValue> |
| qmake: | QT += opcua |
| QOpcUaXValue(double x, float value) | |
| QOpcUaXValue(const QOpcUaXValue &rhs) | |
| QOpcUaXValue & | operator=(const QOpcUaXValue &rhs) |
| void | setValue(float value) |
| void | setX(double x) |
| float | value() const |
| double | x() const |
| QVariant | operator QVariant() const |
| bool | operator==(const QOpcUaXValue &rhs) const |
This is the Qt OPC UA representation for the OPC UA XVType type defined in OPC-UA part 8, 5.6.8. This type is used to position values of float precision on an axis with double precision.
Constructs an XValue with position x and value value.
Constructs an XValue from rhs.
Sets the values from rhs in this XValue.
Sets the value for position x to value.
See also value().
Sets the position of the value on the axis to x.
See also x().
Returns the value for position x.
See also setValue().
Returns the position of the value on the axis.
See also setX().
Converts this XValue to QVariant.
Returns true if this XValue has the same value as rhs.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qopcuaxvalue.html