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>OsclMemPoolAllocator 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>OsclMemPoolAllocator Class Reference<br>
     10 <small>
     11 [<a class="el" href="group__osclerror.html">OSCL Error</a>]</small>
     12 </h1><code>#include &lt;<a class="el" href="oscl__mempool__allocator_8h-source.html">oscl_mempool_allocator.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 Methods</h2></td></tr>
     17 <tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classOsclMemPoolAllocator.html#a0">OsclMemPoolAllocator</a> (<a class="el" href="classOscl__DefAlloc.html">Oscl_DefAlloc</a> *gen_alloc=NULL)</td></tr>
     18 <tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classOsclMemPoolAllocator.html#a1">~OsclMemPoolAllocator</a> ()</td></tr>
     19 <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="classOsclMemPoolAllocator.html#a2">CreateMemPool</a> (const uint32 aNumChunk=2, const uint32 aChunkSize=4)</td></tr>
     20 <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOsclMemPoolAllocator.html#a3">DestroyMemPool</a> ()</td></tr>
     21 <tr><td nowrap align=right valign=top><a class="el" href="group__osclbase.html#a27">uint</a>&nbsp;</td><td valign=bottom><a class="el" href="classOsclMemPoolAllocator.html#a4">oscl_mem_aligned_size</a> (<a class="el" href="group__osclbase.html#a27">uint</a> size)</td></tr>
     22 </table>
     23 <hr><h2>Constructor &amp; Destructor Documentation</h2>
     24 <a name="a0" doxytag="OsclMemPoolAllocator::OsclMemPoolAllocator"></a><p>
     25 <table width="100%" cellpadding="2" cellspacing="0" border="0">
     26   <tr>
     27     <td class="md">
     28       <table cellpadding="0" cellspacing="0" border="0">
     29         <tr>
     30           <td class="md" nowrap valign="top"> OsclMemPoolAllocator::OsclMemPoolAllocator </td>
     31           <td class="md" valign="top">(&nbsp;</td>
     32           <td class="md" nowrap valign="top"><a class="el" href="classOscl__DefAlloc.html">Oscl_DefAlloc</a> *&nbsp;</td>
     33           <td class="mdname1" valign="top" nowrap>&nbsp; <em>gen_alloc</em> = NULL          </td>
     34           <td class="md" valign="top">)&nbsp;</td>
     35           <td class="md" nowrap></td>
     36         </tr>
     37 
     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 <a name="a1" doxytag="OsclMemPoolAllocator::~OsclMemPoolAllocator"></a><p>
     54 <table width="100%" cellpadding="2" cellspacing="0" border="0">
     55   <tr>
     56     <td class="md">
     57       <table cellpadding="0" cellspacing="0" border="0">
     58         <tr>
     59           <td class="md" nowrap valign="top"> virtual OsclMemPoolAllocator::~OsclMemPoolAllocator </td>
     60           <td class="md" valign="top">(&nbsp;</td>
     61           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
     62           <td class="md" valign="top">)&nbsp;</td>
     63           <td class="md" nowrap><code> [virtual]</code></td>
     64         </tr>
     65 
     66       </table>
     67     </td>
     68   </tr>
     69 </table>
     70 <table cellspacing=5 cellpadding=0 border=0>
     71   <tr>
     72     <td>
     73       &nbsp;
     74     </td>
     75     <td>
     76 
     77 <p>
     78     </td>
     79   </tr>
     80 </table>
     81 <hr><h2>Member Function Documentation</h2>
     82 <a name="a2" doxytag="OsclMemPoolAllocator::CreateMemPool"></a><p>
     83 <table width="100%" cellpadding="2" cellspacing="0" border="0">
     84   <tr>
     85     <td class="md">
     86       <table cellpadding="0" cellspacing="0" border="0">
     87         <tr>
     88           <td class="md" nowrap valign="top"> <a class="el" href="group__osclbase.html#a25">OsclAny</a>* OsclMemPoolAllocator::CreateMemPool </td>
     89           <td class="md" valign="top">(&nbsp;</td>
     90           <td class="md" nowrap valign="top">const uint32&nbsp;</td>
     91           <td class="mdname" nowrap>&nbsp; <em>aNumChunk</em> = 2, </td>
     92         </tr>
     93         <tr>
     94           <td></td>
     95           <td></td>
     96           <td class="md" nowrap>const uint32&nbsp;</td>
     97           <td class="mdname" nowrap>&nbsp; <em>aChunkSize</em> = 4</td>
     98         </tr>
     99         <tr>
    100           <td></td>
    101           <td class="md">)&nbsp;</td>
    102           <td class="md" colspan="2"></td>
    103         </tr>
    104 
    105       </table>
    106     </td>
    107   </tr>
    108 </table>
    109 <table cellspacing=5 cellpadding=0 border=0>
    110   <tr>
    111     <td>
    112       &nbsp;
    113     </td>
    114     <td>
    115 
    116 <p>
    117     </td>
    118   </tr>
    119 </table>
    120 <a name="a3" doxytag="OsclMemPoolAllocator::DestroyMemPool"></a><p>
    121 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    122   <tr>
    123     <td class="md">
    124       <table cellpadding="0" cellspacing="0" border="0">
    125         <tr>
    126           <td class="md" nowrap valign="top"> void OsclMemPoolAllocator::DestroyMemPool </td>
    127           <td class="md" valign="top">(&nbsp;</td>
    128           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
    129           <td class="md" valign="top">)&nbsp;</td>
    130           <td class="md" nowrap></td>
    131         </tr>
    132 
    133       </table>
    134     </td>
    135   </tr>
    136 </table>
    137 <table cellspacing=5 cellpadding=0 border=0>
    138   <tr>
    139     <td>
    140       &nbsp;
    141     </td>
    142     <td>
    143 
    144 <p>
    145     </td>
    146   </tr>
    147 </table>
    148 <a name="a4" doxytag="OsclMemPoolAllocator::oscl_mem_aligned_size"></a><p>
    149 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    150   <tr>
    151     <td class="md">
    152       <table cellpadding="0" cellspacing="0" border="0">
    153         <tr>
    154           <td class="md" nowrap valign="top"> <a class="el" href="group__osclbase.html#a27">uint</a> OsclMemPoolAllocator::oscl_mem_aligned_size </td>
    155           <td class="md" valign="top">(&nbsp;</td>
    156           <td class="md" nowrap valign="top"><a class="el" href="group__osclbase.html#a27">uint</a>&nbsp;</td>
    157           <td class="mdname1" valign="top" nowrap>&nbsp; <em>size</em>          </td>
    158           <td class="md" valign="top">)&nbsp;</td>
    159           <td class="md" nowrap></td>
    160         </tr>
    161 
    162       </table>
    163     </td>
    164   </tr>
    165 </table>
    166 <table cellspacing=5 cellpadding=0 border=0>
    167   <tr>
    168     <td>
    169       &nbsp;
    170     </td>
    171     <td>
    172 
    173 <p>
    174     </td>
    175   </tr>
    176 </table>
    177 <hr>The documentation for this class was generated from the following file:<ul>
    178 <li><a class="el" href="oscl__mempool__allocator_8h-source.html">oscl_mempool_allocator.h</a></ul>
    179 <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
    180 <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
    181 </small></address>
    182 </body>
    183 </html>
    184