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> TemplateOscl_DefAllocWithRefCounter&lt; DefAlloc &gt; 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>Oscl_DefAllocWithRefCounter&lt; DefAlloc &gt; Class Template 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 Oscl_DefAllocWithRefCounter&lt; DefAlloc &gt;:
     15 <p><center><img src="classOscl__DefAllocWithRefCounter.png" usemap="#Oscl_DefAllocWithRefCounter< DefAlloc >_map" border="0" alt=""></center>
     16 <map name="Oscl_DefAllocWithRefCounter< DefAlloc >_map">
     17 <area href="classOsclRefCounter.html" alt="OsclRefCounter" shape="rect" coords="0,0,255,24">
     18 </map>
     19 <table border=0 cellpadding=0 cellspacing=0>
     20 <tr><td></td></tr>
     21 <tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
     22 <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOscl__DefAllocWithRefCounter.html#a0">Delete</a> ()</td></tr>
     23 <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOscl__DefAllocWithRefCounter.html#a1">addRef</a> ()</td></tr>
     24 <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOscl__DefAllocWithRefCounter.html#a2">removeRef</a> ()</td></tr>
     25 <tr><td nowrap align=right valign=top>uint32&nbsp;</td><td valign=bottom><a class="el" href="classOscl__DefAllocWithRefCounter.html#a3">getCount</a> ()</td></tr>
     26 <tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
     27 <tr><td nowrap align=right valign=top>Oscl_DefAllocWithRefCounter *&nbsp;</td><td valign=bottom><a class="el" href="classOscl__DefAllocWithRefCounter.html#d0">New</a> ()</td></tr>
     28 </table>
     29 <hr><a name="_details"></a><h2>Detailed Description</h2>
     30 <h3>template&lt;class DefAlloc&gt;<br>
     31  class Oscl_DefAllocWithRefCounter&lt; DefAlloc &gt;</h3>
     32 
     33 Implementation of an <a class="el" href="classOscl__DefAlloc.html">Oscl_DefAlloc</a> class with a built-in ref counter. 
     34 <p>
     35 <hr><h2>Member Function Documentation</h2>
     36 <a name="a1" doxytag="Oscl_DefAllocWithRefCounter::addRef"></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" colspan="4">
     43 template&lt;class DefAlloc&gt; </td>
     44         </tr>
     45         <tr>
     46           <td class="md" nowrap valign="top"> void Oscl_DefAllocWithRefCounter&lt; DefAlloc &gt;::addRef </td>
     47           <td class="md" valign="top">(&nbsp;</td>
     48           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
     49           <td class="md" valign="top">)&nbsp;</td>
     50           <td class="md" nowrap><code> [inline, virtual]</code></td>
     51         </tr>
     52 
     53       </table>
     54     </td>
     55   </tr>
     56 </table>
     57 <table cellspacing=5 cellpadding=0 border=0>
     58   <tr>
     59     <td>
     60       &nbsp;
     61     </td>
     62     <td>
     63 
     64 <p>
     65 Add to the reference count 
     66 <p>
     67 Implements <a class="el" href="classOsclRefCounter.html#a0">OsclRefCounter</a>.    </td>
     68   </tr>
     69 </table>
     70 <a name="a0" doxytag="Oscl_DefAllocWithRefCounter::Delete"></a><p>
     71 <table width="100%" cellpadding="2" cellspacing="0" border="0">
     72   <tr>
     73     <td class="md">
     74       <table cellpadding="0" cellspacing="0" border="0">
     75         <tr>
     76           <td class="md" colspan="4">
     77 template&lt;class DefAlloc&gt; </td>
     78         </tr>
     79         <tr>
     80           <td class="md" nowrap valign="top"> void Oscl_DefAllocWithRefCounter&lt; DefAlloc &gt;::Delete </td>
     81           <td class="md" valign="top">(&nbsp;</td>
     82           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
     83           <td class="md" valign="top">)&nbsp;</td>
     84           <td class="md" nowrap><code> [inline]</code></td>
     85         </tr>
     86 
     87       </table>
     88     </td>
     89   </tr>
     90 </table>
     91 <table cellspacing=5 cellpadding=0 border=0>
     92   <tr>
     93     <td>
     94       &nbsp;
     95     </td>
     96     <td>
     97 
     98 <p>
     99 Delete object     </td>
    100   </tr>
    101 </table>
    102 <a name="a3" doxytag="Oscl_DefAllocWithRefCounter::getCount"></a><p>
    103 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    104   <tr>
    105     <td class="md">
    106       <table cellpadding="0" cellspacing="0" border="0">
    107         <tr>
    108           <td class="md" colspan="4">
    109 template&lt;class DefAlloc&gt; </td>
    110         </tr>
    111         <tr>
    112           <td class="md" nowrap valign="top"> uint32 Oscl_DefAllocWithRefCounter&lt; DefAlloc &gt;::getCount </td>
    113           <td class="md" valign="top">(&nbsp;</td>
    114           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
    115           <td class="md" valign="top">)&nbsp;</td>
    116           <td class="md" nowrap><code> [inline, virtual]</code></td>
    117         </tr>
    118 
    119       </table>
    120     </td>
    121   </tr>
    122 </table>
    123 <table cellspacing=5 cellpadding=0 border=0>
    124   <tr>
    125     <td>
    126       &nbsp;
    127     </td>
    128     <td>
    129 
    130 <p>
    131 Gets the current number of references 
    132 <p>
    133 Implements <a class="el" href="classOsclRefCounter.html#a2">OsclRefCounter</a>.    </td>
    134   </tr>
    135 </table>
    136 <a name="d0" doxytag="Oscl_DefAllocWithRefCounter::New"></a><p>
    137 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    138   <tr>
    139     <td class="md">
    140       <table cellpadding="0" cellspacing="0" border="0">
    141         <tr>
    142           <td class="md" colspan="4">
    143 template&lt;class DefAlloc&gt; </td>
    144         </tr>
    145         <tr>
    146           <td class="md" nowrap valign="top"> Oscl_DefAllocWithRefCounter* Oscl_DefAllocWithRefCounter&lt; DefAlloc &gt;::New </td>
    147           <td class="md" valign="top">(&nbsp;</td>
    148           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
    149           <td class="md" valign="top">)&nbsp;</td>
    150           <td class="md" nowrap><code> [inline, static]</code></td>
    151         </tr>
    152 
    153       </table>
    154     </td>
    155   </tr>
    156 </table>
    157 <table cellspacing=5 cellpadding=0 border=0>
    158   <tr>
    159     <td>
    160       &nbsp;
    161     </td>
    162     <td>
    163 
    164 <p>
    165 Create object     </td>
    166   </tr>
    167 </table>
    168 <a name="a2" doxytag="Oscl_DefAllocWithRefCounter::removeRef"></a><p>
    169 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    170   <tr>
    171     <td class="md">
    172       <table cellpadding="0" cellspacing="0" border="0">
    173         <tr>
    174           <td class="md" colspan="4">
    175 template&lt;class DefAlloc&gt; </td>
    176         </tr>
    177         <tr>
    178           <td class="md" nowrap valign="top"> void Oscl_DefAllocWithRefCounter&lt; DefAlloc &gt;::removeRef </td>
    179           <td class="md" valign="top">(&nbsp;</td>
    180           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
    181           <td class="md" valign="top">)&nbsp;</td>
    182           <td class="md" nowrap><code> [inline, virtual]</code></td>
    183         </tr>
    184 
    185       </table>
    186     </td>
    187   </tr>
    188 </table>
    189 <table cellspacing=5 cellpadding=0 border=0>
    190   <tr>
    191     <td>
    192       &nbsp;
    193     </td>
    194     <td>
    195 
    196 <p>
    197 Delete from reference count 
    198 <p>
    199 Implements <a class="el" href="classOsclRefCounter.html#a1">OsclRefCounter</a>.    </td>
    200   </tr>
    201 </table>
    202 <hr>The documentation for this class was generated from the following file:<ul>
    203 <li><a class="el" href="oscl__refcounter_8h-source.html">oscl_refcounter.h</a></ul>
    204 <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
    205 <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
    206 </small></address>
    207 </body>
    208 </html>
    209