The OPC UA XVType. More...
Header: | #include <QOpcUaXValue> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
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.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: