QOpcUaBrowsePathTarget Class

OPC UA BrowsePathTarget。詳細...

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

パブリック関数

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

詳細説明

BrowsePathTarget には、ブラウズパスのターゲットと、ノード ID 解決の完全性に関する情報が含まれます。

メンバ関数ドキュメント

QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget()

デフォルトは、パラメータを設定しないブラウズ・パス・ターゲットを構築する。

QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget(const QOpcUaBrowsePathTarget &rhs)

rhs からブラウズパスターゲットを構築する。

bool QOpcUaBrowsePathTarget::isFullyResolved() const

ブラウズパスが完全に解決されていればtrue を返す。

quint32 QOpcUaBrowsePathTarget::remainingPathIndex() const

ブラウズパスの最初の未処理の要素のインデックスを返します。パスを最後までたどった場合は、 remainingPathIndex の最大値は quint32 となります。

setRemainingPathIndex() およびQOpcUaBrowsePathTarget::targetId()も参照

void QOpcUaBrowsePathTarget::setRemainingPathIndex(quint32 remainingPathIndex)

残りのパスインデックスをremainingPathIndex に設定する。

remainingPathIndex()も参照のこと

void QOpcUaBrowsePathTarget::setTargetId(const QOpcUaExpandedNodeId &targetId)

ターゲット・ノードのノード ID をtargetId に設定する。

targetId()も参照してください

QOpcUaExpandedNodeId QOpcUaBrowsePathTarget::targetId() const

サーバーが最後にたどった参照のターゲットを返します。参照先が外部サーバーの場合、targetIdはそのサーバー上の最初のノードの ID となります。

setTargetId() およびQOpcUaBrowsePathTarget::remainingPathIndexも参照してください

QOpcUaExpandedNodeId &QOpcUaBrowsePathTarget::targetIdRef()

ターゲットIDへの参照を返す。

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

このブラウズ・パス・ターゲットのrhs の値を設定する。

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

このブラウズ・パス・ターゲットがrhs と同じ値を持つ場合、true を返す。

© 2025 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.