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> TemplateOsclMemAllocDestructDealloc&lt; T &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>OsclMemAllocDestructDealloc&lt; T &gt; Class Template Reference<br>
     10 <small>
     11 [<a class="el" href="group__osclmemory.html">OSCL Memory</a>,&nbsp;<a class="el" href="group__osclmemory.html">OSCL Memory</a>]</small>
     12 </h1><code>#include &lt;<a class="el" href="oscl__mem_8h-source.html">oscl_mem.h</a>&gt;</code>
     13 <p>
     14 <p>Inheritance diagram for OsclMemAllocDestructDealloc&lt; T &gt;:
     15 <p><center><img src="classOsclMemAllocDestructDealloc.png" usemap="#OsclMemAllocDestructDealloc< T >_map" border="0" alt=""></center>
     16 <map name="OsclMemAllocDestructDealloc< T >_map">
     17 <area href="classOsclAllocDestructDealloc.html" alt="OsclAllocDestructDealloc" shape="rect" coords="112,112,327,136">
     18 <area href="classOsclDestructDealloc.html" alt="OsclDestructDealloc" shape="rect" coords="0,56,215,80">
     19 <area href="classOscl__DefAlloc.html" alt="Oscl_DefAlloc" shape="rect" coords="225,56,440,80">
     20 <area href="classOscl__Alloc.html" alt="Oscl_Alloc" shape="rect" coords="112,0,327,24">
     21 <area href="classOscl__Dealloc.html" alt="Oscl_Dealloc" shape="rect" coords="337,0,552,24">
     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><a class="el" href="group__osclbase.html#a25">OsclAny</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOsclMemAllocDestructDealloc.html#a0">allocate_fl</a> (const uint32 size, const char *file_name, const int line_num)</td></tr>
     27 <tr><td nowrap align=right valign=top><a class="el" href="group__osclbase.html#a25">OsclAny</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOsclMemAllocDestructDealloc.html#a1">allocate</a> (const uint32 size)</td></tr>
     28 <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOsclMemAllocDestructDealloc.html#a2">deallocate</a> (<a class="el" href="group__osclbase.html#a25">OsclAny</a> *p)</td></tr>
     29 <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOsclMemAllocDestructDealloc.html#a3">destruct_and_dealloc</a> (<a class="el" href="group__osclbase.html#a25">OsclAny</a> *p)</td></tr>
     30 </table>
     31 <hr><a name="_details"></a><h2>Detailed Description</h2>
     32 <h3>template&lt;class T&gt;<br>
     33  class OsclMemAllocDestructDealloc&lt; T &gt;</h3>
     34 
     35 An <a class="el" href="classOsclAllocDestructDealloc.html">OsclAllocDestructDealloc</a> class that uses <a class="el" href="classOsclMemAllocator.html">OsclMemAllocator</a>. 
     36 <p>
     37 <hr><h2>Member Function Documentation</h2>
     38 <a name="a1" doxytag="OsclMemAllocDestructDealloc::allocate"></a><p>
     39 <table width="100%" cellpadding="2" cellspacing="0" border="0">
     40   <tr>
     41     <td class="md">
     42       <table cellpadding="0" cellspacing="0" border="0">
     43         <tr>
     44           <td class="md" colspan="4">
     45 template&lt;class T&gt; </td>
     46         </tr>
     47         <tr>
     48           <td class="md" nowrap valign="top"> <a class="el" href="group__osclbase.html#a25">OsclAny</a>* OsclMemAllocDestructDealloc&lt; T &gt;::allocate </td>
     49           <td class="md" valign="top">(&nbsp;</td>
     50           <td class="md" nowrap valign="top">const uint32&nbsp;</td>
     51           <td class="mdname1" valign="top" nowrap>&nbsp; <em>size</em>          </td>
     52           <td class="md" valign="top">)&nbsp;</td>
     53           <td class="md" nowrap><code> [inline, virtual]</code></td>
     54         </tr>
     55 
     56       </table>
     57     </td>
     58   </tr>
     59 </table>
     60 <table cellspacing=5 cellpadding=0 border=0>
     61   <tr>
     62     <td>
     63       &nbsp;
     64     </td>
     65     <td>
     66 
     67 <p>
     68 
     69 <p>
     70 Implements <a class="el" href="classOscl__DefAlloc.html#a0">Oscl_DefAlloc</a>.    </td>
     71   </tr>
     72 </table>
     73 <a name="a0" doxytag="OsclMemAllocDestructDealloc::allocate_fl"></a><p>
     74 <table width="100%" cellpadding="2" cellspacing="0" border="0">
     75   <tr>
     76     <td class="md">
     77       <table cellpadding="0" cellspacing="0" border="0">
     78         <tr>
     79           <td class="md" colspan="4">
     80 template&lt;class T&gt; </td>
     81         </tr>
     82         <tr>
     83           <td class="md" nowrap valign="top"> <a class="el" href="group__osclbase.html#a25">OsclAny</a>* OsclMemAllocDestructDealloc&lt; T &gt;::allocate_fl </td>
     84           <td class="md" valign="top">(&nbsp;</td>
     85           <td class="md" nowrap valign="top">const uint32&nbsp;</td>
     86           <td class="mdname" nowrap>&nbsp; <em>size</em>, </td>
     87         </tr>
     88         <tr>
     89           <td></td>
     90           <td></td>
     91           <td class="md" nowrap>const char *&nbsp;</td>
     92           <td class="mdname" nowrap>&nbsp; <em>file_name</em>, </td>
     93         </tr>
     94         <tr>
     95           <td></td>
     96           <td></td>
     97           <td class="md" nowrap>const int&nbsp;</td>
     98           <td class="mdname" nowrap>&nbsp; <em>line_num</em></td>
     99         </tr>
    100         <tr>
    101           <td></td>
    102           <td class="md">)&nbsp;</td>
    103           <td class="md" colspan="2"><code> [inline, virtual]</code></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       &nbsp;
    114     </td>
    115     <td>
    116 
    117 <p>
    118 
    119 <p>
    120 Reimplemented from <a class="el" href="classOscl__DefAlloc.html#a1">Oscl_DefAlloc</a>.    </td>
    121   </tr>
    122 </table>
    123 <a name="a2" doxytag="OsclMemAllocDestructDealloc::deallocate"></a><p>
    124 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    125   <tr>
    126     <td class="md">
    127       <table cellpadding="0" cellspacing="0" border="0">
    128         <tr>
    129           <td class="md" colspan="4">
    130 template&lt;class T&gt; </td>
    131         </tr>
    132         <tr>
    133           <td class="md" nowrap valign="top"> void OsclMemAllocDestructDealloc&lt; T &gt;::deallocate </td>
    134           <td class="md" valign="top">(&nbsp;</td>
    135           <td class="md" nowrap valign="top"><a class="el" href="group__osclbase.html#a25">OsclAny</a> *&nbsp;</td>
    136           <td class="mdname1" valign="top" nowrap>&nbsp; <em>p</em>          </td>
    137           <td class="md" valign="top">)&nbsp;</td>
    138           <td class="md" nowrap><code> [inline, virtual]</code></td>
    139         </tr>
    140 
    141       </table>
    142     </td>
    143   </tr>
    144 </table>
    145 <table cellspacing=5 cellpadding=0 border=0>
    146   <tr>
    147     <td>
    148       &nbsp;
    149     </td>
    150     <td>
    151 
    152 <p>
    153 
    154 <p>
    155 Implements <a class="el" href="classOscl__DefAlloc.html#a2">Oscl_DefAlloc</a>.    </td>
    156   </tr>
    157 </table>
    158 <a name="a3" doxytag="OsclMemAllocDestructDealloc::destruct_and_dealloc"></a><p>
    159 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    160   <tr>
    161     <td class="md">
    162       <table cellpadding="0" cellspacing="0" border="0">
    163         <tr>
    164           <td class="md" colspan="4">
    165 template&lt;class T&gt; </td>
    166         </tr>
    167         <tr>
    168           <td class="md" nowrap valign="top"> void OsclMemAllocDestructDealloc&lt; T &gt;::destruct_and_dealloc </td>
    169           <td class="md" valign="top">(&nbsp;</td>
    170           <td class="md" nowrap valign="top"><a class="el" href="group__osclbase.html#a25">OsclAny</a> *&nbsp;</td>
    171           <td class="mdname1" valign="top" nowrap>&nbsp; <em>p</em>          </td>
    172           <td class="md" valign="top">)&nbsp;</td>
    173           <td class="md" nowrap><code> [inline, virtual]</code></td>
    174         </tr>
    175 
    176       </table>
    177     </td>
    178   </tr>
    179 </table>
    180 <table cellspacing=5 cellpadding=0 border=0>
    181   <tr>
    182     <td>
    183       &nbsp;
    184     </td>
    185     <td>
    186 
    187 <p>
    188 
    189 <p>
    190 Implements <a class="el" href="classOsclDestructDealloc.html#a0">OsclDestructDealloc</a>.    </td>
    191   </tr>
    192 </table>
    193 <hr>The documentation for this class was generated from the following file:<ul>
    194 <li><a class="el" href="oscl__mem_8h-source.html">oscl_mem.h</a></ul>
    195 <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
    196 <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
    197 </small></address>
    198 </body>
    199 </html>
    200