QOpcUaDiagnosticInfo Class
Die Klasse QOpcUaDiagnosticInfo modelliert den in OPC UA integrierten Typ DiagnosticInfo. Mehr...
Kopfzeile: | #include <QOpcUaDiagnosticInfo> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
Seit: | Qt 6.7 |
Öffentliche Funktionen
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) |
Verwandte Nicht-Mitglieder
bool | operator!=(const QOpcUaDiagnosticInfo &lhs, const QOpcUaDiagnosticInfo &rhs) |
bool | operator==(const QOpcUaDiagnosticInfo &lhs, const QOpcUaDiagnosticInfo &rhs) |
Detaillierte Beschreibung
Der DiagnosticInfo-Typ wird verwendet, um Diagnosen für einige Operationen auf dem Server zu übermitteln. Die Mitglieder des Typs qint32 beziehen sich auf einen Index im Feld stringTable des OPC UA Antwort-Headers, der derzeit von Qt OPC UA nicht unterstützt wird.
Dokumentation der Mitgliedsfunktionen
QOpcUaDiagnosticInfo::QOpcUaDiagnosticInfo()
Konstruiert eine Diagnoseinformation.
QOpcUaDiagnosticInfo::QOpcUaDiagnosticInfo(const QOpcUaDiagnosticInfo &other)
Konstruiert eine Diagnoseinformation aus other.
[noexcept]
QOpcUaDiagnosticInfo::QOpcUaDiagnosticInfo(QOpcUaDiagnosticInfo &&other)
Move-konstruiert eine neue Diagnoseinformation aus other.
Hinweis: Das verschobene Objekt other wird in einen teilweisen Zustand versetzt, in dem die einzigen gültigen Operationen die Zerstörung und die Zuweisung eines neuen Wertes sind.
[noexcept]
QOpcUaDiagnosticInfo::~QOpcUaDiagnosticInfo()
Zerstört dieses Diagnose-Info-Objekt.
QString QOpcUaDiagnosticInfo::additionalInfo() const
Gibt die zusätzlichen Informationen dieser Diagnoseinformation zurück.
Siehe auch setAdditionalInfo().
bool QOpcUaDiagnosticInfo::hasAdditionalInfo() const
Gibt true
zurück, wenn diese Diagnoseinformation zusätzliche Informationen enthält.
Siehe auch setHasAdditionalInfo().
bool QOpcUaDiagnosticInfo::hasInnerDiagnosticInfo() const
Gibt true
zurück, wenn diese Diagnoseinformation eine innere Diagnoseinformation hat.
Siehe auch setHasInnerDiagnosticInfo().
bool QOpcUaDiagnosticInfo::hasInnerStatusCode() const
Gibt true
zurück, wenn diese Diagnoseinformation einen inneren Statuscode hat.
Siehe auch setHasInnerStatusCode().
bool QOpcUaDiagnosticInfo::hasLocale() const
Gibt true
zurück, wenn diese Diagnoseinformation ein Gebietsschema hat.
Siehe auch setHasLocale().
bool QOpcUaDiagnosticInfo::hasLocalizedText() const
Gibt true
zurück, wenn diese Diagnoseinformation einen lokalisierten Text hat.
Siehe auch setHasLocalizedText().
bool QOpcUaDiagnosticInfo::hasNamespaceUri() const
Gibt true
zurück, wenn diese Diagnoseinformation einen Namespace-URI hat.
Siehe auch setHasNamespaceUri().
bool QOpcUaDiagnosticInfo::hasSymbolicId() const
Gibt true
zurück, wenn diese Diagnoseinformation eine symbolische ID hat.
Siehe auch setHasSymbolicId().
QOpcUaDiagnosticInfo QOpcUaDiagnosticInfo::innerDiagnosticInfo() const
Gibt die innere Diagnose-Information dieser Diagnose-Information zurück.
Siehe auch setInnerDiagnosticInfo().
QOpcUaDiagnosticInfo &QOpcUaDiagnosticInfo::innerDiagnosticInfoRef()
Gibt eine Referenz auf die innere Diagnose-Info dieser Diagnose-Info zurück.
QOpcUa::UaStatusCode QOpcUaDiagnosticInfo::innerStatusCode() const
Gibt den inneren Statuscode dieser Diagnoseinformation zurück.
Siehe auch setInnerStatusCode().
qint32 QOpcUaDiagnosticInfo::locale() const
Gibt das Gebietsschema dieser Diagnoseinformation zurück.
Siehe auch setLocale().
qint32 QOpcUaDiagnosticInfo::localizedText() const
Gibt den lokalisierten Text dieser Diagnoseinformation zurück.
Siehe auch setLocalizedText().
qint32 QOpcUaDiagnosticInfo::namespaceUri() const
Gibt den Namespace-URI dieser Diagnoseinformation zurück.
Siehe auch setNamespaceUri().
void QOpcUaDiagnosticInfo::setAdditionalInfo(const QString &newAdditionalInfo)
Setzt die Zusatzinformationen dieser Diagnose-Info auf newAdditionalInfo.
Siehe auch additionalInfo().
void QOpcUaDiagnosticInfo::setHasAdditionalInfo(bool newHasAdditionalInfo)
Legt die Information fest, ob diese Diagnoseinformation zusätzliche Informationen zu newHasAdditionalInfo enthält.
Siehe auch hasAdditionalInfo().
void QOpcUaDiagnosticInfo::setHasInnerDiagnosticInfo(bool newHasInnerDiagnosticInfo)
Setzt die Information, ob diese Diagnose-Info eine innere Diagnose-Info hat, auf newHasInnerDiagnosticInfo.
Siehe auch hasInnerDiagnosticInfo().
void QOpcUaDiagnosticInfo::setHasInnerStatusCode(bool newHasInnerStatusCode)
Setzt die Information, ob diese Diagnoseinformation einen inneren Statuscode hat, auf newHasInnerStatusCode.
Siehe auch hasInnerStatusCode().
void QOpcUaDiagnosticInfo::setHasLocale(bool newHasLocale)
Setzt die Information, ob diese Diagnoseinformation ein Gebietsschema hat, auf newHasLocale.
Siehe auch hasLocale().
void QOpcUaDiagnosticInfo::setHasLocalizedText(bool newHasLocalizedText)
Setzt die Information, ob diese Diagnoseinformation einen lokalisierten Text hat, auf newHasLocalizedText.
Siehe auch hasLocalizedText().
void QOpcUaDiagnosticInfo::setHasNamespaceUri(bool newHasNamespaceUri)
Setzt die Information, ob diese Diagnoseinformation einen Namespace URI hat, auf newHasNamespaceUri.
Siehe auch hasNamespaceUri().
void QOpcUaDiagnosticInfo::setHasSymbolicId(bool newHasSymbolicId)
Setzt die Information, ob diese Diagnoseinformation eine symbolische ID hat, auf newHasSymbolicId.
Siehe auch hasSymbolicId().
void QOpcUaDiagnosticInfo::setInnerDiagnosticInfo(const QOpcUaDiagnosticInfo &newInnerDiagnosticInfo)
Setzt die innere Diagnose-Info dieser Diagnose-Info auf newInnerDiagnosticInfo.
Siehe auch innerDiagnosticInfo().
void QOpcUaDiagnosticInfo::setInnerStatusCode(QOpcUa::UaStatusCode newInnerStatusCode)
Setzt den inneren Statuscode dieser Diagnoseinformation auf newInnerStatusCode.
Siehe auch innerStatusCode().
void QOpcUaDiagnosticInfo::setLocale(qint32 newLocale)
Setzt das Gebietsschema dieser Diagnoseinformation auf newLocale.
Siehe auch locale().
void QOpcUaDiagnosticInfo::setLocalizedText(qint32 newLocalizedText)
Setzt den lokalisierten Text dieser Diagnoseinformation auf newLocalizedText.
Siehe auch localizedText().
void QOpcUaDiagnosticInfo::setNamespaceUri(qint32 newNamespaceUri)
Setzt den Namespace URI dieser Diagnoseinformation auf newNamespaceUri.
Siehe auch namespaceUri().
void QOpcUaDiagnosticInfo::setSymbolicId(qint32 newSymbolicId)
Setzt die symbolische ID dieser Diagnoseinformation auf newSymbolicId.
Siehe auch symbolicId().
[noexcept]
void QOpcUaDiagnosticInfo::swap(QOpcUaDiagnosticInfo &other)
Tauscht das Diagnose-Info-Objekt other mit diesem Diagnose-Info-Objekt aus. Dieser Vorgang ist sehr schnell und schlägt nie fehl.
qint32 QOpcUaDiagnosticInfo::symbolicId() const
Gibt die symbolische ID dieser Diagnoseinformation zurück.
Siehe auch setSymbolicId().
QVariant QOpcUaDiagnosticInfo::operator QVariant() const
Gibt eine QVariant mit diesen Diagnoseinformationen zurück.
[noexcept]
QOpcUaDiagnosticInfo &QOpcUaDiagnosticInfo::operator=(QOpcUaDiagnosticInfo &&other)
Verschieben - weist other dieser QOpcUaDiagnosticInfo Instanz zu.
Hinweis: Das verschobene Objekt other wird in einen teilweise gebildeten Zustand versetzt, in dem die einzigen gültigen Operationen Zerstörung und Zuweisung eines neuen Wertes sind.
QOpcUaDiagnosticInfo &QOpcUaDiagnosticInfo::operator=(const QOpcUaDiagnosticInfo &rhs)
Legt den Wert von rhs in dieser Diagnoseinformation fest.
Verwandte Nicht-Mitglieder
[noexcept]
bool operator!=(const QOpcUaDiagnosticInfo &lhs, const QOpcUaDiagnosticInfo &rhs)
Gibt true
zurück, wenn lhs nicht gleich rhs ist.
[noexcept]
bool operator==(const QOpcUaDiagnosticInfo &lhs, const QOpcUaDiagnosticInfo &rhs)
Gibt true
zurück, wenn lhs gleich rhs ist.
© 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.