이 페이지에서

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()

Default는 매개변수가 설정되지 않은 탐색 경로 대상을 생성합니다.

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 을 반환합니다.

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