OPC UA ApplicationDescription . 更多...
头: | #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.
常量 | 值 | 描述 |
---|---|---|
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.
访问函数:
QOpcUaLocalizedText | applicationName () const |
[read-only]
applicationType
: const
QOpcUaApplicationDescription::ApplicationType
The application's type: server, client, both, or discovery server.
访问函数:
QOpcUaApplicationDescription::ApplicationType | applicationType () const |
[read-only]
applicationUri
: const
QString
The globally unique identifier for this application instance.
访问函数:
QString | applicationUri () const |
[read-only]
discoveryProfileUri
: const
QString
The URI of the supported discovery profile.
访问函数:
QString | discoveryProfileUri () const |
[read-only]
discoveryUrls
: const
QList
<
QString
>
A list of URLs of discovery endpoints.
访问函数:
QList<QString> | discoveryUrls () const |
[read-only]
gatewayServerUri
: const
QString
The URI of the gateway server.
访问函数:
QString | gatewayServerUri () const |
[read-only]
productUri
: const
QString
The globally unique identifier for this product.
访问函数:
QString | productUri () const |
构造应用程序描述从 other .
设置值从 other 在此应用程序描述中。
Returns a name describing the application.
注意: Getter 函数对于特性 applicationName。
另请参阅 setApplicationName ().
Returns the application's type (server, client, both, discovery server).
注意: Getter 函数对于特性 applicationType。
另请参阅 setApplicationType ().
Returns the globally unique identifier for this application instance.
注意: Getter 函数对于特性 applicationUri。
另请参阅 setApplicationUri ().
Returns the URI of the supported discovery profile.
注意: Getter 函数对于特性 discoveryProfileUri。
另请参阅 setDiscoveryProfileUri ().
Returns a list of URLs of discovery endpoints.
注意: Getter 函数对于特性 discoveryUrls。
另请参阅 setDiscoveryUrls ().
Returns a reference to a list of URLs of discovery endpoints.
Returns the URI of the gateway server.
注意: Getter function for property gatewayServerUri.
另请参阅 setGatewayServerUri ().
Returns the globally unique identifier for this product.
注意: Getter function for property productUri.
另请参阅 setProductUri ().
将应用程序名称设为 applicationName .
另请参阅 applicationName ().
将应用程序类型设为 applicationType .
另请参阅 applicationType ().
Sets the globally unique identifier for this application instance to applicationUri .
另请参阅 applicationUri ().
将探索配置文件 URI (统一资源标识符) 设为 discoveryProfileUri .
另请参阅 discoveryProfileUri ().
将探索 URL 设为 discoveryUrls .
另请参阅 discoveryUrls ().
Sets the URI of the gateway server to gatewayServerUri .
另请参阅 gatewayServerUri ().
Sets the globally unique identifier for this product to productUri .
另请参阅 productUri ().
返回
true
if this application description has the same value as
rhs
.