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>Oscl_DefAlloc 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> <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> 9<hr><h1>Oscl_DefAlloc Class Reference<br> 10<small> 11[<a class="el" href="group__osclbase.html">OSCL Base</a>]</small> 12</h1><code>#include <<a class="el" href="oscl__defalloc_8h-source.html">oscl_defalloc.h</a>></code> 13<p> 14<p>Inheritance diagram for Oscl_DefAlloc: 15<p><center><img src="classOscl__DefAlloc.png" usemap="#Oscl_DefAlloc_map" border="0" alt=""></center> 16<map name="Oscl_DefAlloc_map"> 17<area href="classOscl__Alloc.html" alt="Oscl_Alloc" shape="rect" coords="640,0,886,24"> 18<area href="classOscl__Dealloc.html" alt="Oscl_Dealloc" shape="rect" coords="896,0,1142,24"> 19<area href="class__OsclBasicAllocator.html" alt="_OsclBasicAllocator" shape="rect" coords="0,112,246,136"> 20<area href="classOsclAllocDestructDealloc.html" alt="OsclAllocDestructDealloc" shape="rect" coords="256,112,502,136"> 21<area href="classOsclMemAllocator.html" alt="OsclMemAllocator" shape="rect" coords="512,112,758,136"> 22<area href="classOsclMemBasicAllocator.html" alt="OsclMemBasicAllocator" shape="rect" coords="768,112,1014,136"> 23<area href="classOsclMemPoolFixedChunkAllocator.html" alt="OsclMemPoolFixedChunkAllocator" shape="rect" coords="1024,112,1270,136"> 24<area href="classOsclMemPoolResizableAllocator.html" alt="OsclMemPoolResizableAllocator" shape="rect" coords="1280,112,1526,136"> 25<area href="classOsclReadyAlloc.html" alt="OsclReadyAlloc" shape="rect" coords="1536,112,1782,136"> 26<area href="classOsclMemAllocDestructDealloc.html" alt="OsclMemAllocDestructDealloc< T >" shape="rect" coords="128,168,374,192"> 27<area href="classOsclMemBasicAllocDestructDealloc.html" alt="OsclMemBasicAllocDestructDealloc< T >" shape="rect" coords="384,168,630,192"> 28</map> 29<table border=0 cellpadding=0 cellspacing=0> 30<tr><td></td></tr> 31<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> 32<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> 33<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> 34<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> 35</table> 36<hr><h2>Member Function Documentation</h2> 37<a name="a0" doxytag="Oscl_DefAlloc::allocate"></a><p> 38<table width="100%" cellpadding="2" cellspacing="0" border="0"> 39 <tr> 40 <td class="md"> 41 <table cellpadding="0" cellspacing="0" border="0"> 42 <tr> 43 <td class="md" nowrap valign="top"> virtual <a class="el" href="group__osclbase.html#a25">OsclAny</a>* Oscl_DefAlloc::allocate </td> 44 <td class="md" valign="top">( </td> 45 <td class="md" nowrap valign="top">const uint32 </td> 46 <td class="mdname1" valign="top" nowrap> <em>size</em> </td> 47 <td class="md" valign="top">) </td> 48 <td class="md" nowrap><code> [pure virtual]</code></td> 49 </tr> 50 51 </table> 52 </td> 53 </tr> 54</table> 55<table cellspacing=5 cellpadding=0 border=0> 56 <tr> 57 <td> 58 59 </td> 60 <td> 61 62<p> 63 64<p> 65Implements <a class="el" href="classOscl__Alloc.html#a0">Oscl_Alloc</a>. 66<p> 67Implemented 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> 68 </tr> 69</table> 70<a name="a1" doxytag="Oscl_DefAlloc::allocate_fl"></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" nowrap valign="top"> virtual <a class="el" href="group__osclbase.html#a25">OsclAny</a>* Oscl_DefAlloc::allocate_fl </td> 77 <td class="md" valign="top">( </td> 78 <td class="md" nowrap valign="top">const uint32 </td> 79 <td class="mdname" nowrap> <em>size</em>, </td> 80 </tr> 81 <tr> 82 <td></td> 83 <td></td> 84 <td class="md" nowrap>const char * </td> 85 <td class="mdname" nowrap> <em>file_name</em>, </td> 86 </tr> 87 <tr> 88 <td></td> 89 <td></td> 90 <td class="md" nowrap>const int </td> 91 <td class="mdname" nowrap> <em>line_num</em></td> 92 </tr> 93 <tr> 94 <td></td> 95 <td class="md">) </td> 96 <td class="md" colspan="2"><code> [inline, virtual]</code></td> 97 </tr> 98 99 </table> 100 </td> 101 </tr> 102</table> 103<table cellspacing=5 cellpadding=0 border=0> 104 <tr> 105 <td> 106 107 </td> 108 <td> 109 110<p> 111 112<p> 113Reimplemented from <a class="el" href="classOscl__Alloc.html#a1">Oscl_Alloc</a>. 114<p> 115Reimplemented 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> 116 </tr> 117</table> 118<a name="a2" doxytag="Oscl_DefAlloc::deallocate"></a><p> 119<table width="100%" cellpadding="2" cellspacing="0" border="0"> 120 <tr> 121 <td class="md"> 122 <table cellpadding="0" cellspacing="0" border="0"> 123 <tr> 124 <td class="md" nowrap valign="top"> virtual void Oscl_DefAlloc::deallocate </td> 125 <td class="md" valign="top">( </td> 126 <td class="md" nowrap valign="top"><a class="el" href="group__osclbase.html#a25">OsclAny</a> * </td> 127 <td class="mdname1" valign="top" nowrap> <em>p</em> </td> 128 <td class="md" valign="top">) </td> 129 <td class="md" nowrap><code> [pure virtual]</code></td> 130 </tr> 131 132 </table> 133 </td> 134 </tr> 135</table> 136<table cellspacing=5 cellpadding=0 border=0> 137 <tr> 138 <td> 139 140 </td> 141 <td> 142 143<p> 144 145<p> 146Implements <a class="el" href="classOscl__Dealloc.html#a0">Oscl_Dealloc</a>. 147<p> 148Implemented 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> 149 </tr> 150</table> 151<hr>The documentation for this class was generated from the following file:<ul> 152<li><a class="el" href="oscl__defalloc_8h-source.html">oscl_defalloc.h</a></ul> 153<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> 154<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 155</small></address> 156</body> 157</html> 158