QOpcUaDiagnosticInfo Class

QOpcUaDiagnosticInfo 클래스는 OPC UA 내장 유형 DiagnosticInfo를 모델링합니다. 더 보기...

Header: #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
QVariant 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 유형 멤버는 현재 Qt OPC UA 에서 지원하지 않는 OPC UA 응답 헤더의 stringTable 필드에 있는 인덱스를 참조합니다.

멤버 함수 문서

QOpcUaDiagnosticInfo::QOpcUaDiagnosticInfo()

진단 정보를 구성합니다.

QOpcUaDiagnosticInfo::QOpcUaDiagnosticInfo(const QOpcUaDiagnosticInfo &other)

other 에서 진단 정보를 구성합니다.

[noexcept] 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)

이 진단 정보에 네임스페이스 URI가 있는지 여부에 대한 정보를 newHasNamespaceUri 로 설정합니다.

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()도 참조하세요 .

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

lhsrhs 과 같지 않으면 true 을 반환합니다 .

[noexcept] bool operator==(const QOpcUaDiagnosticInfo &lhs, const QOpcUaDiagnosticInfo &rhs)

lhsrhs 과 같으면 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.