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) |
상세 설명
레지스트리(Registry)는 마스터 노드( node ) 자체가 보유한 특수한 소스/레플리카 쌍입니다. 이 레지스트리는 네트워크에서 사용 가능한 다른 모든 소스에 대한정보를 알고 있으며, 다른 마스터 노드( node)에 연결하는 과정을 간소화합니다.
속성 설명
[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.