The OPC UA ApplicationDescription. More...
Header: | #include <QOpcUaApplicationDescription> |
qmake: | QT += opcua |
enum | ApplicationType { Server, Client, ClientAndServer, DiscoveryServer } |
|
|
QOpcUaApplicationDescription(const QOpcUaApplicationDescription &other) | |
QOpcUaApplicationDescription & | operator=(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) |
bool | operator==(const QOpcUaApplicationDescription &rhs) const |
The application description contains information about an OPC UA application.
This enum type holds the application type.
Constant | Value | Description |
---|---|---|
QOpcUaApplicationDescription::Server |
0 |
This application is a server. |
QOpcUaApplicationDescription::Client |
1 |
This application is a client. |
QOpcUaApplicationDescription::ClientAndServer |
2 |
This application is a client and a server. |
QOpcUaApplicationDescription::DiscoveryServer |
3 |
This application is a discovery server. |
[read-only]
applicationName : const QOpcUaLocalizedText
Name describing the application.
Access functions:
QOpcUaLocalizedText | applicationName() const |
[read-only]
applicationType : const QOpcUaApplicationDescription::ApplicationType
The application's type: server, client, both, or discovery server.
Access functions:
QOpcUaApplicationDescription::ApplicationType | applicationType() const |
[read-only]
applicationUri : const QString
The globally unique identifier for this application instance.
Access functions:
QString | applicationUri() const |
[read-only]
discoveryProfileUri : const QString
The URI of the supported discovery profile.
Access functions:
QString | discoveryProfileUri() const |
[read-only]
discoveryUrls : const QList<QString>
A list of URLs of discovery endpoints.
Access functions:
QList<QString> | discoveryUrls() const |
[read-only]
gatewayServerUri : const QString
The URI of the gateway server.
Access functions:
QString | gatewayServerUri() const |
[read-only]
productUri : const QString
The globally unique identifier for this product.
Access functions:
QString | productUri() const |
Constructs an application description from other.
Sets the values from other in this application description.
Returns a name describing the application.
Note: Getter function for property applicationName.
See also setApplicationName().
Returns the application's type (server, client, both, discovery server).
Note: Getter function for property applicationType.
See also setApplicationType().
Returns the globally unique identifier for this application instance.
Note: Getter function for property applicationUri.
See also setApplicationUri().
Returns the URI of the supported discovery profile.
Note: Getter function for property discoveryProfileUri.
See also setDiscoveryProfileUri().
Returns a list of URLs of discovery endpoints.
Note: Getter function for property discoveryUrls.
See also setDiscoveryUrls().
Returns a reference to a list of URLs of discovery endpoints.
Returns the URI of the gateway server.
Note: Getter function for property gatewayServerUri.
See also setGatewayServerUri().
Returns the globally unique identifier for this product.
Note: Getter function for property productUri.
See also setProductUri().
Sets the application name to applicationName.
See also applicationName().
Sets the application type to applicationType.
See also applicationType().
Sets the globally unique identifier for this application instance to applicationUri.
See also applicationUri().
Sets the discovery profile URI to discoveryProfileUri.
See also discoveryProfileUri().
Sets the discovery URLs to discoveryUrls.
See also discoveryUrls().
Sets the URI of the gateway server to gatewayServerUri.
See also gatewayServerUri().
Sets the globally unique identifier for this product to productUri.
See also productUri().
Returns true
if this application description has the same value as rhs.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qopcuaapplicationdescription.html