1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21
22      span.virtual_style
23      {
24        font-size			 : 8pt;
25        color				 : white;
26        font-weight			: bold;
27        background			: #0a0;
28        border-left			: solid 1px #0f0;
29        border-top			: solid 1px #0f0;
30        border-right		: solid 1px #060;
31        border-bottom		: solid 1px #060;
32        padding-left		: 2px;
33        padding-right		: 2px;
34      }
35
36      span.protected_style
37      {
38        font-size			 : 8pt;
39        color				 : white;
40        font-weight			: bold;
41        background			: #444;
42        border-left			: solid 1px #ccc;
43        border-top			: solid 1px #ccc;
44        border-right		: solid 1px #222;
45        border-bottom		: solid 1px #222;
46        padding-left		: 2px;
47        padding-right		: 2px;
48      }
49        --></style>
50<title>nn::fnd::UnitHeapBase</title>
51  </head>
52  <body>
53<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/fnd/Overview.html">fnd</a>::UnitHeapBase</CODE> Class</h1>
54<h2>Syntax</h2>
55    <div class="section">
56<pre class="definition">class UnitHeapBase :public <a href="../../../nn/fnd/HeapBase/Overview.html">nn::fnd::HeapBase</a></pre>
57    </div>
58<h2>Description</h2>
59    <div class="section">
60<p>Base class for working with the unit heap.</p><p>Instances of this class cannot be created directly.</p><!-- write here --></div>
61    <a name="function" id="function">
62<h2>Member Functions</h2>
63      <div class="section">
64        <table class="members">
65          <tr>
66            <td width="100">
67<span class="static_style" title="static">S</span> </td>
68            <th>
69<a href="../../../nn/fnd/UnitHeapBase/GetRequiredHeapSize.html">GetRequiredHeapSize</a>
70            </th>
71<td>Gets the minimum size of heap memory required to manage the specified number of blocks of the specified unit size and alignment.</td>
72          </tr>
73          <tr>
74            <td width="100">
75<span class="protected_style" title="protected">protected</span> <span class="virtual_style" title="virtual">V</span>
76            </td>
77            <th>
78<a href="../../../nn/fnd/UnitHeapBase/FreeV.html">FreeV</a>
79            </th>
80<td>Frees memory blocks that have been allocated.</td>
81          </tr>
82          <tr>
83            <td width="100">
84<span class="protected_style" title="protected">protected</span> <span class="virtual_style" title="virtual">V</span>
85            </td>
86            <th>
87<a href="../../../nn/fnd/UnitHeapBase/GetStartAddress.html">GetStartAddress</a>
88            </th>
89<td>Returns the starting address of the memory region used by the calling heap.</td>
90          </tr>
91          <tr>
92            <td width="100">
93<span class="protected_style" title="protected">protected</span> <span class="virtual_style" title="virtual">V</span>
94            </td>
95            <th>
96<a href="../../../nn/fnd/UnitHeapBase/GetTotalSize.html">GetTotalSize</a>
97            </th>
98<td>Returns the size of the memory region used by the calling heap.</td>
99          </tr>
100          <tr>
101            <td width="100">
102<span class="protected_style" title="protected">protected</span> <span class="virtual_style" title="virtual">V</span>
103            </td>
104            <th>
105<a href="../../../nn/fnd/UnitHeapBase/Dump.html">Dump</a>
106            </th>
107<td>Dumps the content of the heap for debugging purposes.</td>
108          </tr>
109          <tr>
110            <td width="100">
111<span class="protected_style" title="protected">protected</span> <span class="virtual_style" title="virtual">V</span>
112            </td>
113            <th>
114<a href="../../../nn/fnd/UnitHeapBase/HasAddress.html">HasAddress</a>
115            </th>
116<td>Determines whether the specified address is located within a heap.</td>
117          </tr> </table>
118      </div>
119    </a>
120<h2>Class Hierarchy</h2>
121    <div class="section">
122<p class="hierarchy"><a href="../../../nn/util/NonCopyable/Overview.html">nn::util::NonCopyable</a><br />&nbsp;&nbsp;<span>nn::fnd::IntrusiveLinkedList</span><br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../nn/fnd/HeapBase/Overview.html">nn::fnd::HeapBase</a><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>nn::fnd::UnitHeapBase</b>
123      </p>
124    </div>
125<h2>Revision History</h2>
126    <div class="section">
127      <dl class="history">
128        <dt>2010/01/07</dt>
129<dd>Initial version.<br />
130        </dd>
131      </dl>
132    </div>
133  <hr><p>CONFIDENTIAL</p></body>
134</html>