QOpcUaXValue Class
Der OPC UA XVType. Mehr...
Kopfzeile: | #include <QOpcUaXValue> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
Öffentliche Funktionen
QOpcUaXValue() | |
QOpcUaXValue(double x, float value) | |
QOpcUaXValue(const QOpcUaXValue &rhs) | |
void | setValue(float value) |
void | setX(double x) |
float | value() const |
double | x() const |
QVariant | operator QVariant() const |
QOpcUaXValue & | operator=(const QOpcUaXValue &rhs) |
bool | operator==(const QOpcUaXValue &rhs) const |
Detaillierte Beschreibung
Dies ist die Qt OPC UA Darstellung für den OPC UA XVType Typ, definiert in OPC UA 1.05 Teil 8, 5.6.8. Dieser Typ wird verwendet, um Werte mit Float-Präzision auf einer Achse mit Double-Präzision zu positionieren.
Dokumentation der Mitgliedsfunktionen
QOpcUaXValue::QOpcUaXValue()
Default konstruiert ein XValue-Objekt ohne Parameter.
QOpcUaXValue::QOpcUaXValue(double x, float value)
Konstruiert einen XValue mit Position x und Wert value.
QOpcUaXValue::QOpcUaXValue(const QOpcUaXValue &rhs)
Konstruiert einen XValue aus rhs.
void QOpcUaXValue::setValue(float value)
Setzt den Wert für die Position x auf value.
Siehe auch value().
void QOpcUaXValue::setX(double x)
Setzt die Position des Wertes auf der Achse auf x.
Siehe auch x().
float QOpcUaXValue::value() const
Gibt den Wert für die Position x zurück.
Siehe auch setValue().
double QOpcUaXValue::x() const
Gibt die Position des Wertes auf der Achse zurück.
Siehe auch setX().
QVariant QOpcUaXValue::operator QVariant() const
Wandelt diesen XV-Wert in QVariant um.
QOpcUaXValue &QOpcUaXValue::operator=(const QOpcUaXValue &rhs)
Legt die Werte von rhs in diesem XValue fest.
bool QOpcUaXValue::operator==(const QOpcUaXValue &rhs) const
Gibt true
zurück, wenn dieser XValue den gleichen Wert wie rhs hat.
© 2025 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.