QRemoteObjectRegistry Class
Qt Remote Objects ネットワーク上で利用可能なSourceオブジェクトに関する情報を保持するクラス。詳細...
ヘッダー | #include <QRemoteObjectRegistry> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS RemoteObjects) target_link_libraries(mytarget PRIVATE Qt6::RemoteObjects) |
qmake: | QT += remoteobjects |
継承: | QRemoteObjectReplica |
プロパティ
- sourceLocations : QRemoteObjectSourceLocations
パブリック機能
virtual | ~QRemoteObjectRegistry() override |
QBindable<QRemoteObjectSourceLocations> | bindableSourceLocations() const |
QRemoteObjectSourceLocations | sourceLocations() const |
シグナル
void | remoteObjectAdded(const QRemoteObjectSourceLocation &entry) |
void | remoteObjectRemoved(const QRemoteObjectSourceLocation &entry) |
詳細説明
レジストリは、node 自身が保持する特別なソース/レプリカのペアである。ネットワーク上で利用可能な他のすべてのSourceについて知っており、他のnodeへの接続プロセスを簡素化する。
プロパティ・ドキュメンテーション
[bindable read-only]
sourceLocations : QRemoteObjectSourceLocations
注釈 このプロパティは、QProperty バインディングに対応しています。
このプロパティは、レジストリで既知のソースのセットを保持します。
このプロパティは、QHash<QString, QRemoteObjectSourceLocationInfo> の typedef である QRemoteObjectSourceLocations です。各既知のソースは、ハッシュ内のQString キーとして含まれ、そのキーに対応する値は、ホストノードの QRemoteObjectSourceLocationInfo です。
メンバ関数ドキュメント
[override virtual noexcept]
QRemoteObjectRegistry::~QRemoteObjectRegistry()
QRemoteObjectRegistry のデストラクタ。
[signal]
void QRemoteObjectRegistry::remoteObjectAdded(const QRemoteObjectSourceLocation &entry)
このシグナルは、新しいソースロケーションがレジストリに追加されるたびに発行されます。
entry はQRemoteObjectSourceLocationで、 < , QRemoteObjectSourceLocationInfo>の型定義です。QPairQString
remoteObjectRemoved()も参照してください 。
[signal]
void QRemoteObjectRegistry::remoteObjectRemoved(const QRemoteObjectSourceLocation &entry)
このシグナルは、ソースロケーションがレジストリから削除されるたびに発行されます。
entry はQRemoteObjectSourceLocationで、 < , QRemoteObjectSourceLocationInfo>の型定義です。QPairQString
remoteObjectAdded()も参照してください 。
QRemoteObjectSourceLocations QRemoteObjectRegistry::sourceLocations() const
レジストリで既知のすべてのソースの名前と追加情報を含む QRemoteObjectSourceLocations オブジェクトを返します。
注釈 sourceLocations プロパティのゲッター関数です。
© 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.