<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qremoteobjectregistry.cpp --> <title>QRemoteObjectRegistry Class | Qt Remote Objects 5.12.2</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.12</td><td ><a href="qtremoteobjects-index.html">Qt Remote Objects</a></td><td ><a href="qtremoteobjects-module.html">C++ Classes</a></td><td >QRemoteObjectRegistry</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtremoteobjects-index.html">Qt 5.12.2 Reference Documentation</a></td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#properties">Properties</a></li> <li class="level1"><a href="#public-functions">Public Functions</a></li> <li class="level1"><a href="#signals">Signals</a></li> <li class="level1"><a href="#static-public-members">Static Public Members</a></li> <li class="level1"><a href="#details">Detailed Description</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">QRemoteObjectRegistry Class</h1> <!-- $$$QRemoteObjectRegistry-brief --> <p>A class holding information about <a href="qtremoteobjects-source.html#source">Source</a> objects available on the Qt Remote Objects network. <a href="#details">More...</a></p> <!-- @@@QRemoteObjectRegistry --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QRemoteObjectRegistry></span> </td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += remoteobjects</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qremoteobjectreplica.html">QRemoteObjectReplica</a></td></tr></table></div><ul> <li><a href="qremoteobjectregistry-members.html">List of all members, including inherited members</a></li> </ul> <a name="properties"></a> <h2 id="properties">Properties</h2> <ul> <li class="fn"><b><a href="qremoteobjectregistry.html#sourceLocations-prop">sourceLocations</a></b> : const QRemoteObjectSourceLocations</li> </ul> <ul> <li class="fn">2 properties inherited from <a href="qremoteobjectreplica.html#properties">QRemoteObjectReplica</a></li> </ul> <a name="public-functions"></a> <h2 id="public-functions">Public Functions</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qremoteobjectregistry.html#dtor.QRemoteObjectRegistry">~QRemoteObjectRegistry</a></b>() override</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QRemoteObjectSourceLocations </td><td class="memItemRight bottomAlign"><b><a href="qremoteobjectregistry.html#sourceLocations">sourceLocations</a></b>() const</td></tr> </table></div> <ul> <li class="fn">6 public functions inherited from <a href="qremoteobjectreplica.html#public-functions">QRemoteObjectReplica</a></li> </ul> <a name="signals"></a> <h2 id="signals">Signals</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qremoteobjectregistry.html#remoteObjectAdded">remoteObjectAdded</a></b>(const QRemoteObjectSourceLocation &<i>entry</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qremoteobjectregistry.html#remoteObjectRemoved">remoteObjectRemoved</a></b>(const QRemoteObjectSourceLocation &<i>entry</i>)</td></tr> </table></div> <ul> <li class="fn">2 signals inherited from <a href="qremoteobjectreplica.html#signals">QRemoteObjectReplica</a></li> </ul> <a name="static-public-members"></a> <h2 id="static-public-members">Static Public Members</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qremoteobjectregistry.html#registerMetatypes">registerMetatypes</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> const QMetaObject </td><td class="memItemRight bottomAlign"><b><a href="qremoteobjectregistry.html#staticMetaObject-var">staticMetaObject</a></b></td></tr> </table></div> <a name="details"></a> <!-- $$$QRemoteObjectRegistry-description --> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>A class holding information about <a href="qtremoteobjects-source.html#source">Source</a> objects available on the Qt Remote Objects network.</p> <p>The Registry is a special Source/Replica pair held by a <a href="qremoteobjectnode.html">node</a> itself. It knows about all other <a href="qtremoteobjects-source.html#source">Source</a>s available on the network, and simplifies the process of connecting to other <a href="qremoteobjectnode.html">node</a>s.</p> </div> <!-- @@@QRemoteObjectRegistry --> <div class="prop"> <h2>Property Documentation</h2> <!-- $$$sourceLocations-prop$$$sourceLocations --> <h3 class="fn" id="sourceLocations-prop"><a name="sourceLocations-prop"></a><span class="name">sourceLocations</span> : const <span class="type">QRemoteObjectSourceLocations</span></h3> <p>This property holds the set of sources known to the registry.</p> <p>This property is a QRemoteObjectSourceLocations, which is a typedef for QHash<QString, QUrl>. Each known <a href="qtremoteobjects-source.html#source">Source</a> is the QString key, while the url for the host node is the corresponding value for that key in the hash.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> QRemoteObjectSourceLocations </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qremoteobjectregistry.html#sourceLocations">sourceLocations</a></b></span>() const</td></tr> </table></div> <!-- @@@sourceLocations --> </div> <div class="func"> <h2>Member Function Documentation</h2> <!-- $$$~QRemoteObjectRegistry[overload1]$$$~QRemoteObjectRegistry --> <h3 class="fn" id="dtor.QRemoteObjectRegistry"><a name="dtor.QRemoteObjectRegistry"></a><code>[override virtual] </code>QRemoteObjectRegistry::<span class="name">~QRemoteObjectRegistry</span>()</h3> <p>Destructor for <a href="qremoteobjectregistry.html">QRemoteObjectRegistry</a>.</p> <!-- @@@~QRemoteObjectRegistry --> <!-- $$$registerMetatypes[overload1]$$$registerMetatypes --> <h3 class="fn" id="registerMetatypes"><a name="registerMetatypes"></a><code>[static] </code><span class="type">void</span> QRemoteObjectRegistry::<span class="name">registerMetatypes</span>()</h3> <!-- @@@registerMetatypes --> <!-- $$$remoteObjectAdded[overload1]$$$remoteObjectAddedconstQRemoteObjectSourceLocation& --> <h3 class="fn" id="remoteObjectAdded"><a name="remoteObjectAdded"></a><code>[signal] </code><span class="type">void</span> QRemoteObjectRegistry::<span class="name">remoteObjectAdded</span>(const <span class="type">QRemoteObjectSourceLocation</span> &<i>entry</i>)</h3> <!-- @@@remoteObjectAdded --> <!-- $$$remoteObjectRemoved[overload1]$$$remoteObjectRemovedconstQRemoteObjectSourceLocation& --> <h3 class="fn" id="remoteObjectRemoved"><a name="remoteObjectRemoved"></a><code>[signal] </code><span class="type">void</span> QRemoteObjectRegistry::<span class="name">remoteObjectRemoved</span>(const <span class="type">QRemoteObjectSourceLocation</span> &<i>entry</i>)</h3> <!-- @@@remoteObjectRemoved --> <!-- $$$sourceLocations --> <h3 class="fn" id="sourceLocations"><a name="sourceLocations"></a><span class="type">QRemoteObjectSourceLocations</span> QRemoteObjectRegistry::<span class="name">sourceLocations</span>() const</h3> <p>Returns a QRemoteObjectSourceLocations object, which includes the name and additional information of all sources known to the registry.</p> <p><b>Note:</b> Getter function for property <a href="qremoteobjectregistry.html#sourceLocations-prop">sourceLocations</a>. </p><!-- @@@sourceLocations --> </div> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br/> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br/> 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. </p> </div> </body> </html>