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