<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Oscl_DefAlloc class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.18 -->
<center>
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
<hr><h1>Oscl_DefAlloc Class Reference<br>
<small>
[<a class="el" href="group__osclbase.html">OSCL Base</a>]</small>
</h1><code>#include <<a class="el" href="oscl__defalloc_8h-source.html">oscl_defalloc.h</a>></code>
<p>
<p>Inheritance diagram for Oscl_DefAlloc:
<p><center><img src="classOscl__DefAlloc.png" usemap="#Oscl_DefAlloc_map" border="0" alt=""></center>
<map name="Oscl_DefAlloc_map">
<area href="classOscl__Alloc.html" alt="Oscl_Alloc" shape="rect" coords="640,0,886,24">
<area href="classOscl__Dealloc.html" alt="Oscl_Dealloc" shape="rect" coords="896,0,1142,24">
<area href="class__OsclBasicAllocator.html" alt="_OsclBasicAllocator" shape="rect" coords="0,112,246,136">
<area href="classOsclAllocDestructDealloc.html" alt="OsclAllocDestructDealloc" shape="rect" coords="256,112,502,136">
<area href="classOsclMemAllocator.html" alt="OsclMemAllocator" shape="rect" coords="512,112,758,136">
<area href="classOsclMemBasicAllocator.html" alt="OsclMemBasicAllocator" shape="rect" coords="768,112,1014,136">
<area href="classOsclMemPoolFixedChunkAllocator.html" alt="OsclMemPoolFixedChunkAllocator" shape="rect" coords="1024,112,1270,136">
<area href="classOsclMemPoolResizableAllocator.html" alt="OsclMemPoolResizableAllocator" shape="rect" coords="1280,112,1526,136">
<area href="classOsclReadyAlloc.html" alt="OsclReadyAlloc" shape="rect" coords="1536,112,1782,136">
<area href="classOsclMemAllocDestructDealloc.html" alt="OsclMemAllocDestructDealloc< T >" shape="rect" coords="128,168,374,192">
<area href="classOsclMemBasicAllocDestructDealloc.html" alt="OsclMemBasicAllocDestructDealloc< T >" shape="rect" coords="384,168,630,192">
</map>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>virtual <a class="el" href="group__osclbase.html#a25">OsclAny</a> * </td><td valign=bottom><a class="el" href="classOscl__DefAlloc.html#a0">allocate</a> (const uint32 size)=0</td></tr>
<tr><td nowrap align=right valign=top>virtual <a class="el" href="group__osclbase.html#a25">OsclAny</a> * </td><td valign=bottom><a class="el" href="classOscl__DefAlloc.html#a1">allocate_fl</a> (const uint32 size, const char *file_name, const int line_num)</td></tr>
<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classOscl__DefAlloc.html#a2">deallocate</a> (<a class="el" href="group__osclbase.html#a25">OsclAny</a> *p)=0</td></tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a0" doxytag="Oscl_DefAlloc::allocate"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> virtual <a class="el" href="group__osclbase.html#a25">OsclAny</a>* Oscl_DefAlloc::allocate </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const uint32 </td>
<td class="mdname1" valign="top" nowrap> <em>size</em> </td>
<td class="md" valign="top">) </td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
<p>
Implements <a class="el" href="classOscl__Alloc.html#a0">Oscl_Alloc</a>.
<p>
Implemented in <a class="el" href="class__OsclBasicAllocator.html#a0">_OsclBasicAllocator</a>, <a class="el" href="classOsclMemAllocator.html#a0">OsclMemAllocator</a>, <a class="el" href="classOsclMemBasicAllocator.html#a0">OsclMemBasicAllocator</a>, <a class="el" href="classOsclMemAllocDestructDealloc.html#a1">OsclMemAllocDestructDealloc< T ></a>, <a class="el" href="classOsclMemBasicAllocDestructDealloc.html#a0">OsclMemBasicAllocDestructDealloc< T ></a>, <a class="el" href="classOsclMemPoolFixedChunkAllocator.html#a3">OsclMemPoolFixedChunkAllocator</a>, <a class="el" href="classOsclMemPoolResizableAllocator.html#a2">OsclMemPoolResizableAllocator</a>, and <a class="el" href="classOsclReadyAlloc.html#a0">OsclReadyAlloc</a>. </td>
</tr>
</table>
<a name="a1" doxytag="Oscl_DefAlloc::allocate_fl"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> virtual <a class="el" href="group__osclbase.html#a25">OsclAny</a>* Oscl_DefAlloc::allocate_fl </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const uint32 </td>
<td class="mdname" nowrap> <em>size</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>const char * </td>
<td class="mdname" nowrap> <em>file_name</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>const int </td>
<td class="mdname" nowrap> <em>line_num</em></td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"><code> [inline, virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
<p>
Reimplemented from <a class="el" href="classOscl__Alloc.html#a1">Oscl_Alloc</a>.
<p>
Reimplemented in <a class="el" href="classOsclMemAllocator.html#a1">OsclMemAllocator</a>, <a class="el" href="classOsclMemAllocDestructDealloc.html#a0">OsclMemAllocDestructDealloc< T ></a>, and <a class="el" href="classOsclReadyAlloc.html#a1">OsclReadyAlloc</a>. </td>
</tr>
</table>
<a name="a2" doxytag="Oscl_DefAlloc::deallocate"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> virtual void Oscl_DefAlloc::deallocate </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top"><a class="el" href="group__osclbase.html#a25">OsclAny</a> * </td>
<td class="mdname1" valign="top" nowrap> <em>p</em> </td>
<td class="md" valign="top">) </td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
<p>
Implements <a class="el" href="classOscl__Dealloc.html#a0">Oscl_Dealloc</a>.
<p>
Implemented in <a class="el" href="class__OsclBasicAllocator.html#a1">_OsclBasicAllocator</a>, <a class="el" href="classOsclMemAllocator.html#a2">OsclMemAllocator</a>, <a class="el" href="classOsclMemBasicAllocator.html#a1">OsclMemBasicAllocator</a>, <a class="el" href="classOsclMemAllocDestructDealloc.html#a2">OsclMemAllocDestructDealloc< T ></a>, <a class="el" href="classOsclMemBasicAllocDestructDealloc.html#a1">OsclMemBasicAllocDestructDealloc< T ></a>, <a class="el" href="classOsclMemPoolFixedChunkAllocator.html#a4">OsclMemPoolFixedChunkAllocator</a>, <a class="el" href="classOsclMemPoolResizableAllocator.html#a3">OsclMemPoolResizableAllocator</a>, and <a class="el" href="classOsclReadyAlloc.html#a2">OsclReadyAlloc</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="oscl__defalloc_8h-source.html">oscl_defalloc.h</a></ul>
<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
</small></address>
</body>
</html>