En esta página

QOpcUaBrowsePathTarget Class

El BrowsePathTarget de OPC UA. Más información...

Encabezado: #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 destino de una ruta de navegación e información sobre la completitud de la resolución del identificador de nodo.

Documentación de las funciones de miembro

QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget()

«Default» crea un destino de ruta de navegación sin parámetros definidos.

QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget(const QOpcUaBrowsePathTarget &rhs)

Crea un destino de 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 sin procesar de la ruta de exploración. Si se ha recorrido la ruta hasta el final, `remainingPathIndex` toma 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 identificador 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 conduce a un servidor externo, `targetId` es el identificador del primer nodo de ese servidor.

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

QOpcUaExpandedNodeId &QOpcUaBrowsePathTarget::targetIdRef()

Devuelve una referencia al identificador de destino.

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

Establece los valores de « rhs » en este destino de ruta de exploración.

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

Devuelve « true » si este destino 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.