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) |
プロパティのドキュメント
[bindable read-only] sourceLocations : QRemoteObjectSourceLocations
注:この プロパティは、QProperty バインディングをサポートしています。
このプロパティは、レジストリが認識しているソースの集合を保持します。
このプロパティは QRemoteObjectSourceLocations であり、これはQHash<QString 、QRemoteObjectSourceLocationInfo> の typedef です。既知の各ソースは、ハッシュ内のQString キーとして含まれており、そのキーに対応する値は、ホストノードの QRemoteObjectSourceLocationInfo です。
アクセス関数:
| QRemoteObjectSourceLocations | sourceLocations() const |
メンバ関数のドキュメント
[override virtual noexcept] QRemoteObjectRegistry::~QRemoteObjectRegistry()
QRemoteObjectRegistry のデストラクタ。
[signal] void QRemoteObjectRegistry::remoteObjectAdded(const QRemoteObjectSourceLocation &entry)
このシグナルは、レジストリに新しいソース位置が追加されるたびに発火します。
entry は QRemoteObjectSourceLocation であり、QPair<QString, QRemoteObjectSourceLocationInfo> の typedef です。
remoteObjectRemoved()も参照してください 。
[signal] void QRemoteObjectRegistry::remoteObjectRemoved(const QRemoteObjectSourceLocation &entry)
このシグナルは、ソースの場所がレジストリから削除されるたびに発生します。
entry は QRemoteObjectSourceLocation であり、QPair<QString, QRemoteObjectSourceLocationInfo> の typedef です。
remoteObjectAdded()も参照してください 。
QRemoteObjectSourceLocations QRemoteObjectRegistry::sourceLocations() const
レジストリが認識しているすべてのソースの名前および追加情報を含む QRemoteObjectSourceLocations オブジェクトを返します。
注: プロパティ sourceLocationsのゲッター 関数です。
© 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.