QOpcUaBrowsePathTarget Class

Das OPC UA BrowsePathTarget. Mehr...

Kopfzeile: #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

Detaillierte Beschreibung

Ein BrowsePathTarget enthält ein Ziel eines Browse-Pfades und Informationen über die Vollständigkeit der Node-ID-Auflösung.

Dokumentation der Memberfunktionen

QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget()

Default konstruiert ein Browse-Pfad-Ziel ohne gesetzte Parameter.

QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget(const QOpcUaBrowsePathTarget &rhs)

Konstruiert ein Browse-Pfad-Ziel aus rhs.

bool QOpcUaBrowsePathTarget::isFullyResolved() const

Gibt true zurück, wenn der Suchpfad vollständig aufgelöst wurde.

quint32 QOpcUaBrowsePathTarget::remainingPathIndex() const

Gibt den Index des ersten unbearbeiteten Elements im Suchpfad zurück. Wenn der Pfad bis zum Ende verfolgt wurde, hat remainingPathIndex den Maximalwert von quint32.

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 des letzten Verweises zurück, dem der Server folgen konnte. Wenn der Verweis 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 einen Verweis auf die Ziel-ID zurück.

QOpcUaBrowsePathTarget &QOpcUaBrowsePathTarget::operator=(const QOpcUaBrowsePathTarget &rhs)

Legt die Werte von rhs in diesem Suchpfadziel fest.

bool QOpcUaBrowsePathTarget::operator==(const QOpcUaBrowsePathTarget &rhs) const

Gibt true zurück, wenn dieses Suchpfadziel denselben 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.