QRemoteObjectRegistry#

A class holding information about Source objects available on the Qt Remote Objects network. More

Inheritance diagram of PySide6.QtRemoteObjects.QRemoteObjectRegistry

Synopsis#

Properties#

Functions#

Slots#

Signals#

Static functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

The Registry is a special Source/Replica pair held by a node itself. It knows about all other Source s available on the network, and simplifies the process of connecting to other node s.

class PySide6.QtRemoteObjects.QRemoteObjectRegistry#

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property PᅟySide6.QtRemoteObjects.QRemoteObjectRegistry.sourceLocations: Dictionary with keys of type .QString and values of type QRemoteObjectSourceLocationInfo.#

This property holds The set of sources known to the registry..

This property is a QRemoteObjectSourceLocations, which is a typedef for QHash<QString, QRemoteObjectSourceLocationInfo>. Each known Source is contained as a QString key in the hash, and the corresponding value for that key is the QRemoteObjectSourceLocationInfo for the host node.

Access functions:
PySide6.QtRemoteObjects.QRemoteObjectRegistry.addSource(entry)#
Parameters:

entry – .std.pairQString,QRemoteObjectSourceLocationInfo

PySide6.QtRemoteObjects.QRemoteObjectRegistry.pushToRegistryIfNeeded()#
static PySide6.QtRemoteObjects.QRemoteObjectRegistry.registerMetatypes()#
PySide6.QtRemoteObjects.QRemoteObjectRegistry.remoteObjectAdded(entry)#
Parameters:

entry – .std.pairQString,QRemoteObjectSourceLocationInfo

This signal is emitted whenever a new source location is added to the registry.

entry is a QRemoteObjectSourceLocation, a typedef for QPair<QString, QRemoteObjectSourceLocationInfo>.

PySide6.QtRemoteObjects.QRemoteObjectRegistry.remoteObjectRemoved(entry)#
Parameters:

entry – .std.pairQString,QRemoteObjectSourceLocationInfo

This signal is emitted whenever a Source location is removed from the Registry.

entry is a QRemoteObjectSourceLocation, a typedef for QPair<QString, QRemoteObjectSourceLocationInfo>.

PySide6.QtRemoteObjects.QRemoteObjectRegistry.removeSource(entry)#
Parameters:

entry – .std.pairQString,QRemoteObjectSourceLocationInfo

PySide6.QtRemoteObjects.QRemoteObjectRegistry.sourceLocations()#
Return type:

Dictionary with keys of type .QString and values of type QRemoteObjectSourceLocationInfo.

Returns a QRemoteObjectSourceLocations object, which includes the name and additional information of all sources known to the registry.

Getter of property sourceLocations .