• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_Alloc 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>Oscl_Alloc Class Reference<br>
10<small>
11[<a class="el" href="group__osclbase.html">OSCL Base</a>]</small>
12</h1><code>#include &lt;<a class="el" href="oscl__defalloc_8h-source.html">oscl_defalloc.h</a>&gt;</code>
13<p>
14<p>Inheritance diagram for Oscl_Alloc:
15<p><center><img src="classOscl__Alloc.png" usemap="#Oscl_Alloc_map" border="0" alt=""></center>
16<map name="Oscl_Alloc_map">
17<area href="classOscl__DefAlloc.html" alt="Oscl_DefAlloc" shape="rect" coords="768,56,1014,80">
18<area href="class__OsclBasicAllocator.html" alt="_OsclBasicAllocator" shape="rect" coords="0,112,246,136">
19<area href="classOsclAllocDestructDealloc.html" alt="OsclAllocDestructDealloc" shape="rect" coords="256,112,502,136">
20<area href="classOsclMemAllocator.html" alt="OsclMemAllocator" shape="rect" coords="512,112,758,136">
21<area href="classOsclMemBasicAllocator.html" alt="OsclMemBasicAllocator" shape="rect" coords="768,112,1014,136">
22<area href="classOsclMemPoolFixedChunkAllocator.html" alt="OsclMemPoolFixedChunkAllocator" shape="rect" coords="1024,112,1270,136">
23<area href="classOsclMemPoolResizableAllocator.html" alt="OsclMemPoolResizableAllocator" shape="rect" coords="1280,112,1526,136">
24<area href="classOsclReadyAlloc.html" alt="OsclReadyAlloc" shape="rect" coords="1536,112,1782,136">
25<area href="classOsclMemAllocDestructDealloc.html" alt="OsclMemAllocDestructDealloc< T >" shape="rect" coords="128,168,374,192">
26<area href="classOsclMemBasicAllocDestructDealloc.html" alt="OsclMemBasicAllocDestructDealloc< T >" shape="rect" coords="384,168,630,192">
27</map>
28<table border=0 cellpadding=0 cellspacing=0>
29<tr><td></td></tr>
30<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
31<tr><td nowrap align=right valign=top>virtual <a class="el" href="group__osclbase.html#a25">OsclAny</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOscl__Alloc.html#a0">allocate</a> (const uint32 size)=0</td></tr>
32<tr><td nowrap align=right valign=top>virtual <a class="el" href="group__osclbase.html#a25">OsclAny</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOscl__Alloc.html#a1">allocate_fl</a> (const uint32 size, const char *file_name, const int line_num)</td></tr>
33</table>
34<hr><h2>Member Function Documentation</h2>
35<a name="a0" doxytag="Oscl_Alloc::allocate"></a><p>
36<table width="100%" cellpadding="2" cellspacing="0" border="0">
37  <tr>
38    <td class="md">
39      <table cellpadding="0" cellspacing="0" border="0">
40        <tr>
41          <td class="md" nowrap valign="top"> virtual <a class="el" href="group__osclbase.html#a25">OsclAny</a>* Oscl_Alloc::allocate </td>
42          <td class="md" valign="top">(&nbsp;</td>
43          <td class="md" nowrap valign="top">const uint32&nbsp;</td>
44          <td class="mdname1" valign="top" nowrap>&nbsp; <em>size</em>          </td>
45          <td class="md" valign="top">)&nbsp;</td>
46          <td class="md" nowrap><code> [pure virtual]</code></td>
47        </tr>
48
49      </table>
50    </td>
51  </tr>
52</table>
53<table cellspacing=5 cellpadding=0 border=0>
54  <tr>
55    <td>
56      &nbsp;
57    </td>
58    <td>
59
60<p>
61
62<p>
63Implemented in <a class="el" href="class__OsclBasicAllocator.html#a0">_OsclBasicAllocator</a>, <a class="el" href="classOscl__DefAlloc.html#a0">Oscl_DefAlloc</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&lt; T &gt;</a>, <a class="el" href="classOsclMemBasicAllocDestructDealloc.html#a0">OsclMemBasicAllocDestructDealloc&lt; T &gt;</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>
64  </tr>
65</table>
66<a name="a1" doxytag="Oscl_Alloc::allocate_fl"></a><p>
67<table width="100%" cellpadding="2" cellspacing="0" border="0">
68  <tr>
69    <td class="md">
70      <table cellpadding="0" cellspacing="0" border="0">
71        <tr>
72          <td class="md" nowrap valign="top"> virtual <a class="el" href="group__osclbase.html#a25">OsclAny</a>* Oscl_Alloc::allocate_fl </td>
73          <td class="md" valign="top">(&nbsp;</td>
74          <td class="md" nowrap valign="top">const uint32&nbsp;</td>
75          <td class="mdname" nowrap>&nbsp; <em>size</em>, </td>
76        </tr>
77        <tr>
78          <td></td>
79          <td></td>
80          <td class="md" nowrap>const char *&nbsp;</td>
81          <td class="mdname" nowrap>&nbsp; <em>file_name</em>, </td>
82        </tr>
83        <tr>
84          <td></td>
85          <td></td>
86          <td class="md" nowrap>const int&nbsp;</td>
87          <td class="mdname" nowrap>&nbsp; <em>line_num</em></td>
88        </tr>
89        <tr>
90          <td></td>
91          <td class="md">)&nbsp;</td>
92          <td class="md" colspan="2"><code> [inline, virtual]</code></td>
93        </tr>
94
95      </table>
96    </td>
97  </tr>
98</table>
99<table cellspacing=5 cellpadding=0 border=0>
100  <tr>
101    <td>
102      &nbsp;
103    </td>
104    <td>
105
106<p>
107
108<p>
109Reimplemented in <a class="el" href="classOscl__DefAlloc.html#a1">Oscl_DefAlloc</a>, <a class="el" href="classOsclMemAllocator.html#a1">OsclMemAllocator</a>, <a class="el" href="classOsclMemAllocDestructDealloc.html#a0">OsclMemAllocDestructDealloc&lt; T &gt;</a>, and <a class="el" href="classOsclReadyAlloc.html#a1">OsclReadyAlloc</a>.    </td>
110  </tr>
111</table>
112<hr>The documentation for this class was generated from the following file:<ul>
113<li><a class="el" href="oscl__defalloc_8h-source.html">oscl_defalloc.h</a></ul>
114<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
115<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
116</small></address>
117</body>
118</html>
119