Home | History | Annotate | Download | only in oscl_html
      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>OsclRefCounter 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> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; </center>
      9 <hr><h1>OsclRefCounter Class Reference<br>
     10 <small>
     11 [<a class="el" href="group__osclbase.html">OSCL Base</a>]</small>
     12 </h1><code>#include &lt;<a class="el" href="oscl__refcounter_8h-source.html">oscl_refcounter.h</a>&gt;</code>
     13 <p>
     14 <p>Inheritance diagram for OsclRefCounter:
     15 <p><center><img src="classOsclRefCounter.png" usemap="#OsclRefCounter_map" border="0" alt=""></center>
     16 <map name="OsclRefCounter_map">
     17 <area href="classOscl__DefAllocWithRefCounter.html" alt="Oscl_DefAllocWithRefCounter< DefAlloc >" shape="rect" coords="0,56,296,80">
     18 <area href="classOsclRefCounterDA.html" alt="OsclRefCounterDA" shape="rect" coords="306,56,602,80">
     19 <area href="classOsclRefCounterMTDA.html" alt="OsclRefCounterMTDA< LockType >" shape="rect" coords="612,56,908,80">
     20 <area href="classOsclRefCounterMTSA.html" alt="OsclRefCounterMTSA< DeallocType, LockType >" shape="rect" coords="918,56,1214,80">
     21 <area href="classOsclRefCounterSA.html" alt="OsclRefCounterSA< DeallocType >" shape="rect" coords="1224,56,1520,80">
     22 </map>
     23 <table border=0 cellpadding=0 cellspacing=0>
     24 <tr><td></td></tr>
     25 <tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
     26 <tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classOsclRefCounter.html#a0">addRef</a> ()=0</td></tr>
     27 <tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classOsclRefCounter.html#a1">removeRef</a> ()=0</td></tr>
     28 <tr><td nowrap align=right valign=top>virtual uint32&nbsp;</td><td valign=bottom><a class="el" href="classOsclRefCounter.html#a2">getCount</a> ()=0</td></tr>
     29 <tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classOsclRefCounter.html#a3">~OsclRefCounter</a> ()</td></tr>
     30 </table>
     31 <hr><a name="_details"></a><h2>Detailed Description</h2>
     32 Interface class for OsclRefCounter implementations 
     33 <p>
     34 <hr><h2>Constructor &amp; Destructor Documentation</h2>
     35 <a name="a3" doxytag="OsclRefCounter::~OsclRefCounter"></a><p>
     36 <table width="100%" cellpadding="2" cellspacing="0" border="0">
     37   <tr>
     38     <td class="md">
     39       <table cellpadding="0" cellspacing="0" border="0">
     40         <tr>
     41           <td class="md" nowrap valign="top"> virtual OsclRefCounter::~OsclRefCounter </td>
     42           <td class="md" valign="top">(&nbsp;</td>
     43           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
     44           <td class="md" valign="top">)&nbsp;</td>
     45           <td class="md" nowrap><code> [inline, virtual]</code></td>
     46         </tr>
     47 
     48       </table>
     49     </td>
     50   </tr>
     51 </table>
     52 <table cellspacing=5 cellpadding=0 border=0>
     53   <tr>
     54     <td>
     55       &nbsp;
     56     </td>
     57     <td>
     58 
     59 <p>
     60     </td>
     61   </tr>
     62 </table>
     63 <hr><h2>Member Function Documentation</h2>
     64 <a name="a0" doxytag="OsclRefCounter::addRef"></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"> virtual void OsclRefCounter::addRef </td>
     71           <td class="md" valign="top">(&nbsp;</td>
     72           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
     73           <td class="md" valign="top">)&nbsp;</td>
     74           <td class="md" nowrap><code> [pure virtual]</code></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       &nbsp;
     85     </td>
     86     <td>
     87 
     88 <p>
     89 Add to the reference count 
     90 <p>
     91 Implemented in <a class="el" href="classOsclRefCounterDA.html#a2">OsclRefCounterDA</a>, <a class="el" href="classOsclRefCounterSA.html#a2">OsclRefCounterSA&lt; DeallocType &gt;</a>, <a class="el" href="classOsclRefCounterMTDA.html#a2">OsclRefCounterMTDA&lt; LockType &gt;</a>, <a class="el" href="classOsclRefCounterMTSA.html#a2">OsclRefCounterMTSA&lt; DeallocType, LockType &gt;</a>, and <a class="el" href="classOscl__DefAllocWithRefCounter.html#a1">Oscl_DefAllocWithRefCounter&lt; DefAlloc &gt;</a>.    </td>
     92   </tr>
     93 </table>
     94 <a name="a2" doxytag="OsclRefCounter::getCount"></a><p>
     95 <table width="100%" cellpadding="2" cellspacing="0" border="0">
     96   <tr>
     97     <td class="md">
     98       <table cellpadding="0" cellspacing="0" border="0">
     99         <tr>
    100           <td class="md" nowrap valign="top"> virtual uint32 OsclRefCounter::getCount </td>
    101           <td class="md" valign="top">(&nbsp;</td>
    102           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
    103           <td class="md" valign="top">)&nbsp;</td>
    104           <td class="md" nowrap><code> [pure virtual]</code></td>
    105         </tr>
    106 
    107       </table>
    108     </td>
    109   </tr>
    110 </table>
    111 <table cellspacing=5 cellpadding=0 border=0>
    112   <tr>
    113     <td>
    114       &nbsp;
    115     </td>
    116     <td>
    117 
    118 <p>
    119 Gets the current number of references 
    120 <p>
    121 Implemented in <a class="el" href="classOsclRefCounterDA.html#a4">OsclRefCounterDA</a>, <a class="el" href="classOsclRefCounterSA.html#a4">OsclRefCounterSA&lt; DeallocType &gt;</a>, <a class="el" href="classOsclRefCounterMTDA.html#a4">OsclRefCounterMTDA&lt; LockType &gt;</a>, <a class="el" href="classOsclRefCounterMTSA.html#a4">OsclRefCounterMTSA&lt; DeallocType, LockType &gt;</a>, and <a class="el" href="classOscl__DefAllocWithRefCounter.html#a3">Oscl_DefAllocWithRefCounter&lt; DefAlloc &gt;</a>.    </td>
    122   </tr>
    123 </table>
    124 <a name="a1" doxytag="OsclRefCounter::removeRef"></a><p>
    125 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    126   <tr>
    127     <td class="md">
    128       <table cellpadding="0" cellspacing="0" border="0">
    129         <tr>
    130           <td class="md" nowrap valign="top"> virtual void OsclRefCounter::removeRef </td>
    131           <td class="md" valign="top">(&nbsp;</td>
    132           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
    133           <td class="md" valign="top">)&nbsp;</td>
    134           <td class="md" nowrap><code> [pure virtual]</code></td>
    135         </tr>
    136 
    137       </table>
    138     </td>
    139   </tr>
    140 </table>
    141 <table cellspacing=5 cellpadding=0 border=0>
    142   <tr>
    143     <td>
    144       &nbsp;
    145     </td>
    146     <td>
    147 
    148 <p>
    149 Delete from reference count 
    150 <p>
    151 Implemented in <a class="el" href="classOsclRefCounterDA.html#a3">OsclRefCounterDA</a>, <a class="el" href="classOsclRefCounterSA.html#a3">OsclRefCounterSA&lt; DeallocType &gt;</a>, <a class="el" href="classOsclRefCounterMTDA.html#a3">OsclRefCounterMTDA&lt; LockType &gt;</a>, <a class="el" href="classOsclRefCounterMTSA.html#a3">OsclRefCounterMTSA&lt; DeallocType, LockType &gt;</a>, and <a class="el" href="classOscl__DefAllocWithRefCounter.html#a2">Oscl_DefAllocWithRefCounter&lt; DefAlloc &gt;</a>.    </td>
    152   </tr>
    153 </table>
    154 <hr>The documentation for this class was generated from the following file:<ul>
    155 <li><a class="el" href="oscl__refcounter_8h-source.html">oscl_refcounter.h</a></ul>
    156 <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
    157 <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
    158 </small></address>
    159 </body>
    160 </html>
    161