QOpcUaApplicationDescription Class
OPC UAのApplicationDescription。詳細...
| ヘッダー: | #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 |
メンバ型のドキュメント
enum QOpcUaApplicationDescription::ApplicationType
この列挙型は、アプリケーションのタイプを保持します。
| 定数 | 値 | 説明 |
|---|---|---|
QOpcUaApplicationDescription::Server | 0 | このアプリケーションはサーバーです。 |
QOpcUaApplicationDescription::Client | 1 | このアプリケーションはクライアントです。 |
QOpcUaApplicationDescription::ClientAndServer | 2 | このアプリケーションはクライアントであり、サーバーでもあります。 |
QOpcUaApplicationDescription::DiscoveryServer | 3 | このアプリケーションはディスカバリーサーバーです。 |
プロパティのドキュメント
[read-only] applicationName : QOpcUaLocalizedText
アプリケーションを表す名前。
アクセス機能:
| QOpcUaLocalizedText | applicationName() const |
[read-only] applicationType : QOpcUaApplicationDescription::ApplicationType
アプリケーションの種類:サーバー、クライアント、両方、またはディスカバリーサーバー。
アクセス機能:
| QOpcUaApplicationDescription::ApplicationType | applicationType() const |
[read-only] applicationUri : QString
このアプリケーションインスタンスのグローバル一意識別子。
アクセス機能:
| QString | applicationUri() const |
[read-only] discoveryProfileUri : QString
サポートされているディスカバリープロファイルのURI。
アクセス機能:
| QString | discoveryProfileUri() const |
[read-only] discoveryUrls : QList<QString>
ディスカバリーエンドポイントのURL一覧。
アクセス機能:
| QList<QString> | discoveryUrls() const |
[read-only] gatewayServerUri : QString
ゲートウェイサーバーのURI。
アクセス機能:
| QString | gatewayServerUri() const |
[read-only] productUri : QString
この製品の世界的に一意な識別子です。
アクセス関数:
| QString | productUri() const |
メンバ関数のドキュメント
QOpcUaApplicationDescription::QOpcUaApplicationDescription()
default は、パラメータが設定されていないアプリケーションの説明を作成します。
QOpcUaApplicationDescription::QOpcUaApplicationDescription(const QOpcUaApplicationDescription &other)
other からアプリケーションの説明を作成します。
QOpcUaLocalizedText QOpcUaApplicationDescription::applicationName() const
アプリケーションを説明する名前を返します。
注: プロパティ applicationNameのゲッター関数です 。
関連項目: setApplicationName()。
QOpcUaApplicationDescription::ApplicationType QOpcUaApplicationDescription::applicationType() const
アプリケーションのタイプ(サーバー、クライアント、両方、ディスカバリーサーバー)を返します。
注: プロパティ applicationTypeのゲッター 関数です。
関連項目: setApplicationType()。
QString QOpcUaApplicationDescription::applicationUri() const
このアプリケーションインスタンスのグローバル一意識別子(GUID)を返します。
注: プロパティ 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
この製品の一意の識別子(GUID)を返します。
注: プロパティ `productUri`のゲッター 関数です。
関連項目: setProductUri()。
void QOpcUaApplicationDescription::setApplicationName(const QOpcUaLocalizedText &applicationName)
アプリケーション名を「applicationName 」に設定します。
applicationName()も参照してください 。
void QOpcUaApplicationDescription::setApplicationType(QOpcUaApplicationDescription::ApplicationType applicationType)
アプリケーションの種類を「applicationType 」に設定します。
「applicationType()」も参照してください 。
void QOpcUaApplicationDescription::setApplicationUri(const QString &applicationUri)
このアプリケーションインスタンスのグローバル一意識別子(GUID)を「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)
この製品のグローバル一意識別子(GUID)を「productUri 」に設定します。
productUri()も参照してください 。
QOpcUaApplicationDescription &QOpcUaApplicationDescription::operator=(const QOpcUaApplicationDescription &other)
このアプリケーションの説明に、other の値を設定します。
bool QOpcUaApplicationDescription::operator==(const QOpcUaApplicationDescription &rhs) const
このアプリケーションの説明が `rhs` と同じ値である場合、true を返します。
© 2026 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.