QOpcUaDiagnosticInfo Class
QOpcUaDiagnosticInfo 클래스는 OPC UA의 내장형 DiagnosticInfo를 모델링합니다. 더 보기...
| 헤더: | #include <QOpcUaDiagnosticInfo> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
| 다음부터: | Qt 6.7부터 |
공개 함수
| QOpcUaDiagnosticInfo() | |
| QOpcUaDiagnosticInfo(const QOpcUaDiagnosticInfo &other) | |
| QOpcUaDiagnosticInfo(QOpcUaDiagnosticInfo &&other) | |
| ~QOpcUaDiagnosticInfo() | |
| QString | additionalInfo() const |
| bool | hasAdditionalInfo() const |
| bool | hasInnerDiagnosticInfo() const |
| bool | hasInnerStatusCode() const |
| bool | hasLocale() const |
| bool | hasLocalizedText() const |
| bool | hasNamespaceUri() const |
| bool | hasSymbolicId() const |
| QOpcUaDiagnosticInfo | innerDiagnosticInfo() const |
| QOpcUaDiagnosticInfo & | innerDiagnosticInfoRef() |
| QOpcUa::UaStatusCode | innerStatusCode() const |
| qint32 | locale() const |
| qint32 | localizedText() const |
| qint32 | namespaceUri() const |
| void | setAdditionalInfo(const QString &newAdditionalInfo) |
| void | setHasAdditionalInfo(bool newHasAdditionalInfo) |
| void | setHasInnerDiagnosticInfo(bool newHasInnerDiagnosticInfo) |
| void | setHasInnerStatusCode(bool newHasInnerStatusCode) |
| void | setHasLocale(bool newHasLocale) |
| void | setHasLocalizedText(bool newHasLocalizedText) |
| void | setHasNamespaceUri(bool newHasNamespaceUri) |
| void | setHasSymbolicId(bool newHasSymbolicId) |
| void | setInnerDiagnosticInfo(const QOpcUaDiagnosticInfo &newInnerDiagnosticInfo) |
| void | setInnerStatusCode(QOpcUa::UaStatusCode newInnerStatusCode) |
| void | setLocale(qint32 newLocale) |
| void | setLocalizedText(qint32 newLocalizedText) |
| void | setNamespaceUri(qint32 newNamespaceUri) |
| void | setSymbolicId(qint32 newSymbolicId) |
| void | swap(QOpcUaDiagnosticInfo &other) |
| qint32 | symbolicId() const |
| operator QVariant() const | |
| QOpcUaDiagnosticInfo & | operator=(QOpcUaDiagnosticInfo &&other) |
| QOpcUaDiagnosticInfo & | operator=(const QOpcUaDiagnosticInfo &rhs) |
관련 비멤버
| bool | operator!=(const QOpcUaDiagnosticInfo &lhs, const QOpcUaDiagnosticInfo &rhs) |
| bool | operator==(const QOpcUaDiagnosticInfo &lhs, const QOpcUaDiagnosticInfo &rhs) |
상세 설명
DiagnosticInfo 유형은 서버에서 수행되는 일부 작업에 대한 진단 정보를 전달하는 데 사용됩니다. qint32 유형의 멤버는 OPC UA 응답 헤더의 stringTable 필드에 있는 인덱스를 참조하지만, 현재 Qt OPC UA 에서는 지원되지 않습니다.
멤버 함수 설명
QOpcUaDiagnosticInfo::QOpcUaDiagnosticInfo()
진단 정보를 생성합니다.
QOpcUaDiagnosticInfo::QOpcUaDiagnosticInfo(const QOpcUaDiagnosticInfo &other)
other 에서 진단 정보를 생성합니다.
[constexpr noexcept default] QOpcUaDiagnosticInfo::QOpcUaDiagnosticInfo(QOpcUaDiagnosticInfo &&other)
other 에서 새로운 진단 정보를 생성합니다.
참고: 이동된대상 객체 other 는 부분적으로 형성된 상태로 전환되며, 이 상태에서는 소멸과 새 값 할당만이 유효한 연산입니다.
[noexcept] QOpcUaDiagnosticInfo::~QOpcUaDiagnosticInfo()
이 진단 정보 객체를 삭제합니다.
QString QOpcUaDiagnosticInfo::additionalInfo() const
이 진단 정보에 대한 추가 정보를 반환합니다.
setAdditionalInfo()도 참조하십시오 .
bool QOpcUaDiagnosticInfo::hasAdditionalInfo() const
이 진단 정보에 추가 정보가 포함되어 있으면 true 를 반환합니다.
setHasAdditionalInfo()도 참조하십시오 .
bool QOpcUaDiagnosticInfo::hasInnerDiagnosticInfo() const
이 진단 정보에 내부 진단 정보가 포함되어 있는 경우 true 을 반환합니다.
setHasInnerDiagnosticInfo()도 참조하십시오 .
bool QOpcUaDiagnosticInfo::hasInnerStatusCode() const
이 진단 정보에 내부 상태 코드가 포함되어 있으면 true 을 반환합니다.
setHasInnerStatusCode()도 참조하십시오 .
bool QOpcUaDiagnosticInfo::hasLocale() const
이 진단 정보에 로케일이 설정되어 있으면 true 를 반환합니다.
setHasLocale()도 참조하십시오 .
bool QOpcUaDiagnosticInfo::hasLocalizedText() const
이 진단 정보에 현지화된 텍스트가 있는 경우 true 를 반환합니다.
setHasLocalizedText()도 참조하십시오 .
bool QOpcUaDiagnosticInfo::hasNamespaceUri() const
이 진단 정보에 네임스페이스 URI가 있는 경우 true 를 반환합니다.
setHasNamespaceUri()도 참조하십시오 .
bool QOpcUaDiagnosticInfo::hasSymbolicId() const
이 진단 정보에 기호 ID가 있는 경우 true 를 반환합니다.
setHasSymbolicId()도 참조하십시오 .
QOpcUaDiagnosticInfo QOpcUaDiagnosticInfo::innerDiagnosticInfo() const
이 진단 정보의 내부 진단 정보를 반환합니다.
setInnerDiagnosticInfo()도 참조하십시오 .
QOpcUaDiagnosticInfo &QOpcUaDiagnosticInfo::innerDiagnosticInfoRef()
이 진단 정보의 내부 진단 정보에 대한 참조를 반환합니다.
QOpcUa::UaStatusCode QOpcUaDiagnosticInfo::innerStatusCode() const
이 진단 정보의 내부 상태 코드를 반환합니다.
setInnerStatusCode()도 참조하십시오 .
qint32 QOpcUaDiagnosticInfo::locale() const
이 진단 정보의 로케일을 반환합니다.
setLocale()도 참조하십시오 .
qint32 QOpcUaDiagnosticInfo::localizedText() const
이 진단 정보의 현지화된 텍스트를 반환합니다.
setLocalizedText()도 참조하십시오 .
qint32 QOpcUaDiagnosticInfo::namespaceUri() const
이 진단 정보의 네임스페이스 URI를 반환합니다.
setNamespaceUri()도 참조하십시오 .
void QOpcUaDiagnosticInfo::setAdditionalInfo(const QString &newAdditionalInfo)
이 진단 정보의 추가 정보를 newAdditionalInfo 로 설정합니다.
additionalInfo()도 참조하십시오 .
void QOpcUaDiagnosticInfo::setHasAdditionalInfo(bool newHasAdditionalInfo)
이 진단 정보에 추가 정보가 포함되어 있는지 여부를 newHasAdditionalInfo 에 설정합니다.
hasAdditionalInfo()도 참조하십시오 .
void QOpcUaDiagnosticInfo::setHasInnerDiagnosticInfo(bool newHasInnerDiagnosticInfo)
이 진단 정보에 하위 진단 정보가 있는지 여부에 대한 정보를 ` newHasInnerDiagnosticInfo`로 설정합니다.
hasInnerDiagnosticInfo()도 참조하십시오 .
void QOpcUaDiagnosticInfo::setHasInnerStatusCode(bool newHasInnerStatusCode)
이 진단 정보에 내부 상태 코드가 있는지 여부에 대한 정보를 ` newHasInnerStatusCode`로 설정합니다.
hasInnerStatusCode()도 참조하십시오 .
void QOpcUaDiagnosticInfo::setHasLocale(bool newHasLocale)
이 진단 정보에 로케일이 있는지 여부에 대한 정보를 newHasLocale 로 설정합니다.
hasLocale()도 참조하십시오 .
void QOpcUaDiagnosticInfo::setHasLocalizedText(bool newHasLocalizedText)
이 진단 정보에 현지화된 텍스트가 있는지 여부에 대한 정보를 ` newHasLocalizedText`에 설정합니다.
hasLocalizedText()도 참조하십시오 .
void QOpcUaDiagnosticInfo::setHasNamespaceUri(bool newHasNamespaceUri)
이 진단 정보에 newHasNamespaceUri 라는 네임스페이스 URI가 있는지 여부를 설정합니다.
hasNamespaceUri()도 참조하십시오 .
void QOpcUaDiagnosticInfo::setHasSymbolicId(bool newHasSymbolicId)
이 진단 정보에 기호 ID가 있는지 여부에 대한 정보를 newHasSymbolicId 로 설정합니다.
hasSymbolicId()도 참조하십시오 .
void QOpcUaDiagnosticInfo::setInnerDiagnosticInfo(const QOpcUaDiagnosticInfo &newInnerDiagnosticInfo)
이 진단 정보의 내부 진단 정보를 newInnerDiagnosticInfo 로 설정합니다.
innerDiagnosticInfo()도 참조하십시오 .
void QOpcUaDiagnosticInfo::setInnerStatusCode(QOpcUa::UaStatusCode newInnerStatusCode)
이 진단 정보의 내부 상태 코드를 newInnerStatusCode 로 설정합니다.
innerStatusCode()도 참조하십시오 .
void QOpcUaDiagnosticInfo::setLocale(qint32 newLocale)
이 진단 정보의 로케일을 newLocale 로 설정합니다.
locale()도 참조하십시오 .
void QOpcUaDiagnosticInfo::setLocalizedText(qint32 newLocalizedText)
이 진단 정보의 현지화된 텍스트를 newLocalizedText 로 설정합니다.
localizedText()도 참조하십시오 .
void QOpcUaDiagnosticInfo::setNamespaceUri(qint32 newNamespaceUri)
이 진단 정보의 네임스페이스 URI를 newNamespaceUri 로 설정합니다.
namespaceUri()도 참조하십시오 .
void QOpcUaDiagnosticInfo::setSymbolicId(qint32 newSymbolicId)
이 진단 정보의 기호 ID를 newSymbolicId 로 설정합니다.
symbolicId()도 참조하십시오 .
[noexcept] void QOpcUaDiagnosticInfo::swap(QOpcUaDiagnosticInfo &other)
진단 정보 객체 other 를 이 진단 정보 객체로 교체합니다. 이 작업은 매우 빠르게 수행되며 실패하는 일이 없습니다.
qint32 QOpcUaDiagnosticInfo::symbolicId() const
이 진단 정보의 기호 ID를 반환합니다.
setSymbolicId()도 참조하십시오 .
QOpcUaDiagnosticInfo::operator QVariant() const
이 진단 정보를 포함하는 ` QVariant `를 반환합니다.
[noexcept] QOpcUaDiagnosticInfo &QOpcUaDiagnosticInfo::operator=(QOpcUaDiagnosticInfo &&other)
other 를 이 QOpcUaDiagnosticInfo 인스턴스에 이동 할당합니다.
참고: 이동된객체 other 는 부분적으로 형성된 상태가 되며, 이 상태에서는 소멸과 새 값 할당만이 유효한 연산입니다.
QOpcUaDiagnosticInfo &QOpcUaDiagnosticInfo::operator=(const QOpcUaDiagnosticInfo &rhs)
이 진단 정보에서 ‘ rhs ’의 값을 설정합니다.
관련 비회원
[noexcept] bool operator!=(const QOpcUaDiagnosticInfo &lhs, const QOpcUaDiagnosticInfo &rhs)
lhs 가 rhs 와 같지 않은 경우, true 를 반환합니다.
[noexcept] bool operator==(const QOpcUaDiagnosticInfo &lhs, const QOpcUaDiagnosticInfo &rhs)
lhs 가 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.