QOpcUaBrowsePathTarget Class
Das OPC UA BrowsePathTarget. Mehr...
| Überschrift: | #include <QOpcUaBrowsePathTarget> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
Öffentliche Funktionen
| QOpcUaBrowsePathTarget() | |
| QOpcUaBrowsePathTarget(const QOpcUaBrowsePathTarget &rhs) | |
| bool | isFullyResolved() const |
| quint32 | remainingPathIndex() const |
| void | setRemainingPathIndex(quint32 remainingPathIndex) |
| void | setTargetId(const QOpcUaExpandedNodeId &targetId) |
| QOpcUaExpandedNodeId | targetId() const |
| QOpcUaExpandedNodeId & | targetIdRef() |
| QOpcUaBrowsePathTarget & | operator=(const QOpcUaBrowsePathTarget &rhs) |
| bool | operator==(const QOpcUaBrowsePathTarget &rhs) const |
Ausführliche Beschreibung
Ein `BrowsePathTarget` enthält ein Ziel eines Suchpfads sowie Informationen über die Vollständigkeit der Auflösung der Knoten-ID.
Dokumentation der Mitgliedsfunktionen
QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget()
„Default“ erstellt ein Ziel für einen Browse-Pfad, ohne dass Parameter festgelegt werden.
QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget(const QOpcUaBrowsePathTarget &rhs)
Erstellt ein Ziel für einen Navigationspfad aus „ rhs “.
bool QOpcUaBrowsePathTarget::isFullyResolved() const
Gibt „ true “ zurück, wenn der Browse-Pfad vollständig aufgelöst wurde.
quint32 QOpcUaBrowsePathTarget::remainingPathIndex() const
Gibt den Index des ersten noch nicht verarbeiteten Elements im Durchsuchungspfad zurück. Wenn der Pfad bis zum Ende durchlaufen wurde, nimmt „remainingPathIndex“ den Maximalwert von „quint32“ an.
Siehe auch „ setRemainingPathIndex()“ und „ QOpcUaBrowsePathTarget::targetId()“.
void QOpcUaBrowsePathTarget::setRemainingPathIndex(quint32 remainingPathIndex)
Setzt den verbleibenden Pfadindex auf „ remainingPathIndex “.
Siehe auch remainingPathIndex().
void QOpcUaBrowsePathTarget::setTargetId(const QOpcUaExpandedNodeId &targetId)
Setzt die Knoten-ID des Zielknotens auf „ targetId “.
Siehe auch targetId().
QOpcUaExpandedNodeId QOpcUaBrowsePathTarget::targetId() const
Gibt das Ziel der letzten Referenz zurück, der der Server folgen konnte. Wenn die Referenz zu einem externen Server führt, ist „targetId“ die ID des ersten Knotens auf diesem Server.
Siehe auch „ setTargetId()“ und „ QOpcUaBrowsePathTarget::remainingPathIndex “.
QOpcUaExpandedNodeId &QOpcUaBrowsePathTarget::targetIdRef()
Gibt eine Referenz auf die Ziel-ID zurück.
QOpcUaBrowsePathTarget &QOpcUaBrowsePathTarget::operator=(const QOpcUaBrowsePathTarget &rhs)
Legt die Werte von „ rhs “ in diesem Zielpfad fest.
bool QOpcUaBrowsePathTarget::operator==(const QOpcUaBrowsePathTarget &rhs) const
Gibt „ true “ zurück, wenn dieses Ziel des Navigationspfads denselben Wert wie „ rhs “ hat.
© 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.