QRemoteObjectRegistry Class
Qt Remote Objects 네트워크에서 사용할 수 있는 소스 개체에 대한 정보를 보유한 클래스입니다. 더 보기...
헤더: | #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 자체가 보유한 특별한 소스/복제본 쌍입니다. 네트워크에서 사용 가능한 다른 모든 소스에대해 알고 있으며, 다른 node에 연결하는 프로세스를 간소화합니다.
속성 문서
[bindable read-only]
sourceLocations : QRemoteObjectSourceLocations
참고: 이 속성은 QProperty 바인딩을 지원합니다.
이 속성은 레지스트리에 알려진 소스 집합을 보유합니다.
이 프로퍼티는 QHash<QString, QRemoteObjectSourceLocationInfo>에 대한 유형 정의인 QRemoteObjectSourceLocations입니다. 알려진 각 소스는 해시에 QString 키로 포함되며, 해당 키에 해당하는 값은 호스트 노드에 대한 QRemoteObjectSourceLocationInfo입니다.
멤버 함수 문서
[override virtual noexcept]
QRemoteObjectRegistry::~QRemoteObjectRegistry()
의 소멸자 QRemoteObjectRegistry.
[signal]
void QRemoteObjectRegistry::remoteObjectAdded(const QRemoteObjectSourceLocation &entry)
이 신호는 새 소스 위치가 레지스트리에 추가될 때마다 발생합니다.
entry QPair <QString, QRemoteObjectSourceLocationInfo>에 대한 타입 정의인 QRemoteObjectSourceLocation입니다.
remoteObjectRemoved()도 참조하세요 .
[signal]
void QRemoteObjectRegistry::remoteObjectRemoved(const QRemoteObjectSourceLocation &entry)
이 신호는 소스 위치가 레지스트리에서 제거될 때마다 발생합니다.
entry QPair <QString, QRemoteObjectSourceLocationInfo>에 대한 typedef인 QRemoteObjectSourceLocation입니다.
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.