class QRemoteObjectRegistry#

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

Inheritance diagram of PySide6.QtRemoteObjects.QRemoteObjectRegistry

Synopsis#

Properties#

Methods#

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.

Note

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

property 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:
addSource(entry)#
Parameters:

entry – .std.pairQString,QRemoteObjectSourceLocationInfo

pushToRegistryIfNeeded()#
static registerMetatypes()#
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>.

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>.

removeSource(entry)#
Parameters:

entry – .std.pairQString,QRemoteObjectSourceLocationInfo

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ᅟ .