QOpcUaApplicationDescription Class

OPC UAApplicationDescription.もっと見る...

ヘッダ #include <QOpcUaApplicationDescription>
CMake: find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: QT += opcua

パブリックタイプ

enum ApplicationType { Server, Client, ClientAndServer, DiscoveryServer }

プロパティ

パブリック機能

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

詳細説明

アプリケーション記述には、OPC UA アプリケーションに関する情報が含まれます。

メンバータイプの説明

enum QOpcUaApplicationDescription::ApplicationType

この列挙型はアプリケーションのタイプを保持する。

定数説明
QOpcUaApplicationDescription::Server0このアプリケーションはサーバーです。
QOpcUaApplicationDescription::Client1このアプリケーションはクライアントです。
QOpcUaApplicationDescription::ClientAndServer2このアプリケーションはクライアントであり、サーバーでもあります。
QOpcUaApplicationDescription::DiscoveryServer3このアプリケーションはディスカバリー・サーバーです。

プロパティ・ドキュメンテーション

[read-only] applicationName : const QOpcUaLocalizedText

アプリケーションの名前

アクセス機能

QOpcUaLocalizedText applicationName() const

[read-only] applicationType : const QOpcUaApplicationDescription::ApplicationType

アプリケーションのタイプ:サーバー、クライアント、両方、またはディスカバリー・サーバー。

アクセス機能:

QOpcUaApplicationDescription::ApplicationType applicationType() const

[read-only] applicationUri : const QString

このアプリケーションインスタンスのグローバル一意識別子。

アクセス関数:

QString applicationUri() const

[read-only] discoveryProfileUri : const QString

サポートされる発見プロファイルのURI。

アクセス関数:

QString discoveryProfileUri() const

[read-only] discoveryUrls : const QList<QString>

ディスカバリーエンドポイントのURLのリスト。

アクセス関数:

QList<QString> discoveryUrls() const

[read-only] gatewayServerUri : const QString

ゲートウェイサーバーのURI。

アクセス機能:

QString gatewayServerUri() const

[read-only] productUri : const QString

この製品のグローバル一意識別子。

アクセス関数:

QString productUri() const

メンバー関数ドキュメント

QOpcUaApplicationDescription::QOpcUaApplicationDescription()

デフォルトは、パラメータを設定せずにアプリケーション記述を構築する。

QOpcUaApplicationDescription::QOpcUaApplicationDescription(const QOpcUaApplicationDescription &other)

other からアプリケーション記述を構築する。

QOpcUaLocalizedText QOpcUaApplicationDescription::applicationName() const

アプリケーションを説明する名前を返します。

注: applicationName プロパティのゲッター関数です。

setApplicationName()も参照してください

QOpcUaApplicationDescription::ApplicationType QOpcUaApplicationDescription::applicationType() const

アプリケーションのタイプ(サーバー、クライアント、両方、ディスカバリーサーバー)を返します。

注: プロパティapplicationTypeのゲッター関数です。

setApplicationType()も参照してください

QString QOpcUaApplicationDescription::applicationUri() const

このアプリケーション・インスタンスのグローバルに一意な識別子を返します。

注: プロパティ applicationUri のゲッター関数です。

setApplicationUri()も参照してください

QString QOpcUaApplicationDescription::discoveryProfileUri() const

サポートされているディスカバリープロファイルのURIを返します。

注意: プロパティ discoveryProfileUri のゲッター関数です。

setDiscoveryProfileUri()も参照してください

QList<QString> QOpcUaApplicationDescription::discoveryUrls() const

ディスカバリーエンドポイントのURLのリストを返します。

注意: プロパティ discoveryUrls のゲッター関数です。

setDiscoveryUrls()も参照してください

QList<QString> &QOpcUaApplicationDescription::discoveryUrlsRef()

ディスカバリー・エンドポイントのURLリストへの参照を返します。

QString QOpcUaApplicationDescription::gatewayServerUri() const

ゲートウェイ・サーバーの URI を返します。

注: gatewayServerUri プロパティのゲッター関数です。

setGatewayServerUri()も参照してください

QString QOpcUaApplicationDescription::productUri() const

この商品のグローバルに一意な識別子を返します。

注釈 productUri プロパティのゲッター関数です。

setProductUri()も参照してください

void QOpcUaApplicationDescription::setApplicationName(const QOpcUaLocalizedText &applicationName)

アプリケーション名をapplicationName に設定する。

applicationName()も参照のこと

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

アプリケーション・タイプをapplicationType に設定する。

applicationType()も参照

void QOpcUaApplicationDescription::setApplicationUri(const QString &applicationUri)

このアプリケーション・インスタンスのグローバル一意識別子をapplicationUri に設定します。

applicationUri()も参照

void QOpcUaApplicationDescription::setDiscoveryProfileUri(const QString &discoveryProfileUri)

ディスカバリープロファイルURIをdiscoveryProfileUri に設定します。

discoveryProfileUri()も参照してください

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

ディスカバリーURLをdiscoveryUrls に設定する。

discoveryUrls()も参照のこと

void QOpcUaApplicationDescription::setGatewayServerUri(const QString &gatewayServerUri)

ゲートウェイ・サーバーのURIをgatewayServerUri に設定する。

gatewayServerUri()も参照のこと

void QOpcUaApplicationDescription::setProductUri(const QString &productUri)

この製品のグローバル一意識別子をproductUri に設定する。

productUri()も参照

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

このアプリケーションの説明でother の値を設定します。

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

このアプリケーションの説明がrhs と同じ値を持つ場合、true を返す。

© 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.