In questa pagina

QOpcUaBrowsePathTarget Class

Il BrowsePathTarget di OPC UA. Per saperne di più...

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

Funzioni pubbliche

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

Descrizione dettagliata

Un oggetto BrowsePathTarget contiene un target di un percorso di navigazione e informazioni sulla completezza della risoluzione dell'ID del nodo.

Documentazione delle funzioni membro

QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget()

Il valore predefinito crea una destinazione del percorso di navigazione senza parametri specificati.

QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget(const QOpcUaBrowsePathTarget &rhs)

Crea un percorso di navigazione di destinazione a partire da rhs.

bool QOpcUaBrowsePathTarget::isFullyResolved() const

Restituisce ` true ` se il percorso di navigazione è stato risolto completamente.

quint32 QOpcUaBrowsePathTarget::remainingPathIndex() const

Restituisce l'indice del primo elemento non elaborato nel percorso di navigazione. Se il percorso è stato seguito fino alla fine, remainingPathIndex assume il valore massimo di quint32.

Vedi anche setRemainingPathIndex() e QOpcUaBrowsePathTarget::targetId().

void QOpcUaBrowsePathTarget::setRemainingPathIndex(quint32 remainingPathIndex)

Imposta l'indice del percorso rimanente su remainingPathIndex.

Vedi anche remainingPathIndex().

void QOpcUaBrowsePathTarget::setTargetId(const QOpcUaExpandedNodeId &targetId)

Imposta l'ID del nodo di destinazione su targetId.

Vedi anche targetId().

QOpcUaExpandedNodeId QOpcUaBrowsePathTarget::targetId() const

Restituisce la destinazione dell'ultimo riferimento che il server è riuscito a seguire. Se il riferimento porta a un server esterno, `targetId` è l'ID del primo nodo su quel server.

Vedi anche setTargetId() e QOpcUaBrowsePathTarget::remainingPathIndex.

QOpcUaExpandedNodeId &QOpcUaBrowsePathTarget::targetIdRef()

Restituisce un riferimento all'ID di destinazione.

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

Imposta i valori di " rhs " in questa destinazione del percorso di navigazione.

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

Restituisce " true " se questo percorso di navigazione ha lo stesso valore di " 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.