QOpcUaBrowsePathTarget Class
Le BrowsePathTarget OPC UA. En savoir plus...
| 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 objet BrowsePathTarget contient une cible d'un chemin de navigation ainsi que des informations sur l'exhaustivité de la résolution de l'identifiant de nœud.
Documentation des fonctions membres
QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget()
La valeur par défaut crée une cible de chemin de navigation sans aucun paramètre défini.
QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget(const QOpcUaBrowsePathTarget &rhs)
Crée une cible de chemin de navigation à partir de rhs.
bool QOpcUaBrowsePathTarget::isFullyResolved() const
Renvoie « true » si le chemin d'accès a été entièrement résolu.
quint32 QOpcUaBrowsePathTarget::remainingPathIndex() const
Renvoie l'index du premier élément non traité dans le chemin de navigation. Si le chemin a été parcouru jusqu'au bout, la variable `remainingPathIndex` prend la valeur maximale de `quint32`.
Voir également setRemainingPathIndex() et QOpcUaBrowsePathTarget::targetId().
void QOpcUaBrowsePathTarget::setRemainingPathIndex(quint32 remainingPathIndex)
Définit l'index du chemin restant sur remainingPathIndex.
Voir également remainingPathIndex().
void QOpcUaBrowsePathTarget::setTargetId(const QOpcUaExpandedNodeId &targetId)
Définit l'identifiant du nœud cible sur targetId.
Voir également 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` correspond à l'identifiant du premier nœud sur ce serveur.
Voir également 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 cette cible de chemin de navigation.
bool QOpcUaBrowsePathTarget::operator==(const QOpcUaBrowsePathTarget &rhs) const
Renvoie « true » si cette cible de 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.