1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 3 <title>OsclComponentRegistry class Reference</title> 4 <link href="doxygen.css" rel="stylesheet" type="text/css"> 5 </head><body> 6 <!-- Generated by Doxygen 1.2.18 --> 7 <center> 8 <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> 9 <hr><h1>OsclComponentRegistry Class Reference<br> 10 <small> 11 [<a class="el" href="group__osclutil.html">OSCL Util</a>]</small> 12 </h1><code>#include <<a class="el" href="oscl__registry__serv__impl_8h-source.html">oscl_registry_serv_impl.h</a>></code> 13 <p> 14 <table border=0 cellpadding=0 cellspacing=0> 15 <tr><td></td></tr> 16 <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> 17 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classOsclComponentRegistry.html#a0">OsclComponentRegistry</a> ()</td></tr> 18 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classOsclComponentRegistry.html#a1">~OsclComponentRegistry</a> ()</td></tr> 19 <tr><td nowrap align=right valign=top>int32 </td><td valign=bottom><a class="el" href="classOsclComponentRegistry.html#a2">Register</a> (uint32 &aId, <a class="el" href="classOSCL__String.html">OSCL_String</a> &, <a class="el" href="group__osclutil.html#a0">OsclComponentFactory</a>)</td></tr> 20 <tr><td nowrap align=right valign=top>int32 </td><td valign=bottom><a class="el" href="classOsclComponentRegistry.html#a3">Unregister</a> (<a class="el" href="classOSCL__String.html">OSCL_String</a> &)</td></tr> 21 <tr><td nowrap align=right valign=top>int32 </td><td valign=bottom><a class="el" href="classOsclComponentRegistry.html#a4">Unregister</a> (uint32)</td></tr> 22 <tr><td nowrap align=right valign=top><a class="el" href="group__osclutil.html#a0">OsclComponentFactory</a> </td><td valign=bottom><a class="el" href="classOsclComponentRegistry.html#a5">FindExact</a> (<a class="el" href="classOSCL__String.html">OSCL_String</a> &)</td></tr> 23 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOsclComponentRegistry.html#a6">FindHierarchical</a> (<a class="el" href="classOSCL__String.html">OSCL_String</a> &, <a class="el" href="classOscl__Vector.html">Oscl_Vector</a>< <a class="el" href="classOsclRegistryAccessElement.html">OsclRegistryAccessElement</a>, <a class="el" href="classOsclMemAllocator.html">OsclMemAllocator</a> > &)</td></tr> 24 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOsclComponentRegistry.html#a7">OpenSession</a> ()</td></tr> 25 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOsclComponentRegistry.html#a8">CloseSession</a> ()</td></tr> 26 <tr><td colspan=2><br><h2>Data Fields</h2></td></tr> 27 <tr><td nowrap align=right valign=top><a class="el" href="classOsclComponentRegistryData.html">OsclComponentRegistryData</a> </td><td valign=bottom><a class="el" href="classOsclComponentRegistry.html#m0">iData</a></td></tr> 28 <tr><td nowrap align=right valign=top><a class="el" href="classOsclMutex.html">OsclMutex</a> </td><td valign=bottom><a class="el" href="classOsclComponentRegistry.html#m1">iMutex</a></td></tr> 29 <tr><td nowrap align=right valign=top>uint32 </td><td valign=bottom><a class="el" href="classOsclComponentRegistry.html#m2">iComponentIdCounter</a></td></tr> 30 <tr><td nowrap align=right valign=top>uint32 </td><td valign=bottom><a class="el" href="classOsclComponentRegistry.html#m3">iNumSessions</a></td></tr> 31 </table> 32 <hr><a name="_details"></a><h2>Detailed Description</h2> 33 Thread-safe singleton registry object. 34 <p> 35 <hr><h2>Constructor & Destructor Documentation</h2> 36 <a name="a0" doxytag="OsclComponentRegistry::OsclComponentRegistry"></a><p> 37 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 38 <tr> 39 <td class="md"> 40 <table cellpadding="0" cellspacing="0" border="0"> 41 <tr> 42 <td class="md" nowrap valign="top"> OsclComponentRegistry::OsclComponentRegistry </td> 43 <td class="md" valign="top">( </td> 44 <td class="mdname1" valign="top" nowrap> </td> 45 <td class="md" valign="top">) </td> 46 <td class="md" nowrap></td> 47 </tr> 48 49 </table> 50 </td> 51 </tr> 52 </table> 53 <table cellspacing=5 cellpadding=0 border=0> 54 <tr> 55 <td> 56 57 </td> 58 <td> 59 60 <p> 61 </td> 62 </tr> 63 </table> 64 <a name="a1" doxytag="OsclComponentRegistry::~OsclComponentRegistry"></a><p> 65 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 66 <tr> 67 <td class="md"> 68 <table cellpadding="0" cellspacing="0" border="0"> 69 <tr> 70 <td class="md" nowrap valign="top"> OsclComponentRegistry::~OsclComponentRegistry </td> 71 <td class="md" valign="top">( </td> 72 <td class="mdname1" valign="top" nowrap> </td> 73 <td class="md" valign="top">) </td> 74 <td class="md" nowrap></td> 75 </tr> 76 77 </table> 78 </td> 79 </tr> 80 </table> 81 <table cellspacing=5 cellpadding=0 border=0> 82 <tr> 83 <td> 84 85 </td> 86 <td> 87 88 <p> 89 </td> 90 </tr> 91 </table> 92 <hr><h2>Member Function Documentation</h2> 93 <a name="a8" doxytag="OsclComponentRegistry::CloseSession"></a><p> 94 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 95 <tr> 96 <td class="md"> 97 <table cellpadding="0" cellspacing="0" border="0"> 98 <tr> 99 <td class="md" nowrap valign="top"> void OsclComponentRegistry::CloseSession </td> 100 <td class="md" valign="top">( </td> 101 <td class="mdname1" valign="top" nowrap> </td> 102 <td class="md" valign="top">) </td> 103 <td class="md" nowrap></td> 104 </tr> 105 106 </table> 107 </td> 108 </tr> 109 </table> 110 <table cellspacing=5 cellpadding=0 border=0> 111 <tr> 112 <td> 113 114 </td> 115 <td> 116 117 <p> 118 </td> 119 </tr> 120 </table> 121 <a name="a5" doxytag="OsclComponentRegistry::FindExact"></a><p> 122 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 123 <tr> 124 <td class="md"> 125 <table cellpadding="0" cellspacing="0" border="0"> 126 <tr> 127 <td class="md" nowrap valign="top"> <a class="el" href="group__osclutil.html#a0">OsclComponentFactory</a> OsclComponentRegistry::FindExact </td> 128 <td class="md" valign="top">( </td> 129 <td class="md" nowrap valign="top"><a class="el" href="classOSCL__String.html">OSCL_String</a> & </td> 130 <td class="mdname1" valign="top" nowrap> </td> 131 <td class="md" valign="top">) </td> 132 <td class="md" nowrap></td> 133 </tr> 134 135 </table> 136 </td> 137 </tr> 138 </table> 139 <table cellspacing=5 cellpadding=0 border=0> 140 <tr> 141 <td> 142 143 </td> 144 <td> 145 146 <p> 147 </td> 148 </tr> 149 </table> 150 <a name="a6" doxytag="OsclComponentRegistry::FindHierarchical"></a><p> 151 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 152 <tr> 153 <td class="md"> 154 <table cellpadding="0" cellspacing="0" border="0"> 155 <tr> 156 <td class="md" nowrap valign="top"> void OsclComponentRegistry::FindHierarchical </td> 157 <td class="md" valign="top">( </td> 158 <td class="md" nowrap valign="top"><a class="el" href="classOSCL__String.html">OSCL_String</a> & </td> 159 <td class="mdname" nowrap> , </td> 160 </tr> 161 <tr> 162 <td></td> 163 <td></td> 164 <td class="md" nowrap><a class="el" href="classOscl__Vector.html">Oscl_Vector</a>< <a class="el" href="classOsclRegistryAccessElement.html">OsclRegistryAccessElement</a>, <a class="el" href="classOsclMemAllocator.html">OsclMemAllocator</a> > & </td> 165 <td class="mdname" nowrap> </td> 166 </tr> 167 <tr> 168 <td></td> 169 <td class="md">) </td> 170 <td class="md" colspan="2"></td> 171 </tr> 172 173 </table> 174 </td> 175 </tr> 176 </table> 177 <table cellspacing=5 cellpadding=0 border=0> 178 <tr> 179 <td> 180 181 </td> 182 <td> 183 184 <p> 185 </td> 186 </tr> 187 </table> 188 <a name="a7" doxytag="OsclComponentRegistry::OpenSession"></a><p> 189 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 190 <tr> 191 <td class="md"> 192 <table cellpadding="0" cellspacing="0" border="0"> 193 <tr> 194 <td class="md" nowrap valign="top"> void OsclComponentRegistry::OpenSession </td> 195 <td class="md" valign="top">( </td> 196 <td class="mdname1" valign="top" nowrap> </td> 197 <td class="md" valign="top">) </td> 198 <td class="md" nowrap></td> 199 </tr> 200 201 </table> 202 </td> 203 </tr> 204 </table> 205 <table cellspacing=5 cellpadding=0 border=0> 206 <tr> 207 <td> 208 209 </td> 210 <td> 211 212 <p> 213 </td> 214 </tr> 215 </table> 216 <a name="a2" doxytag="OsclComponentRegistry::Register"></a><p> 217 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 218 <tr> 219 <td class="md"> 220 <table cellpadding="0" cellspacing="0" border="0"> 221 <tr> 222 <td class="md" nowrap valign="top"> int32 OsclComponentRegistry::Register </td> 223 <td class="md" valign="top">( </td> 224 <td class="md" nowrap valign="top">uint32 & </td> 225 <td class="mdname" nowrap> <em>aId</em>, </td> 226 </tr> 227 <tr> 228 <td></td> 229 <td></td> 230 <td class="md" nowrap><a class="el" href="classOSCL__String.html">OSCL_String</a> & </td> 231 <td class="mdname" nowrap> , </td> 232 </tr> 233 <tr> 234 <td></td> 235 <td></td> 236 <td class="md" nowrap><a class="el" href="group__osclutil.html#a0">OsclComponentFactory</a> </td> 237 <td class="mdname" nowrap> </td> 238 </tr> 239 <tr> 240 <td></td> 241 <td class="md">) </td> 242 <td class="md" colspan="2"></td> 243 </tr> 244 245 </table> 246 </td> 247 </tr> 248 </table> 249 <table cellspacing=5 cellpadding=0 border=0> 250 <tr> 251 <td> 252 253 </td> 254 <td> 255 256 <p> 257 </td> 258 </tr> 259 </table> 260 <a name="a4" doxytag="OsclComponentRegistry::Unregister"></a><p> 261 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 262 <tr> 263 <td class="md"> 264 <table cellpadding="0" cellspacing="0" border="0"> 265 <tr> 266 <td class="md" nowrap valign="top"> int32 OsclComponentRegistry::Unregister </td> 267 <td class="md" valign="top">( </td> 268 <td class="md" nowrap valign="top">uint32 </td> 269 <td class="mdname1" valign="top" nowrap> </td> 270 <td class="md" valign="top">) </td> 271 <td class="md" nowrap></td> 272 </tr> 273 274 </table> 275 </td> 276 </tr> 277 </table> 278 <table cellspacing=5 cellpadding=0 border=0> 279 <tr> 280 <td> 281 282 </td> 283 <td> 284 285 <p> 286 </td> 287 </tr> 288 </table> 289 <a name="a3" doxytag="OsclComponentRegistry::Unregister"></a><p> 290 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 291 <tr> 292 <td class="md"> 293 <table cellpadding="0" cellspacing="0" border="0"> 294 <tr> 295 <td class="md" nowrap valign="top"> int32 OsclComponentRegistry::Unregister </td> 296 <td class="md" valign="top">( </td> 297 <td class="md" nowrap valign="top"><a class="el" href="classOSCL__String.html">OSCL_String</a> & </td> 298 <td class="mdname1" valign="top" nowrap> </td> 299 <td class="md" valign="top">) </td> 300 <td class="md" nowrap></td> 301 </tr> 302 303 </table> 304 </td> 305 </tr> 306 </table> 307 <table cellspacing=5 cellpadding=0 border=0> 308 <tr> 309 <td> 310 311 </td> 312 <td> 313 314 <p> 315 </td> 316 </tr> 317 </table> 318 <hr><h2>Field Documentation</h2> 319 <a name="m2" doxytag="OsclComponentRegistry::iComponentIdCounter"></a><p> 320 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 321 <tr> 322 <td class="md"> 323 <table cellpadding="0" cellspacing="0" border="0"> 324 <tr> 325 <td class="md" nowrap valign="top"> uint32 OsclComponentRegistry::iComponentIdCounter 326 </table> 327 </td> 328 </tr> 329 </table> 330 <table cellspacing=5 cellpadding=0 border=0> 331 <tr> 332 <td> 333 334 </td> 335 <td> 336 337 <p> 338 </td> 339 </tr> 340 </table> 341 <a name="m0" doxytag="OsclComponentRegistry::iData"></a><p> 342 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 343 <tr> 344 <td class="md"> 345 <table cellpadding="0" cellspacing="0" border="0"> 346 <tr> 347 <td class="md" nowrap valign="top"> <a class="el" href="classOsclComponentRegistryData.html">OsclComponentRegistryData</a> OsclComponentRegistry::iData 348 </table> 349 </td> 350 </tr> 351 </table> 352 <table cellspacing=5 cellpadding=0 border=0> 353 <tr> 354 <td> 355 356 </td> 357 <td> 358 359 <p> 360 </td> 361 </tr> 362 </table> 363 <a name="m1" doxytag="OsclComponentRegistry::iMutex"></a><p> 364 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 365 <tr> 366 <td class="md"> 367 <table cellpadding="0" cellspacing="0" border="0"> 368 <tr> 369 <td class="md" nowrap valign="top"> <a class="el" href="classOsclMutex.html">OsclMutex</a> OsclComponentRegistry::iMutex 370 </table> 371 </td> 372 </tr> 373 </table> 374 <table cellspacing=5 cellpadding=0 border=0> 375 <tr> 376 <td> 377 378 </td> 379 <td> 380 381 <p> 382 </td> 383 </tr> 384 </table> 385 <a name="m3" doxytag="OsclComponentRegistry::iNumSessions"></a><p> 386 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 387 <tr> 388 <td class="md"> 389 <table cellpadding="0" cellspacing="0" border="0"> 390 <tr> 391 <td class="md" nowrap valign="top"> uint32 OsclComponentRegistry::iNumSessions 392 </table> 393 </td> 394 </tr> 395 </table> 396 <table cellspacing=5 cellpadding=0 border=0> 397 <tr> 398 <td> 399 400 </td> 401 <td> 402 403 <p> 404 </td> 405 </tr> 406 </table> 407 <hr>The documentation for this class was generated from the following file:<ul> 408 <li><a class="el" href="oscl__registry__serv__impl_8h-source.html">oscl_registry_serv_impl.h</a></ul> 409 <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> 410 <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 411 </small></address> 412 </body> 413 </html> 414