Sur cette page

QOpcUaBrowsePathTarget Class

La cible OPC UA BrowsePathTarget. Plus d'informations...

En-tête : #include <QOpcUaBrowsePathTarget>
CMake : find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake : QT += opcua

Fonctions publiques

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

Description détaillée

Un BrowsePathTarget contient la cible d'un chemin de navigation et des informations sur l'exhaustivité de la résolution de l'identifiant du nœud.

Documentation des fonctions membres

QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget()

Par défaut, la cible du chemin de navigation est construite sans aucun paramètre.

QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget(const QOpcUaBrowsePathTarget &rhs)

Construit un chemin de navigation cible à partir de rhs.

bool QOpcUaBrowsePathTarget::isFullyResolved() const

Renvoie true si le chemin de navigation a été entièrement résolu.

quint32 QOpcUaBrowsePathTarget::remainingPathIndex() const

Renvoie l'indice du premier élément non traité dans le chemin de navigation. Si le chemin a été suivi jusqu'au bout, remainingPathIndex a une valeur maximale de quint32.

Voir aussi setRemainingPathIndex() et QOpcUaBrowsePathTarget::targetId().

void QOpcUaBrowsePathTarget::setRemainingPathIndex(quint32 remainingPathIndex)

Fixe l'index du chemin restant à remainingPathIndex.

Voir aussi remainingPathIndex().

void QOpcUaBrowsePathTarget::setTargetId(const QOpcUaExpandedNodeId &targetId)

Définit l'identifiant du nœud cible à targetId.

Voir aussi targetId().

QOpcUaExpandedNodeId QOpcUaBrowsePathTarget::targetId() const

Renvoie la cible de la dernière référence que le serveur a pu suivre. Si la référence mène à un serveur externe, targetId est l'identifiant du premier nœud sur ce serveur.

Voir aussi setTargetId() et QOpcUaBrowsePathTarget::remainingPathIndex.

QOpcUaExpandedNodeId &QOpcUaBrowsePathTarget::targetIdRef()

Renvoie une référence à l'identifiant de la cible.

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

Définit les valeurs de rhs dans la cible du chemin de navigation.

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

Renvoie true si la cible de ce chemin de navigation a la même valeur 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.