aboutsummaryrefslogtreecommitdiff
path: root/doc/oscl_html/classOscl__Alloc.html
blob: 1473359edfb8bd6ee9de309288dad9f26f4ddd76 (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
<!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_Alloc 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_Alloc Class Reference<br/>
<small>
[<a class="el" href="group__osclbase.html">OSCL Base</a>]</small>
</h1><!-- doxytag: class="Oscl_Alloc" -->
<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_Alloc:</div>
<div class="dynsection">
 <div class="center">
  <img src="classOscl__Alloc.png" usemap="#Oscl_Alloc_map" alt=""/>
  <map id="Oscl_Alloc_map" name="Oscl_Alloc_map">
<area href="classOscl__DefAlloc.html" alt="Oscl_DefAlloc" shape="rect" coords="768,56,1014,80"/>
<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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOscl__Alloc.html#aab879a97b68e7e3d108df793474e346a">~Oscl_Alloc</a> ()</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__Alloc.html#a114adb53b0446f2dc8c2099b8b60ba07">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__Alloc.html#af7b190ec84ceea395aace4f28eb5018c">allocate_fl</a> (const uint32 size, const char *file_name, const int line_num)</td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aab879a97b68e7e3d108df793474e346a"></a><!-- doxytag: member="Oscl_Alloc::~Oscl_Alloc" ref="aab879a97b68e7e3d108df793474e346a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Oscl_Alloc::~Oscl_Alloc </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a114adb53b0446f2dc8c2099b8b60ba07"></a><!-- doxytag: member="Oscl_Alloc::allocate" ref="a114adb53b0446f2dc8c2099b8b60ba07" 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_Alloc::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>Implemented in <a class="el" href="class__OsclBasicAllocator.html#a917bfdb9f786aefc0bde07cf6b283d8e">_OsclBasicAllocator</a>, <a class="el" href="classOscl__DefAlloc.html#a9ce71dcd2aa11b34e7d30a175fef42e0">Oscl_DefAlloc</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#l00059">allocate_fl()</a>.</p>

</div>
</div>
<a class="anchor" id="af7b190ec84ceea395aace4f28eb5018c"></a><!-- doxytag: member="Oscl_Alloc::allocate_fl" ref="af7b190ec84ceea395aace4f28eb5018c" 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_Alloc::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 in <a class="el" href="classOscl__DefAlloc.html#a71b1baadee2468c912d0f6336cf4e563">Oscl_DefAlloc</a>, and <a class="el" href="classOsclReadyAlloc.html#a55718136d112bc7cac536f94ab9ab968">OsclReadyAlloc</a>.</p>

<p>References <a class="el" href="classOscl__Alloc.html#a114adb53b0446f2dc8c2099b8b60ba07">allocate()</a>, and <a class="el" href="oscl__base__macros_8h_source.html#l00085">OSCL_UNUSED_ARG</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.002.1.1 </small>
</small></address>
</body>
</html>