aboutsummaryrefslogtreecommitdiff
path: root/doc/oscl_html/classOscl__DefAlloc.html
blob: 51bf261ed3f0e5e353d25f468ca668ec6e8d1744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>oscl: Oscl_DefAlloc Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Oscl_DefAlloc Class Reference<br/>
<small>
[<a class="el" href="group__osclbase.html">OSCL Base</a>]</small>
</h1><!-- doxytag: class="Oscl_DefAlloc" --><!-- doxytag: inherits="Oscl_Alloc,Oscl_Dealloc" -->
<p><code>#include &lt;<a class="el" href="oscl__defalloc_8h_source.html">oscl_defalloc.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Oscl_DefAlloc:</div>
<div class="dynsection">
 <div class="center">
  <img src="classOscl__DefAlloc.png" usemap="#Oscl_DefAlloc_map" alt=""/>
  <map id="Oscl_DefAlloc_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&lt; T &gt;" shape="rect" coords="128,168,374,192"/>
<area href="classOsclMemBasicAllocDestructDealloc.html" alt="OsclMemBasicAllocDestructDealloc&lt; T &gt;" shape="rect" coords="384,168,630,192"/>
</map>
 </div>
</div>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__osclbase.html#ga3bac54662348f5e6c08b97ca97066b89">OsclAny</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOscl__DefAlloc.html#a9ce71dcd2aa11b34e7d30a175fef42e0">allocate</a> (const uint32 size)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__osclbase.html#ga3bac54662348f5e6c08b97ca97066b89">OsclAny</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOscl__DefAlloc.html#a71b1baadee2468c912d0f6336cf4e563">allocate_fl</a> (const uint32 size, const char *file_name, const int line_num)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOscl__DefAlloc.html#a517d6b431b966f79a745e73d1a0a438f">deallocate</a> (<a class="el" href="group__osclbase.html#ga3bac54662348f5e6c08b97ca97066b89">OsclAny</a> *p)=0</td></tr>
</table>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9ce71dcd2aa11b34e7d30a175fef42e0"></a><!-- doxytag: member="Oscl_DefAlloc::allocate" ref="a9ce71dcd2aa11b34e7d30a175fef42e0" args="(const uint32 size)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__osclbase.html#ga3bac54662348f5e6c08b97ca97066b89">OsclAny</a>* Oscl_DefAlloc::allocate </td>
          <td>(</td>
          <td class="paramtype">const uint32&nbsp;</td>
          <td class="paramname"> <em>size</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="classOscl__Alloc.html#a114adb53b0446f2dc8c2099b8b60ba07">Oscl_Alloc</a>.</p>

<p>Implemented in <a class="el" href="class__OsclBasicAllocator.html#a917bfdb9f786aefc0bde07cf6b283d8e">_OsclBasicAllocator</a>, <a class="el" href="classOsclMemAllocator.html#a3a53d059ec1e40ff468c344859c4eb5e">OsclMemAllocator</a>, <a class="el" href="classOsclMemBasicAllocator.html#acca11a39ad1075f73d702d3a02e4c5a5">OsclMemBasicAllocator</a>, <a class="el" href="classOsclMemAllocDestructDealloc.html#a11227a626ac979623801402ee48f9d61">OsclMemAllocDestructDealloc&lt; T &gt;</a>, <a class="el" href="classOsclMemBasicAllocDestructDealloc.html#a295a9b6d32c5fb5028dd88ccb909a1a1">OsclMemBasicAllocDestructDealloc&lt; T &gt;</a>, <a class="el" href="classOsclMemPoolFixedChunkAllocator.html#af88b87596867f0d594a4bfda8e093d72">OsclMemPoolFixedChunkAllocator</a>, <a class="el" href="classOsclMemPoolResizableAllocator.html#ac065b50743d6483f38c0ce59243502ef">OsclMemPoolResizableAllocator</a>, and <a class="el" href="classOsclReadyAlloc.html#a0a8d6413889afaa8124ba0519b9eb648">OsclReadyAlloc</a>.</p>

<p>Referenced by <a class="el" href="oscl__defalloc_8h_source.html#l00085">allocate_fl()</a>.</p>

</div>
</div>
<a class="anchor" id="a71b1baadee2468c912d0f6336cf4e563"></a><!-- doxytag: member="Oscl_DefAlloc::allocate_fl" ref="a71b1baadee2468c912d0f6336cf4e563" args="(const uint32 size, const char *file_name, const int line_num)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__osclbase.html#ga3bac54662348f5e6c08b97ca97066b89">OsclAny</a>* Oscl_DefAlloc::allocate_fl </td>
          <td>(</td>
          <td class="paramtype">const uint32&nbsp;</td>
          <td class="paramname"> <em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&nbsp;</td>
          <td class="paramname"> <em>line_num</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="classOscl__Alloc.html#af7b190ec84ceea395aace4f28eb5018c">Oscl_Alloc</a>.</p>

<p>Reimplemented in <a class="el" href="classOsclReadyAlloc.html#a55718136d112bc7cac536f94ab9ab968">OsclReadyAlloc</a>.</p>

<p>References <a class="el" href="classOscl__DefAlloc.html#a9ce71dcd2aa11b34e7d30a175fef42e0">allocate()</a>, and <a class="el" href="oscl__base__macros_8h_source.html#l00085">OSCL_UNUSED_ARG</a>.</p>

<p>Referenced by <a class="el" href="oscl__mem_8h_source.html#l00847">OsclMemBasicAllocDestructDealloc&lt; T &gt;::allocate()</a>, <a class="el" href="oscl__mem_8h_source.html#l00813">OsclMemAllocDestructDealloc&lt; T &gt;::allocate()</a>, and <a class="el" href="oscl__mem_8h_source.html#l00727">OsclMemAllocator::allocate()</a>.</p>

</div>
</div>
<a class="anchor" id="a517d6b431b966f79a745e73d1a0a438f"></a><!-- doxytag: member="Oscl_DefAlloc::deallocate" ref="a517d6b431b966f79a745e73d1a0a438f" args="(OsclAny *p)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Oscl_DefAlloc::deallocate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__osclbase.html#ga3bac54662348f5e6c08b97ca97066b89">OsclAny</a> *&nbsp;</td>
          <td class="paramname"> <em>p</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="classOscl__Dealloc.html#a28d88b14d823ea6d6225d2bea76f87ae">Oscl_Dealloc</a>.</p>

<p>Implemented in <a class="el" href="class__OsclBasicAllocator.html#a84cbe8d2ebae5f44ff9d322b0ee5576f">_OsclBasicAllocator</a>, <a class="el" href="classOsclMemAllocator.html#a61f5a01f31d7b032b93e62b0fe40a988">OsclMemAllocator</a>, <a class="el" href="classOsclMemBasicAllocator.html#a013b743aaf17acd40e08f720530048cb">OsclMemBasicAllocator</a>, <a class="el" href="classOsclMemAllocDestructDealloc.html#a35c7f3e961ff61fe6a08386f6d7aed06">OsclMemAllocDestructDealloc&lt; T &gt;</a>, <a class="el" href="classOsclMemBasicAllocDestructDealloc.html#ae6fbc1bb10b3086b3678b69419ef916d">OsclMemBasicAllocDestructDealloc&lt; T &gt;</a>, <a class="el" href="classOsclMemPoolFixedChunkAllocator.html#abed9280e5e6c271bb864fa214c3b9c5b">OsclMemPoolFixedChunkAllocator</a>, <a class="el" href="classOsclMemPoolResizableAllocator.html#a1d2dde3ec801c79a3b7d91cc45f9fab2">OsclMemPoolResizableAllocator</a>, and <a class="el" href="classOsclReadyAlloc.html#a0bb85009ff927cc6eb732ead8e1e1bb0">OsclReadyAlloc</a>.</p>

<p>Referenced by <a class="el" href="oscl__error__allocator_8h_source.html#l00074">OsclErrorAllocator::deallocate()</a>.</p>

</div>
</div>
<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></li>
</ul>
</div>
<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
<address style="align: left;"><small>Posting Version: CORE_9.004.1.1 </small>
</small></address>
</body>
</html>