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>oscl_singleton.h File 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>oscl_singleton.h File Reference</h1>This file defines the <a class="el" href="classOsclSingleton.html">OsclSingleton</a> class. This class provides a container which used to give access to a set of process-level singleton objects. Each object is indexed by an integer ID, listed below. There can only be one instance of each object per process at a given time. 10 <a href="#_details">More...</a> 11 <p> 12 <code>#include "<a class="el" href="oscl__base_8h-source.html">oscl_base.h</a>"</code><br> 13 <code>#include "<a class="el" href="oscl__defalloc_8h-source.html">oscl_defalloc.h</a>"</code><br> 14 15 <p> 16 <a href="oscl__singleton_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> 17 <tr><td></td></tr> 18 <tr><td colspan=2><br><h2>Data Structures</h2></td></tr> 19 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclSingleton.html">OsclSingleton</a></td></tr> 20 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclSingletonRegistry.html">OsclSingletonRegistry</a></td></tr> 21 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><b>SingletonTable</b></td></tr> 22 <tr><td colspan=2><br><h2>Variables</h2></td></tr> 23 <tr><td nowrap align=right valign=top>const uint32 </td><td valign=bottom><a class="el" href="oscl__singleton_8h.html#a0">OSCL_SINGLETON_ID_TEST</a> = 0</td></tr> 24 <tr><td nowrap align=right valign=top>const uint32 </td><td valign=bottom><a class="el" href="oscl__singleton_8h.html#a1">OSCL_SINGLETON_ID_OSCLMEM</a> = 1</td></tr> 25 <tr><td nowrap align=right valign=top>const uint32 </td><td valign=bottom><a class="el" href="oscl__singleton_8h.html#a2">OSCL_SINGLETON_ID_PVLOGGER</a> = 2</td></tr> 26 <tr><td nowrap align=right valign=top>const uint32 </td><td valign=bottom><a class="el" href="oscl__singleton_8h.html#a3">OSCL_SINGLETON_ID_PVSCHEDULER</a> = 3</td></tr> 27 <tr><td nowrap align=right valign=top>const uint32 </td><td valign=bottom><a class="el" href="oscl__singleton_8h.html#a4">OSCL_SINGLETON_ID_PVERRORTRAP</a> = 4</td></tr> 28 <tr><td nowrap align=right valign=top>const uint32 </td><td valign=bottom><a class="el" href="oscl__singleton_8h.html#a5">OSCL_SINGLETON_ID_SDPMEDIAPARSER</a> = 5</td></tr> 29 <tr><td nowrap align=right valign=top>const uint32 </td><td valign=bottom><a class="el" href="oscl__singleton_8h.html#a6">OSCL_SINGLETON_ID_PAYLOADPARSER</a> = 6</td></tr> 30 <tr><td nowrap align=right valign=top>const uint32 </td><td valign=bottom><a class="el" href="oscl__singleton_8h.html#a7">OSCL_SINGLETON_ID_CPM_PLUGIN</a> = 7</td></tr> 31 <tr><td nowrap align=right valign=top>const uint32 </td><td valign=bottom><a class="el" href="oscl__singleton_8h.html#a8">OSCL_SINGLETON_ID_PVMFRECOGNIZER</a> = 8</td></tr> 32 <tr><td nowrap align=right valign=top>const uint32 </td><td valign=bottom><a class="el" href="oscl__singleton_8h.html#a9">OSCL_SINGLETON_ID_OSCLREGISTRY</a> = 9</td></tr> 33 <tr><td nowrap align=right valign=top>const uint32 </td><td valign=bottom><a class="el" href="oscl__singleton_8h.html#a10">OSCL_SINGLETON_ID_OMX</a> = 10</td></tr> 34 <tr><td nowrap align=right valign=top>const uint32 </td><td valign=bottom><a class="el" href="oscl__singleton_8h.html#a11">OSCL_SINGLETON_ID_OMXMASTERCORE</a> = 11</td></tr> 35 <tr><td nowrap align=right valign=top>const uint32 </td><td valign=bottom><a class="el" href="oscl__singleton_8h.html#a12">OSCL_SINGLETON_ID_TICKCOUNT</a> = 12</td></tr> 36 <tr><td nowrap align=right valign=top>const uint32 </td><td valign=bottom><a class="el" href="oscl__singleton_8h.html#a13">OSCL_SINGLETON_ID_LAST</a> = 13</td></tr> 37 </table> 38 <hr><a name="_details"></a><h2>Detailed Description</h2> 39 This file defines the <a class="el" href="classOsclSingleton.html">OsclSingleton</a> class. This class provides a container which used to give access to a set of process-level singleton objects. Each object is indexed by an integer ID, listed below. There can only be one instance of each object per process at a given time. 40 <p> 41 42 <p> 43 <a class="el" href="classOsclSingleton.html">OsclSingleton</a> is initialized in OsclBase::Init. 44 <p> 45 <hr><h2>Variable Documentation</h2> 46 <a name="a7" doxytag="oscl_singleton.h::OSCL_SINGLETON_ID_CPM_PLUGIN"></a><p> 47 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 48 <tr> 49 <td class="md"> 50 <table cellpadding="0" cellspacing="0" border="0"> 51 <tr> 52 <td class="md" nowrap valign="top"> const uint32 OSCL_SINGLETON_ID_CPM_PLUGIN = 7 53 </table> 54 </td> 55 </tr> 56 </table> 57 <table cellspacing=5 cellpadding=0 border=0> 58 <tr> 59 <td> 60 61 </td> 62 <td> 63 64 <p> 65 </td> 66 </tr> 67 </table> 68 <a name="a13" doxytag="oscl_singleton.h::OSCL_SINGLETON_ID_LAST"></a><p> 69 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 70 <tr> 71 <td class="md"> 72 <table cellpadding="0" cellspacing="0" border="0"> 73 <tr> 74 <td class="md" nowrap valign="top"> const uint32 OSCL_SINGLETON_ID_LAST = 13 75 </table> 76 </td> 77 </tr> 78 </table> 79 <table cellspacing=5 cellpadding=0 border=0> 80 <tr> 81 <td> 82 83 </td> 84 <td> 85 86 <p> 87 </td> 88 </tr> 89 </table> 90 <a name="a10" doxytag="oscl_singleton.h::OSCL_SINGLETON_ID_OMX"></a><p> 91 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 92 <tr> 93 <td class="md"> 94 <table cellpadding="0" cellspacing="0" border="0"> 95 <tr> 96 <td class="md" nowrap valign="top"> const uint32 OSCL_SINGLETON_ID_OMX = 10 97 </table> 98 </td> 99 </tr> 100 </table> 101 <table cellspacing=5 cellpadding=0 border=0> 102 <tr> 103 <td> 104 105 </td> 106 <td> 107 108 <p> 109 </td> 110 </tr> 111 </table> 112 <a name="a11" doxytag="oscl_singleton.h::OSCL_SINGLETON_ID_OMXMASTERCORE"></a><p> 113 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 114 <tr> 115 <td class="md"> 116 <table cellpadding="0" cellspacing="0" border="0"> 117 <tr> 118 <td class="md" nowrap valign="top"> const uint32 OSCL_SINGLETON_ID_OMXMASTERCORE = 11 119 </table> 120 </td> 121 </tr> 122 </table> 123 <table cellspacing=5 cellpadding=0 border=0> 124 <tr> 125 <td> 126 127 </td> 128 <td> 129 130 <p> 131 </td> 132 </tr> 133 </table> 134 <a name="a1" doxytag="oscl_singleton.h::OSCL_SINGLETON_ID_OSCLMEM"></a><p> 135 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 136 <tr> 137 <td class="md"> 138 <table cellpadding="0" cellspacing="0" border="0"> 139 <tr> 140 <td class="md" nowrap valign="top"> const uint32 OSCL_SINGLETON_ID_OSCLMEM = 1 141 </table> 142 </td> 143 </tr> 144 </table> 145 <table cellspacing=5 cellpadding=0 border=0> 146 <tr> 147 <td> 148 149 </td> 150 <td> 151 152 <p> 153 </td> 154 </tr> 155 </table> 156 <a name="a9" doxytag="oscl_singleton.h::OSCL_SINGLETON_ID_OSCLREGISTRY"></a><p> 157 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 158 <tr> 159 <td class="md"> 160 <table cellpadding="0" cellspacing="0" border="0"> 161 <tr> 162 <td class="md" nowrap valign="top"> const uint32 OSCL_SINGLETON_ID_OSCLREGISTRY = 9 163 </table> 164 </td> 165 </tr> 166 </table> 167 <table cellspacing=5 cellpadding=0 border=0> 168 <tr> 169 <td> 170 171 </td> 172 <td> 173 174 <p> 175 </td> 176 </tr> 177 </table> 178 <a name="a6" doxytag="oscl_singleton.h::OSCL_SINGLETON_ID_PAYLOADPARSER"></a><p> 179 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 180 <tr> 181 <td class="md"> 182 <table cellpadding="0" cellspacing="0" border="0"> 183 <tr> 184 <td class="md" nowrap valign="top"> const uint32 OSCL_SINGLETON_ID_PAYLOADPARSER = 6 185 </table> 186 </td> 187 </tr> 188 </table> 189 <table cellspacing=5 cellpadding=0 border=0> 190 <tr> 191 <td> 192 193 </td> 194 <td> 195 196 <p> 197 </td> 198 </tr> 199 </table> 200 <a name="a4" doxytag="oscl_singleton.h::OSCL_SINGLETON_ID_PVERRORTRAP"></a><p> 201 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 202 <tr> 203 <td class="md"> 204 <table cellpadding="0" cellspacing="0" border="0"> 205 <tr> 206 <td class="md" nowrap valign="top"> const uint32 OSCL_SINGLETON_ID_PVERRORTRAP = 4 207 </table> 208 </td> 209 </tr> 210 </table> 211 <table cellspacing=5 cellpadding=0 border=0> 212 <tr> 213 <td> 214 215 </td> 216 <td> 217 218 <p> 219 </td> 220 </tr> 221 </table> 222 <a name="a2" doxytag="oscl_singleton.h::OSCL_SINGLETON_ID_PVLOGGER"></a><p> 223 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 224 <tr> 225 <td class="md"> 226 <table cellpadding="0" cellspacing="0" border="0"> 227 <tr> 228 <td class="md" nowrap valign="top"> const uint32 OSCL_SINGLETON_ID_PVLOGGER = 2 229 </table> 230 </td> 231 </tr> 232 </table> 233 <table cellspacing=5 cellpadding=0 border=0> 234 <tr> 235 <td> 236 237 </td> 238 <td> 239 240 <p> 241 </td> 242 </tr> 243 </table> 244 <a name="a8" doxytag="oscl_singleton.h::OSCL_SINGLETON_ID_PVMFRECOGNIZER"></a><p> 245 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 246 <tr> 247 <td class="md"> 248 <table cellpadding="0" cellspacing="0" border="0"> 249 <tr> 250 <td class="md" nowrap valign="top"> const uint32 OSCL_SINGLETON_ID_PVMFRECOGNIZER = 8 251 </table> 252 </td> 253 </tr> 254 </table> 255 <table cellspacing=5 cellpadding=0 border=0> 256 <tr> 257 <td> 258 259 </td> 260 <td> 261 262 <p> 263 </td> 264 </tr> 265 </table> 266 <a name="a3" doxytag="oscl_singleton.h::OSCL_SINGLETON_ID_PVSCHEDULER"></a><p> 267 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 268 <tr> 269 <td class="md"> 270 <table cellpadding="0" cellspacing="0" border="0"> 271 <tr> 272 <td class="md" nowrap valign="top"> const uint32 OSCL_SINGLETON_ID_PVSCHEDULER = 3 273 </table> 274 </td> 275 </tr> 276 </table> 277 <table cellspacing=5 cellpadding=0 border=0> 278 <tr> 279 <td> 280 281 </td> 282 <td> 283 284 <p> 285 </td> 286 </tr> 287 </table> 288 <a name="a5" doxytag="oscl_singleton.h::OSCL_SINGLETON_ID_SDPMEDIAPARSER"></a><p> 289 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 290 <tr> 291 <td class="md"> 292 <table cellpadding="0" cellspacing="0" border="0"> 293 <tr> 294 <td class="md" nowrap valign="top"> const uint32 OSCL_SINGLETON_ID_SDPMEDIAPARSER = 5 295 </table> 296 </td> 297 </tr> 298 </table> 299 <table cellspacing=5 cellpadding=0 border=0> 300 <tr> 301 <td> 302 303 </td> 304 <td> 305 306 <p> 307 </td> 308 </tr> 309 </table> 310 <a name="a0" doxytag="oscl_singleton.h::OSCL_SINGLETON_ID_TEST"></a><p> 311 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 312 <tr> 313 <td class="md"> 314 <table cellpadding="0" cellspacing="0" border="0"> 315 <tr> 316 <td class="md" nowrap valign="top"> const uint32 OSCL_SINGLETON_ID_TEST = 0 317 </table> 318 </td> 319 </tr> 320 </table> 321 <table cellspacing=5 cellpadding=0 border=0> 322 <tr> 323 <td> 324 325 </td> 326 <td> 327 328 <p> 329 </td> 330 </tr> 331 </table> 332 <a name="a12" doxytag="oscl_singleton.h::OSCL_SINGLETON_ID_TICKCOUNT"></a><p> 333 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 334 <tr> 335 <td class="md"> 336 <table cellpadding="0" cellspacing="0" border="0"> 337 <tr> 338 <td class="md" nowrap valign="top"> const uint32 OSCL_SINGLETON_ID_TICKCOUNT = 12 339 </table> 340 </td> 341 </tr> 342 </table> 343 <table cellspacing=5 cellpadding=0 border=0> 344 <tr> 345 <td> 346 347 </td> 348 <td> 349 350 <p> 351 </td> 352 </tr> 353 </table> 354 <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> 355 <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 356 </small></address> 357 </body> 358 </html> 359