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> TemplateMemAllocator&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>MemAllocator&lt; T &gt; Class Template Reference<br>
     10 <small>
     11 [<a class="el" href="group__osclutil.html">OSCL Util</a>]</small>
     12 </h1><code>#include &lt;<a class="el" href="oscl__media__data_8h-source.html">oscl_media_data.h</a>&gt;</code>
     13 <p>
     14 <table border=0 cellpadding=0 cellspacing=0>
     15 <tr><td></td></tr>
     16 <tr><td colspan=2><br><h2>Public Types</h2></td></tr>
     17 <tr><td nowrap align=right valign=top>typedef T *&nbsp;</td><td valign=bottom><a class="el" href="classMemAllocator.html#s0">pointer</a></td></tr>
     18 <tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
     19 <tr><td nowrap align=right valign=top>virtual <a class="el" href="classMemAllocator.html#s0">pointer</a>&nbsp;</td><td valign=bottom><a class="el" href="classMemAllocator.html#a0">allocate</a> (void *hint=0, const int num_reserved_frags=1)=0</td></tr>
     20 <tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classMemAllocator.html#a1">deallocate</a> (<a class="el" href="classMemAllocator.html#s0">pointer</a> p)=0</td></tr>
     21 <tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classMemAllocator.html#a2">~MemAllocator</a> ()</td></tr>
     22 </table>
     23 <h3>template&lt;class T&gt;<br>
     24  class MemAllocator&lt; T &gt;</h3>
     25 
     26 <hr><h2>Member Typedef Documentation</h2>
     27 <a name="s0" doxytag="MemAllocator::pointer"></a><p>
     28 <table width="100%" cellpadding="2" cellspacing="0" border="0">
     29   <tr>
     30     <td class="md">
     31       <table cellpadding="0" cellspacing="0" border="0">
     32         <tr>
     33           <td class="md" colspan="4">
     34 template&lt;class T&gt; </td>
     35         </tr>
     36         <tr>
     37           <td class="md" nowrap valign="top"> typedef T* MemAllocator&lt; T &gt;::pointer
     38       </table>
     39     </td>
     40   </tr>
     41 </table>
     42 <table cellspacing=5 cellpadding=0 border=0>
     43   <tr>
     44     <td>
     45       &nbsp;
     46     </td>
     47     <td>
     48 
     49 <p>
     50     </td>
     51   </tr>
     52 </table>
     53 <hr><h2>Constructor &amp; Destructor Documentation</h2>
     54 <a name="a2" doxytag="MemAllocator::~MemAllocator"></a><p>
     55 <table width="100%" cellpadding="2" cellspacing="0" border="0">
     56   <tr>
     57     <td class="md">
     58       <table cellpadding="0" cellspacing="0" border="0">
     59         <tr>
     60           <td class="md" colspan="4">
     61 template&lt;class T&gt; </td>
     62         </tr>
     63         <tr>
     64           <td class="md" nowrap valign="top"> virtual MemAllocator&lt; T &gt;::~MemAllocator </td>
     65           <td class="md" valign="top">(&nbsp;</td>
     66           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
     67           <td class="md" valign="top">)&nbsp;</td>
     68           <td class="md" nowrap><code> [inline, virtual]</code></td>
     69         </tr>
     70 
     71       </table>
     72     </td>
     73   </tr>
     74 </table>
     75 <table cellspacing=5 cellpadding=0 border=0>
     76   <tr>
     77     <td>
     78       &nbsp;
     79     </td>
     80     <td>
     81 
     82 <p>
     83     </td>
     84   </tr>
     85 </table>
     86 <hr><h2>Member Function Documentation</h2>
     87 <a name="a0" doxytag="MemAllocator::allocate"></a><p>
     88 <table width="100%" cellpadding="2" cellspacing="0" border="0">
     89   <tr>
     90     <td class="md">
     91       <table cellpadding="0" cellspacing="0" border="0">
     92         <tr>
     93           <td class="md" colspan="4">
     94 template&lt;class T&gt; </td>
     95         </tr>
     96         <tr>
     97           <td class="md" nowrap valign="top"> virtual <a class="el" href="classMemAllocator.html#s0">pointer</a> MemAllocator&lt; T &gt;::allocate </td>
     98           <td class="md" valign="top">(&nbsp;</td>
     99           <td class="md" nowrap valign="top">void *&nbsp;</td>
    100           <td class="mdname" nowrap>&nbsp; <em>hint</em> = 0, </td>
    101         </tr>
    102         <tr>
    103           <td></td>
    104           <td></td>
    105           <td class="md" nowrap>const int&nbsp;</td>
    106           <td class="mdname" nowrap>&nbsp; <em>num_reserved_frags</em> = 1</td>
    107         </tr>
    108         <tr>
    109           <td></td>
    110           <td class="md">)&nbsp;</td>
    111           <td class="md" colspan="2"><code> [pure virtual]</code></td>
    112         </tr>
    113 
    114       </table>
    115     </td>
    116   </tr>
    117 </table>
    118 <table cellspacing=5 cellpadding=0 border=0>
    119   <tr>
    120     <td>
    121       &nbsp;
    122     </td>
    123     <td>
    124 
    125 <p>
    126     </td>
    127   </tr>
    128 </table>
    129 <a name="a1" doxytag="MemAllocator::deallocate"></a><p>
    130 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    131   <tr>
    132     <td class="md">
    133       <table cellpadding="0" cellspacing="0" border="0">
    134         <tr>
    135           <td class="md" colspan="4">
    136 template&lt;class T&gt; </td>
    137         </tr>
    138         <tr>
    139           <td class="md" nowrap valign="top"> virtual void MemAllocator&lt; T &gt;::deallocate </td>
    140           <td class="md" valign="top">(&nbsp;</td>
    141           <td class="md" nowrap valign="top"><a class="el" href="classMemAllocator.html#s0">pointer</a>&nbsp;</td>
    142           <td class="mdname1" valign="top" nowrap>&nbsp; <em>p</em>          </td>
    143           <td class="md" valign="top">)&nbsp;</td>
    144           <td class="md" nowrap><code> [pure virtual]</code></td>
    145         </tr>
    146 
    147       </table>
    148     </td>
    149   </tr>
    150 </table>
    151 <table cellspacing=5 cellpadding=0 border=0>
    152   <tr>
    153     <td>
    154       &nbsp;
    155     </td>
    156     <td>
    157 
    158 <p>
    159     </td>
    160   </tr>
    161 </table>
    162 <hr>The documentation for this class was generated from the following file:<ul>
    163 <li><a class="el" href="oscl__media__data_8h-source.html">oscl_media_data.h</a></ul>
    164 <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
    165 <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
    166 </small></address>
    167 </body>
    168 </html>
    169