QOpcUaApplicationDescription Class
Die OPC UA ApplicationDescription. 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 |
Detaillierte Beschreibung
Die Anwendungsbeschreibung enthält Informationen über eine OPC UA Anwendung.
Member Typ Dokumentation
enum QOpcUaApplicationDescription::ApplicationType
Dieser Aufzählungstyp enthält den Anwendungstyp.
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 | Bei dieser Anwendung handelt es sich um einen Discovery-Server. |
Eigenschaft Dokumentation
[read-only]
applicationName : const QOpcUaLocalizedText
Name zur Beschreibung der Anwendung.
Zugriffsfunktionen:
QOpcUaLocalizedText | applicationName() const |
[read-only]
applicationType : const QOpcUaApplicationDescription::ApplicationType
Typ der Anwendung: Server, Client, beides oder Discovery Server.
Zugriffsfunktionen:
QOpcUaApplicationDescription::ApplicationType | applicationType() const |
[read-only]
applicationUri : const QString
Der weltweit eindeutige Bezeichner für diese Anwendungsinstanz.
Zugriffsfunktionen:
QString | applicationUri() const |
[read-only]
discoveryProfileUri : const QString
Der URI des unterstützten Suchprofils.
Zugriffsfunktionen:
QString | discoveryProfileUri() const |
[read-only]
discoveryUrls : const QList<QString>
Eine Liste von URLs von Discovery-Endpunkten.
Zugriffsfunktionen:
QList<QString> | discoveryUrls() const |
[read-only]
gatewayServerUri : const QString
Die URI des Gateway-Servers.
Zugriffsfunktionen:
QString | gatewayServerUri() const |
[read-only]
productUri : const QString
Der weltweit eindeutige Identifikator für dieses Produkt.
Zugriffsfunktionen:
QString | productUri() const |
Dokumentation der Mitgliedsfunktionen
QOpcUaApplicationDescription::QOpcUaApplicationDescription()
Standard konstruiert eine Anwendungsbeschreibung ohne Parameter.
QOpcUaApplicationDescription::QOpcUaApplicationDescription(const QOpcUaApplicationDescription &other)
Konstruiert 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 den global eindeutigen Bezeichner für diese Anwendungsinstanz zurück.
Hinweis: Getter-Funktion für die Eigenschaft applicationUri.
Siehe auch setApplicationUri().
QString QOpcUaApplicationDescription::discoveryProfileUri() const
Gibt den 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 von URLs von Discovery-Endpunkten zurück.
Hinweis: Getter-Funktion für die Eigenschaft discoveryUrls.
Siehe auch setDiscoveryUrls().
QList<QString> &QOpcUaApplicationDescription::discoveryUrlsRef()
Gibt einen Verweis 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 den global eindeutigen Bezeichner für dieses Produkt zurück.
Hinweis: Getter-Funktion für die Eigenschaft productUri.
Siehe auch setProductUri().
void QOpcUaApplicationDescription::setApplicationName(const QOpcUaLocalizedText &applicationName)
Setzt den Anwendungsnamen auf applicationName.
Siehe auch applicationName().
void QOpcUaApplicationDescription::setApplicationType(QOpcUaApplicationDescription::ApplicationType applicationType)
Setzt den Anwendungstyp auf applicationType.
Siehe auch applicationType().
void QOpcUaApplicationDescription::setApplicationUri(const QString &applicationUri)
Setzt den global eindeutigen Bezeichner für diese Anwendungsinstanz auf applicationUri.
Siehe auch applicationUri().
void QOpcUaApplicationDescription::setDiscoveryProfileUri(const QString &discoveryProfileUri)
Setzt den URI des Suchprofils auf discoveryProfileUri.
Siehe auch discoveryProfileUri().
void QOpcUaApplicationDescription::setDiscoveryUrls(const QList<QString> &discoveryUrls)
Setzt die Such-URLs auf discoveryUrls.
Siehe auch discoveryUrls().
void QOpcUaApplicationDescription::setGatewayServerUri(const QString &gatewayServerUri)
Setzt den URI des Gatewayservers auf gatewayServerUri.
Siehe auch gatewayServerUri().
void QOpcUaApplicationDescription::setProductUri(const QString &productUri)
Setzt den global eindeutigen Bezeichner für dieses Produkt auf productUri.
Siehe auch productUri().
QOpcUaApplicationDescription &QOpcUaApplicationDescription::operator=(const QOpcUaApplicationDescription &other)
Legt die Werte von other in dieser Anwendungsbeschreibung fest.
bool QOpcUaApplicationDescription::operator==(const QOpcUaApplicationDescription &rhs) const
Gibt true
zurück, wenn diese Anwendungsbeschreibung denselben Wert wie rhs hat.
© 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.