QOpcUaXValue Class
El XVType de OPC UA. Más...
| Cabecera: | #include <QOpcUaXValue> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa)target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
Funciones públicas
| QOpcUaXValue() | |
| QOpcUaXValue(double x, float value) | |
| QOpcUaXValue(const QOpcUaXValue &rhs) | |
| void | setValue(float value) |
| void | setX(double x) |
| float | value() const |
| double | x() const |
| operator QVariant() const | |
| QOpcUaXValue & | operator=(const QOpcUaXValue &rhs) |
| bool | operator==(const QOpcUaXValue &rhs) const |
Descripción detallada
Esta es la representación Qt OPC UA para el tipo OPC UA XVType definido en OPC UA 1.05 parte 8, 5.6.8. Este tipo se utiliza para posicionar valores de precisión flotante en un eje de precisión doble.
Documentación de la función miembro
QOpcUaXValue::QOpcUaXValue()
Default construye un objeto XValue sin parámetros.
QOpcUaXValue::QOpcUaXValue(double x, float value)
Construye un XValue con la posición x y el valor value.
QOpcUaXValue::QOpcUaXValue(const QOpcUaXValue &rhs)
Construye un XValue a partir de rhs.
void QOpcUaXValue::setValue(float value)
Establece el valor de la posición x en value.
Véase también value().
void QOpcUaXValue::setX(double x)
Establece la posición del valor en el eje en x.
Véase también x().
float QOpcUaXValue::value() const
Devuelve el valor de la posición x.
Véase también setValue().
double QOpcUaXValue::x() const
Devuelve la posición del valor en el eje.
Véase también setX().
QOpcUaXValue::operator QVariant() const
Convierte este XValue a QVariant.
QOpcUaXValue &QOpcUaXValue::operator=(const QOpcUaXValue &rhs)
Establece los valores de rhs en este XValue.
bool QOpcUaXValue::operator==(const QOpcUaXValue &rhs) const
Devuelve true si este XValue tiene el mismo valor que rhs.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.