<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>OsclRegistryClient class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.2.18 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> <hr><h1>OsclRegistryClient Class Reference<br> <small> [<a class="el" href="group__osclutil.html">OSCL Util</a>]</small> </h1><code>#include <<a class="el" href="oscl__registry__client_8h-source.html">oscl_registry_client.h</a>></code> <p> <p>Inheritance diagram for OsclRegistryClient: <p><center><img src="classOsclRegistryClient.png" usemap="#OsclRegistryClient_map" border="0" alt=""></center> <map name="OsclRegistryClient_map"> <area href="classHeapBase.html" alt="HeapBase" shape="rect" coords="0,56,116,80"> <area href="class__OsclHeapBase.html" alt="_OsclHeapBase" shape="rect" coords="0,0,116,24"> </map> <table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF </td><td valign=bottom><a class="el" href="classOsclRegistryClient.html#a0">OsclRegistryClient</a> ()</td></tr> <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF </td><td valign=bottom><a class="el" href="classOsclRegistryClient.html#a1">~OsclRegistryClient</a> ()</td></tr> <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF int32 </td><td valign=bottom><a class="el" href="classOsclRegistryClient.html#a2">Connect</a> (bool aPerThread=false)</td></tr> <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF int32 </td><td valign=bottom><a class="el" href="classOsclRegistryClient.html#a3">Register</a> (<a class="el" href="classOSCL__String.html">OSCL_String</a> &aComponentID, <a class="el" href="group__osclutil.html#a0">OsclComponentFactory</a> aFactory)</td></tr> <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF int32 </td><td valign=bottom><a class="el" href="classOsclRegistryClient.html#a4">UnRegister</a> (<a class="el" href="classOSCL__String.html">OSCL_String</a> &aComponentID)</td></tr> <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF void </td><td valign=bottom><a class="el" href="classOsclRegistryClient.html#a5">Close</a> ()</td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="OsclRegistryClient::OsclRegistryClient"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OSCL_IMPORT_REF OsclRegistryClient::OsclRegistryClient </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a1" doxytag="OsclRegistryClient::~OsclRegistryClient"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OSCL_IMPORT_REF OsclRegistryClient::~OsclRegistryClient </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a5" doxytag="OsclRegistryClient::Close"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OSCL_IMPORT_REF void OsclRegistryClient::Close </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Close and cleanup. All components registered in this session are are automatically unregistered. </td> </tr> </table> <a name="a2" doxytag="OsclRegistryClient::Connect"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OSCL_IMPORT_REF int32 OsclRegistryClient::Connect </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> <em>aPerThread</em> = false </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Create a session. <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>aPerThread:</em> </td><td> Select per-thread registry instead of global registry. </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> OsclErrNone on success. </dl> </td> </tr> </table> <a name="a3" doxytag="OsclRegistryClient::Register"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OSCL_IMPORT_REF int32 OsclRegistryClient::Register </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOSCL__String.html">OSCL_String</a> & </td> <td class="mdname" nowrap> <em>aComponentID</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group__osclutil.html#a0">OsclComponentFactory</a> </td> <td class="mdname" nowrap> <em>aFactory</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Register a component factory by registry ID and component ID.<dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>aComponentID:</em> </td><td> registry + component mime-string. </td></tr> <tr><td valign=top><em>aFactory:</em> </td><td> factory function pointer. </td></tr> <tr><td valign=top><em>aParam:</em> </td><td> component Create param. </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> OsclErrNone on success. </dl> </td> </tr> </table> <a name="a4" doxytag="OsclRegistryClient::UnRegister"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OSCL_IMPORT_REF int32 OsclRegistryClient::UnRegister </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOSCL__String.html">OSCL_String</a> & </td> <td class="mdname1" valign="top" nowrap> <em>aComponentID</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Unregister a previously registered component. <dl compact><dt><b>Returns: </b></dt><dd> OsclErrNone on success. </dl> </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="oscl__registry__client_8h-source.html">oscl_registry_client.h</a></ul> <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> </small></address> </body> </html>