• 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>_OsclBasicAllocator 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>_OsclBasicAllocator 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__base__alloc_8h-source.html">oscl_base_alloc.h</a>&gt;</code>
13<p>
14<p>Inheritance diagram for _OsclBasicAllocator:
15<p><center><img src="class__OsclBasicAllocator.png" usemap="#_OsclBasicAllocator_map" border="0" alt=""></center>
16<map name="_OsclBasicAllocator_map">
17<area href="classOscl__DefAlloc.html" alt="Oscl_DefAlloc" shape="rect" coords="68,56,195,80">
18<area href="classOscl__Alloc.html" alt="Oscl_Alloc" shape="rect" coords="0,0,127,24">
19<area href="classOscl__Dealloc.html" alt="Oscl_Dealloc" shape="rect" coords="137,0,264,24">
20</map>
21<table border=0 cellpadding=0 cellspacing=0>
22<tr><td></td></tr>
23<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
24<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="class__OsclBasicAllocator.html#a0">allocate</a> (const uint32 size)</td></tr>
25<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class__OsclBasicAllocator.html#a1">deallocate</a> (<a class="el" href="group__osclbase.html#a25">OsclAny</a> *p)</td></tr>
26<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="class__OsclBasicAllocator.html#a2">~_OsclBasicAllocator</a> ()</td></tr>
27</table>
28<hr><a name="_details"></a><h2>Detailed Description</h2>
29A basic allocator that does not rely on other modules. There is no memory auditing or exception generation.
30<p>
31Note: this allocator is for internal use by Oscl code only. Higher level code should use <a class="el" href="classOsclMemAllocator.html">OsclMemAllocator</a> defined in "<a class="el" href="oscl__mem_8h.html">oscl_mem.h</a>".
32<p>
33<hr><h2>Constructor &amp; Destructor Documentation</h2>
34<a name="a2" doxytag="_OsclBasicAllocator::~_OsclBasicAllocator"></a><p>
35<table width="100%" cellpadding="2" cellspacing="0" border="0">
36  <tr>
37    <td class="md">
38      <table cellpadding="0" cellspacing="0" border="0">
39        <tr>
40          <td class="md" nowrap valign="top"> virtual _OsclBasicAllocator::~_OsclBasicAllocator </td>
41          <td class="md" valign="top">(&nbsp;</td>
42          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
43          <td class="md" valign="top">)&nbsp;</td>
44          <td class="md" nowrap><code> [inline, virtual]</code></td>
45        </tr>
46
47      </table>
48    </td>
49  </tr>
50</table>
51<table cellspacing=5 cellpadding=0 border=0>
52  <tr>
53    <td>
54      &nbsp;
55    </td>
56    <td>
57
58<p>
59    </td>
60  </tr>
61</table>
62<hr><h2>Member Function Documentation</h2>
63<a name="a0" doxytag="_OsclBasicAllocator::allocate"></a><p>
64<table width="100%" cellpadding="2" cellspacing="0" border="0">
65  <tr>
66    <td class="md">
67      <table cellpadding="0" cellspacing="0" border="0">
68        <tr>
69          <td class="md" nowrap valign="top"> <a class="el" href="group__osclbase.html#a25">OsclAny</a>* _OsclBasicAllocator::allocate </td>
70          <td class="md" valign="top">(&nbsp;</td>
71          <td class="md" nowrap valign="top">const uint32&nbsp;</td>
72          <td class="mdname1" valign="top" nowrap>&nbsp; <em>size</em>          </td>
73          <td class="md" valign="top">)&nbsp;</td>
74          <td class="md" nowrap><code> [inline, virtual]</code></td>
75        </tr>
76
77      </table>
78    </td>
79  </tr>
80</table>
81<table cellspacing=5 cellpadding=0 border=0>
82  <tr>
83    <td>
84      &nbsp;
85    </td>
86    <td>
87
88<p>
89
90<p>
91Implements <a class="el" href="classOscl__DefAlloc.html#a0">Oscl_DefAlloc</a>.    </td>
92  </tr>
93</table>
94<a name="a1" doxytag="_OsclBasicAllocator::deallocate"></a><p>
95<table width="100%" cellpadding="2" cellspacing="0" border="0">
96  <tr>
97    <td class="md">
98      <table cellpadding="0" cellspacing="0" border="0">
99        <tr>
100          <td class="md" nowrap valign="top"> void _OsclBasicAllocator::deallocate </td>
101          <td class="md" valign="top">(&nbsp;</td>
102          <td class="md" nowrap valign="top"><a class="el" href="group__osclbase.html#a25">OsclAny</a> *&nbsp;</td>
103          <td class="mdname1" valign="top" nowrap>&nbsp; <em>p</em>          </td>
104          <td class="md" valign="top">)&nbsp;</td>
105          <td class="md" nowrap><code> [inline, virtual]</code></td>
106        </tr>
107
108      </table>
109    </td>
110  </tr>
111</table>
112<table cellspacing=5 cellpadding=0 border=0>
113  <tr>
114    <td>
115      &nbsp;
116    </td>
117    <td>
118
119<p>
120
121<p>
122Implements <a class="el" href="classOscl__DefAlloc.html#a2">Oscl_DefAlloc</a>.    </td>
123  </tr>
124</table>
125<hr>The documentation for this class was generated from the following file:<ul>
126<li><a class="el" href="oscl__base__alloc_8h-source.html">oscl_base_alloc.h</a></ul>
127<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
128<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
129</small></address>
130</body>
131</html>
132