Nesta página

QOpcUaBrowsePathTarget Class

O BrowsePathTarget do OPC UA. Mais...

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

Funções 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

Descrição detalhada

Um BrowsePathTarget contém um destino de um caminho de navegação e informações sobre a integridade da resolução do ID do nó.

Documentação das funções de membro

QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget()

O `default` cria um destino de caminho de navegação sem parâmetros definidos.

QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget(const QOpcUaBrowsePathTarget &rhs)

Cria um destino de caminho de navegação a partir de rhs.

bool QOpcUaBrowsePathTarget::isFullyResolved() const

Retorna ` true ` se o caminho de navegação tiver sido totalmente resolvido.

quint32 QOpcUaBrowsePathTarget::remainingPathIndex() const

Retorna o índice do primeiro elemento não processado no caminho de navegação. Se o caminho foi percorrido até o fim, remainingPathIndex assume o valor máximo de quint32.

Veja também setRemainingPathIndex() e QOpcUaBrowsePathTarget::targetId().

void QOpcUaBrowsePathTarget::setRemainingPathIndex(quint32 remainingPathIndex)

Define o índice do caminho restante como remainingPathIndex.

Veja também remainingPathIndex().

void QOpcUaBrowsePathTarget::setTargetId(const QOpcUaExpandedNodeId &targetId)

Define o ID do nó de destino como targetId.

Veja também targetId().

QOpcUaExpandedNodeId QOpcUaBrowsePathTarget::targetId() const

Retorna o destino da última referência que o servidor conseguiu seguir. Se a referência levar a um servidor externo, `targetId` é o ID do primeiro nó nesse servidor.

Veja também setTargetId() e QOpcUaBrowsePathTarget::remainingPathIndex.

QOpcUaExpandedNodeId &QOpcUaBrowsePathTarget::targetIdRef()

Retorna uma referência ao ID do destino.

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

Define os valores de “ rhs ” neste destino de caminho de navegação.

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

Retorna ` true ` se esse destino do caminho de navegação tiver o mesmo 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.