QRemoteObjectRegistry Class
A class holding information about Source objects available on the Qt Remote Objects network. More...
Header: | #include <QRemoteObjectRegistry> |
qmake: | QT += remoteobjects |
Inherits: | QRemoteObjectReplica |
Properties
- sourceLocations : const QRemoteObjectSourceLocations
- 2 properties inherited from QRemoteObjectReplica
- 1 property inherited from QObject
Public Functions
virtual | ~QRemoteObjectRegistry() override |
QRemoteObjectSourceLocations | sourceLocations() const |
- 6 public functions inherited from QRemoteObjectReplica
- 16 public functions inherited from QObject
Related Non-Members
typedef | QObjectList |
Macros
QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
Q_CLASSINFO(Name, Value) | |
Q_DISABLE_COPY(Class) | |
Q_DISABLE_COPY_MOVE(Class) | |
Q_DISABLE_MOVE(Class) | |
Q_EMIT | |
Q_ENUM(...) | |
Q_ENUM_NS(...) | |
Q_FLAG(...) | |
Q_FLAG_NS(...) | |
Q_GADGET | |
Q_INTERFACES(...) | |
Q_INVOKABLE | |
Q_NAMESPACE | |
Q_OBJECT | |
Q_PROPERTY(...) | |
Q_REVISION | |
Q_SET_OBJECT_NAME(Object) | |
Q_SIGNAL | |
Q_SIGNALS | |
Q_SLOT | |
Q_SLOTS |
Additional Inherited Members
- 1 public slot inherited from QObject
- 1 signal inherited from QRemoteObjectReplica
- 1 signal inherited from QObject
- 5 static public members inherited from QObject
- 8 protected functions inherited from QObject
Detailed Description
The Registry is a special Source/Replica pair held by a node itself. It knows about all other Sources available on the network, and simplifies the process of connecting to other nodes.
Property Documentation
sourceLocations : const QRemoteObjectSourceLocations
This property holds the set of sources known to the registry.
This property is a QRemoteObjectSourceLocations, which is a typedef for QHash<QString, QUrl>. Each known Source is the QString key, while the url for the host node is the corresponding value for that key in the hash.
Access functions:
QRemoteObjectSourceLocations | sourceLocations() const |
Member Function Documentation
[override virtual]
QRemoteObjectRegistry::~QRemoteObjectRegistry()
Destructor for QRemoteObjectRegistry.
QRemoteObjectSourceLocations QRemoteObjectRegistry::sourceLocations() const
Returns a QRemoteObjectSourceLocations object, which includes the name and additional information of all sources known to the registry.
Note: Getter function for property sourceLocations.