QRemoteObjectRegistry Class
Clase que contiene información sobre los objetos Fuente disponibles en la red Qt Remote Objects. Más...
| Cabecera: | #include <QRemoteObjectRegistry> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS RemoteObjects)target_link_libraries(mytarget PRIVATE Qt6::RemoteObjects) |
| qmake: | QT += remoteobjects |
| Hereda: | QRemoteObjectReplica |
Propiedades
- sourceLocations : QRemoteObjectSourceLocations
Funciones públicas
| virtual | ~QRemoteObjectRegistry() override |
| QBindable<QRemoteObjectSourceLocations> | bindableSourceLocations() const |
| QRemoteObjectSourceLocations | sourceLocations() const |
Señales
| void | remoteObjectAdded(const QRemoteObjectSourceLocation &entry) |
| void | remoteObjectRemoved(const QRemoteObjectSourceLocation &entry) |
Descripción detallada
El Registro es un par especial de Fuente/Réplica que posee el propio node. Conoce todas las demás Fuentesdisponibles en la red, y simplifica el proceso de conexión a otros nodes.
Documentación de propiedades
[bindable read-only] sourceLocations : QRemoteObjectSourceLocations
Nota: Esta propiedad admite enlaces QProperty.
Esta propiedad contiene el conjunto de fuentes conocidas por el registro.
Esta propiedad es un QRemoteObjectSourceLocations, que es un typedef para QHash<QString, QRemoteObjectSourceLocationInfo>. Cada Fuente conocida está contenida como una clave QString en el hash, y el valor correspondiente para esa clave es el QRemoteObjectSourceLocationInfo para el nodo anfitrión.
Funciones de acceso:
| QRemoteObjectSourceLocations | sourceLocations() const |
Documentación de funciones miembro
[override virtual noexcept] QRemoteObjectRegistry::~QRemoteObjectRegistry()
Destructor para QRemoteObjectRegistry.
[signal] void QRemoteObjectRegistry::remoteObjectAdded(const QRemoteObjectSourceLocation &entry)
Esta señal se emite cada vez que se añade una nueva ubicación de origen al registro.
entry es un QRemoteObjectSourceLocation, un typedef para QPair<QString, QRemoteObjectSourceLocationInfo>.
Véase también remoteObjectRemoved().
[signal] void QRemoteObjectRegistry::remoteObjectRemoved(const QRemoteObjectSourceLocation &entry)
Esta señal se emite cada vez que se elimina una ubicación Fuente del Registro.
entry es un QRemoteObjectSourceLocation, un typedef para QPair<QString, QRemoteObjectSourceLocationInfo>.
Véase también remoteObjectAdded().
QRemoteObjectSourceLocations QRemoteObjectRegistry::sourceLocations() const
Devuelve un objeto QRemoteObjectSourceLocations, que incluye el nombre e información adicional de todas las fuentes conocidas por el registro.
Nota: Función Getter para la propiedad 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.