En esta página

QOpcUaBrowsePathTarget Class

El BrowsePathTarget de OPC UA. Más...

Cabecera: #include <QOpcUaBrowsePathTarget>
CMake: find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: QT += opcua

Funciones públicas

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

Descripción detallada

Un BrowsePathTarget contiene un objetivo de una ruta de navegación e información sobre la integridad de la resolución del id de nodo.

Documentación de las funciones de los miembros

QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget()

Por defecto construye un objetivo de ruta de navegación sin parámetros.

QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget(const QOpcUaBrowsePathTarget &rhs)

Construye una ruta de navegación a partir de rhs.

bool QOpcUaBrowsePathTarget::isFullyResolved() const

Devuelve true si la ruta de navegación se ha resuelto por completo.

quint32 QOpcUaBrowsePathTarget::remainingPathIndex() const

Devuelve el índice del primer elemento no procesado en la ruta de navegación. Si la ruta se siguió hasta el final, remainingPathIndex tiene el valor máximo de quint32.

Véase también setRemainingPathIndex() y QOpcUaBrowsePathTarget::targetId().

void QOpcUaBrowsePathTarget::setRemainingPathIndex(quint32 remainingPathIndex)

Establece el índice de ruta restante en remainingPathIndex.

Véase también remainingPathIndex().

void QOpcUaBrowsePathTarget::setTargetId(const QOpcUaExpandedNodeId &targetId)

Establece el id del nodo de destino en targetId.

Véase también targetId().

QOpcUaExpandedNodeId QOpcUaBrowsePathTarget::targetId() const

Devuelve el destino de la última referencia que el servidor pudo seguir. Si la referencia lleva a un servidor externo, targetId es el id del primer nodo de ese servidor.

Véase también setTargetId() y QOpcUaBrowsePathTarget::remainingPathIndex.

QOpcUaExpandedNodeId &QOpcUaBrowsePathTarget::targetIdRef()

Devuelve una referencia al id de destino.

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

Establece los valores de rhs en este objetivo de ruta de navegación.

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

Devuelve true si este objetivo de ruta de navegación tiene el mismo valor 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.