• 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> TemplateOsclMemBasicAllocDestructDealloc&lt; T &gt; 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>OsclMemBasicAllocDestructDealloc&lt; T &gt; Class Template Reference<br>
10<small>
11[<a class="el" href="group__osclmemory.html">OSCL Memory</a>,&nbsp;<a class="el" href="group__osclmemory.html">OSCL Memory</a>]</small>
12</h1><code>#include &lt;<a class="el" href="oscl__mem_8h-source.html">oscl_mem.h</a>&gt;</code>
13<p>
14<p>Inheritance diagram for OsclMemBasicAllocDestructDealloc&lt; T &gt;:
15<p><center><img src="classOsclMemBasicAllocDestructDealloc.png" usemap="#OsclMemBasicAllocDestructDealloc< T >_map" border="0" alt=""></center>
16<map name="OsclMemBasicAllocDestructDealloc< T >_map">
17<area href="classOsclAllocDestructDealloc.html" alt="OsclAllocDestructDealloc" shape="rect" coords="128,112,374,136">
18<area href="classOsclDestructDealloc.html" alt="OsclDestructDealloc" shape="rect" coords="0,56,246,80">
19<area href="classOscl__DefAlloc.html" alt="Oscl_DefAlloc" shape="rect" coords="256,56,502,80">
20<area href="classOscl__Alloc.html" alt="Oscl_Alloc" shape="rect" coords="128,0,374,24">
21<area href="classOscl__Dealloc.html" alt="Oscl_Dealloc" shape="rect" coords="384,0,630,24">
22</map>
23<table border=0 cellpadding=0 cellspacing=0>
24<tr><td></td></tr>
25<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
26<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="classOsclMemBasicAllocDestructDealloc.html#a0">allocate</a> (const uint32 size)</td></tr>
27<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOsclMemBasicAllocDestructDealloc.html#a1">deallocate</a> (<a class="el" href="group__osclbase.html#a25">OsclAny</a> *p)</td></tr>
28<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOsclMemBasicAllocDestructDealloc.html#a2">destruct_and_dealloc</a> (<a class="el" href="group__osclbase.html#a25">OsclAny</a> *p)</td></tr>
29</table>
30<hr><a name="_details"></a><h2>Detailed Description</h2>
31<h3>template&lt;class T&gt;<br>
32 class OsclMemBasicAllocDestructDealloc&lt; T &gt;</h3>
33
34An <a class="el" href="classOsclAllocDestructDealloc.html">OsclAllocDestructDealloc</a> class that uses <a class="el" href="classOsclMemBasicAllocator.html">OsclMemBasicAllocator</a>.
35<p>
36<hr><h2>Member Function Documentation</h2>
37<a name="a0" doxytag="OsclMemBasicAllocDestructDealloc::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" colspan="4">
44template&lt;class T&gt; </td>
45        </tr>
46        <tr>
47          <td class="md" nowrap valign="top"> <a class="el" href="group__osclbase.html#a25">OsclAny</a>* OsclMemBasicAllocDestructDealloc&lt; T &gt;::allocate </td>
48          <td class="md" valign="top">(&nbsp;</td>
49          <td class="md" nowrap valign="top">const uint32&nbsp;</td>
50          <td class="mdname1" valign="top" nowrap>&nbsp; <em>size</em>          </td>
51          <td class="md" valign="top">)&nbsp;</td>
52          <td class="md" nowrap><code> [inline, virtual]</code></td>
53        </tr>
54
55      </table>
56    </td>
57  </tr>
58</table>
59<table cellspacing=5 cellpadding=0 border=0>
60  <tr>
61    <td>
62      &nbsp;
63    </td>
64    <td>
65
66<p>
67
68<p>
69Implements <a class="el" href="classOscl__DefAlloc.html#a0">Oscl_DefAlloc</a>.    </td>
70  </tr>
71</table>
72<a name="a1" doxytag="OsclMemBasicAllocDestructDealloc::deallocate"></a><p>
73<table width="100%" cellpadding="2" cellspacing="0" border="0">
74  <tr>
75    <td class="md">
76      <table cellpadding="0" cellspacing="0" border="0">
77        <tr>
78          <td class="md" colspan="4">
79template&lt;class T&gt; </td>
80        </tr>
81        <tr>
82          <td class="md" nowrap valign="top"> void OsclMemBasicAllocDestructDealloc&lt; T &gt;::deallocate </td>
83          <td class="md" valign="top">(&nbsp;</td>
84          <td class="md" nowrap valign="top"><a class="el" href="group__osclbase.html#a25">OsclAny</a> *&nbsp;</td>
85          <td class="mdname1" valign="top" nowrap>&nbsp; <em>p</em>          </td>
86          <td class="md" valign="top">)&nbsp;</td>
87          <td class="md" nowrap><code> [inline, virtual]</code></td>
88        </tr>
89
90      </table>
91    </td>
92  </tr>
93</table>
94<table cellspacing=5 cellpadding=0 border=0>
95  <tr>
96    <td>
97      &nbsp;
98    </td>
99    <td>
100
101<p>
102
103<p>
104Implements <a class="el" href="classOscl__DefAlloc.html#a2">Oscl_DefAlloc</a>.    </td>
105  </tr>
106</table>
107<a name="a2" doxytag="OsclMemBasicAllocDestructDealloc::destruct_and_dealloc"></a><p>
108<table width="100%" cellpadding="2" cellspacing="0" border="0">
109  <tr>
110    <td class="md">
111      <table cellpadding="0" cellspacing="0" border="0">
112        <tr>
113          <td class="md" colspan="4">
114template&lt;class T&gt; </td>
115        </tr>
116        <tr>
117          <td class="md" nowrap valign="top"> void OsclMemBasicAllocDestructDealloc&lt; T &gt;::destruct_and_dealloc </td>
118          <td class="md" valign="top">(&nbsp;</td>
119          <td class="md" nowrap valign="top"><a class="el" href="group__osclbase.html#a25">OsclAny</a> *&nbsp;</td>
120          <td class="mdname1" valign="top" nowrap>&nbsp; <em>p</em>          </td>
121          <td class="md" valign="top">)&nbsp;</td>
122          <td class="md" nowrap><code> [inline, virtual]</code></td>
123        </tr>
124
125      </table>
126    </td>
127  </tr>
128</table>
129<table cellspacing=5 cellpadding=0 border=0>
130  <tr>
131    <td>
132      &nbsp;
133    </td>
134    <td>
135
136<p>
137
138<p>
139Implements <a class="el" href="classOsclDestructDealloc.html#a0">OsclDestructDealloc</a>.    </td>
140  </tr>
141</table>
142<hr>The documentation for this class was generated from the following file:<ul>
143<li><a class="el" href="oscl__mem_8h-source.html">oscl_mem.h</a></ul>
144<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
145<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
146</small></address>
147</body>
148</html>
149