QOpcUaApplicationDescription 类

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.

成员类型文档编制

enum QOpcUaApplicationDescription:: ApplicationType

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

成员函数文档编制

QOpcUaApplicationDescription:: QOpcUaApplicationDescription (const QOpcUaApplicationDescription & other )

构造应用程序描述从 other .

QOpcUaApplicationDescription &QOpcUaApplicationDescription:: operator= (const QOpcUaApplicationDescription & other )

设置值从 other 在此应用程序描述中。

QOpcUaLocalizedText QOpcUaApplicationDescription:: applicationName () const

Returns a name describing the application.

注意: getter 函数对于特性 applicationName。

另请参阅 setApplicationName ().

QOpcUaApplicationDescription::ApplicationType QOpcUaApplicationDescription:: applicationType () const

Returns the application's type (server, client, both, discovery server).

注意: getter 函数对于特性 applicationType。

另请参阅 setApplicationType ().

QString QOpcUaApplicationDescription:: applicationUri () const

Returns the globally unique identifier for this application instance.

注意: getter 函数对于特性 applicationUri。

另请参阅 setApplicationUri ().

QString QOpcUaApplicationDescription:: discoveryProfileUri () const

Returns the URI of the supported discovery profile.

注意: Getter 函数对于特性 discoveryProfileUri。

另请参阅 setDiscoveryProfileUri ().

QList < QString > QOpcUaApplicationDescription:: discoveryUrls () const

Returns a list of URLs of discovery endpoints.

注意: getter 函数对于特性 discoveryUrls。

另请参阅 setDiscoveryUrls ().

QList < QString > &QOpcUaApplicationDescription:: discoveryUrlsRef ()

Returns a reference to a list of URLs of discovery endpoints.

QString QOpcUaApplicationDescription:: gatewayServerUri () const

Returns the URI of the gateway server.

注意: Getter function for property gatewayServerUri.

另请参阅 setGatewayServerUri ().

QString QOpcUaApplicationDescription:: productUri () const

Returns the globally unique identifier for this product.

注意: Getter function for property productUri.

另请参阅 setProductUri ().

void QOpcUaApplicationDescription:: setApplicationName (const QOpcUaLocalizedText & applicationName )

将应用程序名称设为 applicationName .

另请参阅 applicationName ().

void QOpcUaApplicationDescription:: setApplicationType ( QOpcUaApplicationDescription::ApplicationType applicationType )

将应用程序类型设为 applicationType .

另请参阅 applicationType ().

void QOpcUaApplicationDescription:: setApplicationUri (const QString & applicationUri )

Sets the globally unique identifier for this application instance to applicationUri .

另请参阅 applicationUri ().

void QOpcUaApplicationDescription:: setDiscoveryProfileUri (const QString & discoveryProfileUri )

将探索 Profile URI (统一资源标识符) 设为 discoveryProfileUri .

另请参阅 discoveryProfileUri ().

void QOpcUaApplicationDescription:: setDiscoveryUrls (const QList < QString > & discoveryUrls )

将探索 URL 设为 discoveryUrls .

另请参阅 discoveryUrls ().

void QOpcUaApplicationDescription:: setGatewayServerUri (const QString & gatewayServerUri )

Sets the URI of the gateway server to gatewayServerUri .

另请参阅 gatewayServerUri ().

void QOpcUaApplicationDescription:: setProductUri (const QString & productUri )

Sets the globally unique identifier for this product to productUri .

另请参阅 productUri ().

bool QOpcUaApplicationDescription:: operator== (const QOpcUaApplicationDescription & rhs ) const

返回 true if this application description has the same value as rhs .