QOpcUaApplicationDescription Class
Die OPC UA-Anwendungsbeschreibung. Mehr...
| Kopfzeile: | #include <QOpcUaApplicationDescription> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
Öffentliche Typen
| enum | ApplicationType { Server, Client, ClientAndServer, DiscoveryServer } |
Eigenschaften
|
|
Öffentliche Funktionen
| QOpcUaApplicationDescription() | |
| QOpcUaApplicationDescription(const QOpcUaApplicationDescription &other) | |
| QOpcUaLocalizedText | applicationName() const |
| QOpcUaApplicationDescription::ApplicationType | applicationType() const |
| QString | applicationUri() const |
| QString | discoveryProfileUri() const |
| QList<QString> | discoveryUrls() const |
| QList<QString> & | discoveryUrlsRef() |
| QString | gatewayServerUri() const |
| QString | productUri() const |
| void | setApplicationName(const QOpcUaLocalizedText &applicationName) |
| void | setApplicationType(QOpcUaApplicationDescription::ApplicationType applicationType) |
| void | setApplicationUri(const QString &applicationUri) |
| void | setDiscoveryProfileUri(const QString &discoveryProfileUri) |
| void | setDiscoveryUrls(const QList<QString> &discoveryUrls) |
| void | setGatewayServerUri(const QString &gatewayServerUri) |
| void | setProductUri(const QString &productUri) |
| QOpcUaApplicationDescription & | operator=(const QOpcUaApplicationDescription &other) |
| bool | operator==(const QOpcUaApplicationDescription &rhs) const |
Ausführliche Beschreibung
Die Anwendungsbeschreibung enthält Informationen zu einer OPC-UA-Anwendung.
Dokumentation zum Mitgliedstyp
enum QOpcUaApplicationDescription::ApplicationType
Dieser Enum-Typ gibt den Anwendungstyp an.
| Konstante | Wert | Beschreibung |
|---|---|---|
QOpcUaApplicationDescription::Server | 0 | Diese Anwendung ist ein Server. |
QOpcUaApplicationDescription::Client | 1 | Diese Anwendung ist ein Client. |
QOpcUaApplicationDescription::ClientAndServer | 2 | Diese Anwendung ist ein Client und ein Server. |
QOpcUaApplicationDescription::DiscoveryServer | 3 | Diese Anwendung ist ein Discovery-Server. |
Dokumentation zu den Eigenschaften
[read-only] applicationName : QOpcUaLocalizedText
Name, der die Anwendung beschreibt.
Zugriffsfunktionen:
| QOpcUaLocalizedText | applicationName() const |
[read-only] applicationType : QOpcUaApplicationDescription::ApplicationType
Anwendungstyp: Server, Client, beides oder Discovery-Server.
Zugriffsfunktionen:
| QOpcUaApplicationDescription::ApplicationType | applicationType() const |
[read-only] applicationUri : QString
Die global eindeutige Kennung für diese Anwendungsinstanz.
Zugriffsfunktionen:
| QString | applicationUri() const |
[read-only] discoveryProfileUri : QString
Die URI des unterstützten Discovery-Profils.
Zugriffsfunktionen:
| QString | discoveryProfileUri() const |
[read-only] discoveryUrls : QList<QString>
Eine Liste von URLs der Discovery-Endpunkte.
Zugriffsfunktionen:
| QList<QString> | discoveryUrls() const |
[read-only] gatewayServerUri : QString
Die URI des Gateway-Servers.
Zugriffsfunktionen:
| QString | gatewayServerUri() const |
[read-only] productUri : QString
Die weltweit eindeutige Kennung für dieses Produkt.
Zugriffsfunktionen:
| QString | productUri() const |
Dokumentation der Mitgliedsfunktionen
QOpcUaApplicationDescription::QOpcUaApplicationDescription()
„Default“ erstellt eine Anwendungsbeschreibung, ohne dass Parameter festgelegt werden.
QOpcUaApplicationDescription::QOpcUaApplicationDescription(const QOpcUaApplicationDescription &other)
Erstellt eine Anwendungsbeschreibung aus other.
QOpcUaLocalizedText QOpcUaApplicationDescription::applicationName() const
Gibt einen Namen zurück, der die Anwendung beschreibt.
Hinweis: Getter -Funktion für die Eigenschaft `applicationName`.
Siehe auch „ setApplicationName()“.
QOpcUaApplicationDescription::ApplicationType QOpcUaApplicationDescription::applicationType() const
Gibt den Typ der Anwendung zurück (Server, Client, beides, Discovery-Server).
Hinweis: Getter -Funktion für die Eigenschaft `applicationType`.
Siehe auch „ setApplicationType()“.
QString QOpcUaApplicationDescription::applicationUri() const
Gibt die global eindeutige Kennung für diese Anwendungsinstanz zurück.
Hinweis: Getter -Funktion für die Eigenschaft „applicationUri“.
Siehe auch „ setApplicationUri()“.
QString QOpcUaApplicationDescription::discoveryProfileUri() const
Gibt die URI des unterstützten Discovery-Profils zurück.
Hinweis: Getter-Funktion für die Eigenschaft `discoveryProfileUri`.
Siehe auch „ setDiscoveryProfileUri()“.
QList<QString> QOpcUaApplicationDescription::discoveryUrls() const
Gibt eine Liste mit URLs von Discovery-Endpunkten zurück.
Hinweis: Getter -Funktion für die Eigenschaft „discoveryUrls“.
Siehe auch „ setDiscoveryUrls()“.
QList<QString> &QOpcUaApplicationDescription::discoveryUrlsRef()
Gibt eine Referenz auf eine Liste von URLs von Discovery-Endpunkten zurück.
QString QOpcUaApplicationDescription::gatewayServerUri() const
Gibt die URI des Gateway-Servers zurück.
Hinweis: Getter -Funktion für die Eigenschaft „gatewayServerUri“.
Siehe auch „ setGatewayServerUri()“.
QString QOpcUaApplicationDescription::productUri() const
Gibt die global eindeutige Kennung für dieses Produkt zurück.
Hinweis: Getter -Funktion für die Eigenschaft „productUri“.
Siehe auch „ setProductUri()“.
void QOpcUaApplicationDescription::setApplicationName(const QOpcUaLocalizedText &applicationName)
Legt den Anwendungsnamen auf „ applicationName “ fest.
Siehe auch applicationName().
void QOpcUaApplicationDescription::setApplicationType(QOpcUaApplicationDescription::ApplicationType applicationType)
Legt den Anwendungstyp auf „ applicationType “ fest.
Siehe auch applicationType().
void QOpcUaApplicationDescription::setApplicationUri(const QString &applicationUri)
Legt die global eindeutige Kennung für diese Anwendungsinstanz auf applicationUri fest.
Siehe auch applicationUri().
void QOpcUaApplicationDescription::setDiscoveryProfileUri(const QString &discoveryProfileUri)
Setzt die URI des Discovery-Profils auf discoveryProfileUri.
Siehe auch discoveryProfileUri().
void QOpcUaApplicationDescription::setDiscoveryUrls(const QList<QString> &discoveryUrls)
Legt die Discovery-URLs auf discoveryUrls fest.
Siehe auch discoveryUrls().
void QOpcUaApplicationDescription::setGatewayServerUri(const QString &gatewayServerUri)
Legt die URI des Gateway-Servers auf gatewayServerUri fest.
Siehe auch gatewayServerUri().
void QOpcUaApplicationDescription::setProductUri(const QString &productUri)
Legt die global eindeutige Kennung für dieses Produkt auf „ productUri “ fest.
Siehe auch productUri().
QOpcUaApplicationDescription &QOpcUaApplicationDescription::operator=(const QOpcUaApplicationDescription &other)
Legt die Werte aus „ other “ in dieser Anwendungsbeschreibung fest.
bool QOpcUaApplicationDescription::operator==(const QOpcUaApplicationDescription &rhs) const
Gibt „ true “ zurück, wenn diese Anwendungsbeschreibung denselben Wert wie „ rhs “ hat.
© 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.