Init
This commit is contained in:
@ -0,0 +1,31 @@
|
||||
var class_data_structures_1_1_memory_pool =
|
||||
[
|
||||
[ "MemoryWithPage", "de/df9/class_data_structures_1_1_memory_pool.xhtml#d4/d3e/struct_data_structures_1_1_memory_pool_1_1_memory_with_page", [
|
||||
[ "parentPage", "de/df9/class_data_structures_1_1_memory_pool.xhtml#afa328289bc2f4c78bd2c45de32e3a31e", null ],
|
||||
[ "userMemory", "de/df9/class_data_structures_1_1_memory_pool.xhtml#a902bbfa65d6739852765aecdcbc22d1c", null ]
|
||||
] ],
|
||||
[ "Page", "de/df9/class_data_structures_1_1_memory_pool.xhtml#d0/d3b/struct_data_structures_1_1_memory_pool_1_1_page", [
|
||||
[ "availableStack", "de/df9/class_data_structures_1_1_memory_pool.xhtml#aa97069c8b1cb3eab18cb7372ebce194e", null ],
|
||||
[ "availableStackSize", "de/df9/class_data_structures_1_1_memory_pool.xhtml#a9ed832fd3129cc2f8fdcf775fb4dc594", null ],
|
||||
[ "block", "de/df9/class_data_structures_1_1_memory_pool.xhtml#a4213ea092ba19f9510efe418ad98153e", null ],
|
||||
[ "next", "de/df9/class_data_structures_1_1_memory_pool.xhtml#a58387c1b1a6aedd52c78b0690ab49e50", null ],
|
||||
[ "prev", "de/df9/class_data_structures_1_1_memory_pool.xhtml#afe2bf4d4b602697e6d91c7c8ef774e7c", null ]
|
||||
] ],
|
||||
[ "MemoryPool", "de/df9/class_data_structures_1_1_memory_pool.xhtml#aa55e9a2947d6750b8271d5a715669d8a", null ],
|
||||
[ "~MemoryPool", "de/df9/class_data_structures_1_1_memory_pool.xhtml#af4093908a46767fefdbcd6b26457a3bc", null ],
|
||||
[ "Allocate", "de/df9/class_data_structures_1_1_memory_pool.xhtml#af59cca601f390601953e37c46deca03a", null ],
|
||||
[ "AllocateFirst", "de/df9/class_data_structures_1_1_memory_pool.xhtml#a15838f9c4443b6ee2178bb97043ff84c", null ],
|
||||
[ "BlocksPerPage", "de/df9/class_data_structures_1_1_memory_pool.xhtml#ab7f08431d4592c9875de7d77ad02c065", null ],
|
||||
[ "Clear", "de/df9/class_data_structures_1_1_memory_pool.xhtml#a2e91807b7e7fe95ee3c3d503fb8e6207", null ],
|
||||
[ "GetAvailablePagesSize", "de/df9/class_data_structures_1_1_memory_pool.xhtml#a471c10ff881d72135a4a4c009266748b", null ],
|
||||
[ "GetMemoryPoolPageSize", "de/df9/class_data_structures_1_1_memory_pool.xhtml#a8a1dff41f49d4e18e6fe4a2d13a6f3f2", null ],
|
||||
[ "GetUnavailablePagesSize", "de/df9/class_data_structures_1_1_memory_pool.xhtml#a4f036052f87ef2a41c3277cab07ce321", null ],
|
||||
[ "InitPage", "de/df9/class_data_structures_1_1_memory_pool.xhtml#af69b338e891e9e7d09f004e500650a51", null ],
|
||||
[ "Release", "de/df9/class_data_structures_1_1_memory_pool.xhtml#abd282ac19fb6b29ee31c7e11d3b6131d", null ],
|
||||
[ "SetPageSize", "de/df9/class_data_structures_1_1_memory_pool.xhtml#a92a68a997a047d96bb08bee6ea84858a", null ],
|
||||
[ "availablePages", "de/df9/class_data_structures_1_1_memory_pool.xhtml#ad38f6417c16f65fbc81e4d0d7681040e", null ],
|
||||
[ "availablePagesSize", "de/df9/class_data_structures_1_1_memory_pool.xhtml#aaba4098e633674124f228068953d5c24", null ],
|
||||
[ "memoryPoolPageSize", "de/df9/class_data_structures_1_1_memory_pool.xhtml#a4a772c07d4bfad9f462ddf73b2a64b89", null ],
|
||||
[ "unavailablePages", "de/df9/class_data_structures_1_1_memory_pool.xhtml#a87438f0e1167ce3375cb8c0ccfb623cc", null ],
|
||||
[ "unavailablePagesSize", "de/df9/class_data_structures_1_1_memory_pool.xhtml#a3958169c1e65b3d8e0f3be77eb43b319", null ]
|
||||
];
|
||||
@ -0,0 +1,766 @@
|
||||
<!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"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<title>SLikeNet: DataStructures::MemoryPool< MemoryBlockType > Class Template Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../jquery.js"></script>
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../navtree.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(initResizable);
|
||||
</script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">SLikeNet
|
||||
 <span id="projectnumber">0.1.3</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.2 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="../../index.xhtml"><span>Main Page</span></a></li>
|
||||
<li><a href="../../pages.xhtml"><span>Related Pages</span></a></li>
|
||||
<li><a href="../../modules.xhtml"><span>Modules</span></a></li>
|
||||
<li><a href="../../namespaces.xhtml"><span>Namespaces</span></a></li>
|
||||
<li class="current"><a href="../../annotated.xhtml"><span>Classes</span></a></li>
|
||||
<li><a href="../../files.xhtml"><span>Files</span></a></li>
|
||||
<li>
|
||||
<div id="MSearchBox" class="MSearchBoxInactive">
|
||||
<span class="left">
|
||||
<img id="MSearchSelect" src="../../search/mag_sel.png"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
alt=""/>
|
||||
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
||||
onfocus="searchBox.OnSearchFieldFocus(true)"
|
||||
onblur="searchBox.OnSearchFieldFocus(false)"
|
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
||||
</span><span class="right">
|
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
|
||||
</span>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="navrow2" class="tabs2">
|
||||
<ul class="tablist">
|
||||
<li><a href="../../annotated.xhtml"><span>Class List</span></a></li>
|
||||
<li><a href="../../classes.xhtml"><span>Class Index</span></a></li>
|
||||
<li><a href="../../inherits.xhtml"><span>Class Hierarchy</span></a></li>
|
||||
<li><a href="../../functions.xhtml"><span>Class Members</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){initNavTree('de/df9/class_data_structures_1_1_memory_pool.xhtml','../../');});
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(12)"><span class="SelectionMark"> </span>Pages</a></div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> |
|
||||
<a href="#pub-methods">Public Member Functions</a> |
|
||||
<a href="#pro-methods">Protected Member Functions</a> |
|
||||
<a href="#pro-attribs">Protected Attributes</a> |
|
||||
<a href="../../df/d93/class_data_structures_1_1_memory_pool-members.xhtml">List of all members</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">DataStructures::MemoryPool< MemoryBlockType > Class Template Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p><code>#include <<a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">slikenet/DS_MemoryPool.h</a>></code></p>
|
||||
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
|
||||
<img id="dynsection-0-trigger" src="../../closed.png" alt="+"/> Inheritance diagram for DataStructures::MemoryPool< MemoryBlockType >:</div>
|
||||
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
|
||||
</div>
|
||||
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
|
||||
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../de/df1/class_data_structures_1_1_memory_pool__inherit__graph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
</div>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:d4/d3e/struct_data_structures_1_1_memory_pool_1_1_memory_with_page"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#d4/d3e/struct_data_structures_1_1_memory_pool_1_1_memory_with_page">MemoryWithPage</a></td></tr>
|
||||
<tr class="separator:d4/d3e/struct_data_structures_1_1_memory_pool_1_1_memory_with_page"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:d0/d3b/struct_data_structures_1_1_memory_pool_1_1_page"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#d0/d3b/struct_data_structures_1_1_memory_pool_1_1_page">Page</a></td></tr>
|
||||
<tr class="separator:d0/d3b/struct_data_structures_1_1_memory_pool_1_1_page"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:aa55e9a2947d6750b8271d5a715669d8a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#aa55e9a2947d6750b8271d5a715669d8a">MemoryPool</a> ()</td></tr>
|
||||
<tr class="separator:aa55e9a2947d6750b8271d5a715669d8a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af4093908a46767fefdbcd6b26457a3bc"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#af4093908a46767fefdbcd6b26457a3bc">~MemoryPool</a> ()</td></tr>
|
||||
<tr class="separator:af4093908a46767fefdbcd6b26457a3bc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a92a68a997a047d96bb08bee6ea84858a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#a92a68a997a047d96bb08bee6ea84858a">SetPageSize</a> (int size)</td></tr>
|
||||
<tr class="separator:a92a68a997a047d96bb08bee6ea84858a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af59cca601f390601953e37c46deca03a"><td class="memItemLeft" align="right" valign="top">MemoryBlockType * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#af59cca601f390601953e37c46deca03a">Allocate</a> (const char *file, unsigned int line)</td></tr>
|
||||
<tr class="separator:af59cca601f390601953e37c46deca03a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:abd282ac19fb6b29ee31c7e11d3b6131d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#abd282ac19fb6b29ee31c7e11d3b6131d">Release</a> (MemoryBlockType *m, const char *file, unsigned int line)</td></tr>
|
||||
<tr class="separator:abd282ac19fb6b29ee31c7e11d3b6131d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2e91807b7e7fe95ee3c3d503fb8e6207"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#a2e91807b7e7fe95ee3c3d503fb8e6207">Clear</a> (const char *file, unsigned int line)</td></tr>
|
||||
<tr class="separator:a2e91807b7e7fe95ee3c3d503fb8e6207"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a471c10ff881d72135a4a4c009266748b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#a471c10ff881d72135a4a4c009266748b">GetAvailablePagesSize</a> (void) const </td></tr>
|
||||
<tr class="separator:a471c10ff881d72135a4a4c009266748b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a4f036052f87ef2a41c3277cab07ce321"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#a4f036052f87ef2a41c3277cab07ce321">GetUnavailablePagesSize</a> (void) const </td></tr>
|
||||
<tr class="separator:a4f036052f87ef2a41c3277cab07ce321"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8a1dff41f49d4e18e6fe4a2d13a6f3f2"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#a8a1dff41f49d4e18e6fe4a2d13a6f3f2">GetMemoryPoolPageSize</a> (void) const </td></tr>
|
||||
<tr class="separator:a8a1dff41f49d4e18e6fe4a2d13a6f3f2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
|
||||
Protected Member Functions</h2></td></tr>
|
||||
<tr class="memitem:ab7f08431d4592c9875de7d77ad02c065"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#ab7f08431d4592c9875de7d77ad02c065">BlocksPerPage</a> (void) const </td></tr>
|
||||
<tr class="separator:ab7f08431d4592c9875de7d77ad02c065"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a15838f9c4443b6ee2178bb97043ff84c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#a15838f9c4443b6ee2178bb97043ff84c">AllocateFirst</a> (void)</td></tr>
|
||||
<tr class="separator:a15838f9c4443b6ee2178bb97043ff84c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af69b338e891e9e7d09f004e500650a51"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#af69b338e891e9e7d09f004e500650a51">InitPage</a> (<a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#d0/d3b/struct_data_structures_1_1_memory_pool_1_1_page">Page</a> *page, <a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#d0/d3b/struct_data_structures_1_1_memory_pool_1_1_page">Page</a> *prev, const char *file, unsigned int line)</td></tr>
|
||||
<tr class="separator:af69b338e891e9e7d09f004e500650a51"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
|
||||
Protected Attributes</h2></td></tr>
|
||||
<tr class="memitem:ad38f6417c16f65fbc81e4d0d7681040e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#d0/d3b/struct_data_structures_1_1_memory_pool_1_1_page">Page</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#ad38f6417c16f65fbc81e4d0d7681040e">availablePages</a></td></tr>
|
||||
<tr class="separator:ad38f6417c16f65fbc81e4d0d7681040e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a87438f0e1167ce3375cb8c0ccfb623cc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#d0/d3b/struct_data_structures_1_1_memory_pool_1_1_page">Page</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#a87438f0e1167ce3375cb8c0ccfb623cc">unavailablePages</a></td></tr>
|
||||
<tr class="separator:a87438f0e1167ce3375cb8c0ccfb623cc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aaba4098e633674124f228068953d5c24"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#aaba4098e633674124f228068953d5c24">availablePagesSize</a></td></tr>
|
||||
<tr class="separator:aaba4098e633674124f228068953d5c24"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3958169c1e65b3d8e0f3be77eb43b319"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#a3958169c1e65b3d8e0f3be77eb43b319">unavailablePagesSize</a></td></tr>
|
||||
<tr class="separator:a3958169c1e65b3d8e0f3be77eb43b319"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a4a772c07d4bfad9f462ddf73b2a64b89"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#a4a772c07d4bfad9f462ddf73b2a64b89">memoryPoolPageSize</a></td></tr>
|
||||
<tr class="separator:a4a772c07d4bfad9f462ddf73b2a64b89"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><h3>template<class MemoryBlockType><br/>
|
||||
class DataStructures::MemoryPool< MemoryBlockType ></h3>
|
||||
|
||||
<p>Very fast memory pool for allocating and deallocating structures that don't have constructors or destructors. Contains a list of pages, each of which has an array of the user structures </p>
|
||||
|
||||
<p>Definition at line <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00042">42</a> of file <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">DS_MemoryPool.h</a>.</p>
|
||||
</div><hr/><h2 class="groupheader">Class Documentation</h2>
|
||||
<a name="d4/d3e/struct_data_structures_1_1_memory_pool_1_1_memory_with_page" id="d4/d3e/struct_data_structures_1_1_memory_pool_1_1_memory_with_page"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">struct DataStructures::MemoryPool::MemoryWithPage</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<div class="textblock"><h3>template<class MemoryBlockType><br/>
|
||||
struct DataStructures::MemoryPool< MemoryBlockType >::MemoryWithPage</h3>
|
||||
|
||||
|
||||
<p>Definition at line <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00046">46</a> of file <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">DS_MemoryPool.h</a>.</p>
|
||||
</div><table class="fieldtable">
|
||||
<tr><th colspan="3">Class Members</th></tr>
|
||||
<tr><td class="fieldtype">
|
||||
<a class="anchor" id="afa328289bc2f4c78bd2c45de32e3a31e"></a><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#d0/d3b/struct_data_structures_1_1_memory_pool_1_1_page">Page</a> *</td>
|
||||
<td class="fieldname">
|
||||
parentPage</td>
|
||||
<td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldtype">
|
||||
<a class="anchor" id="a902bbfa65d6739852765aecdcbc22d1c"></a>MemoryBlockType</td>
|
||||
<td class="fieldname">
|
||||
userMemory</td>
|
||||
<td class="fielddoc">
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a name="d0/d3b/struct_data_structures_1_1_memory_pool_1_1_page" id="d0/d3b/struct_data_structures_1_1_memory_pool_1_1_page"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">struct DataStructures::MemoryPool::Page</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<div class="textblock"><h3>template<class MemoryBlockType><br/>
|
||||
struct DataStructures::MemoryPool< MemoryBlockType >::Page</h3>
|
||||
|
||||
|
||||
<p>Definition at line <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00051">51</a> of file <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">DS_MemoryPool.h</a>.</p>
|
||||
</div><table class="fieldtable">
|
||||
<tr><th colspan="3">Class Members</th></tr>
|
||||
<tr><td class="fieldtype">
|
||||
<a class="anchor" id="aa97069c8b1cb3eab18cb7372ebce194e"></a><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#d4/d3e/struct_data_structures_1_1_memory_pool_1_1_memory_with_page">MemoryWithPage</a> **</td>
|
||||
<td class="fieldname">
|
||||
availableStack</td>
|
||||
<td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldtype">
|
||||
<a class="anchor" id="a9ed832fd3129cc2f8fdcf775fb4dc594"></a>int</td>
|
||||
<td class="fieldname">
|
||||
availableStackSize</td>
|
||||
<td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldtype">
|
||||
<a class="anchor" id="a4213ea092ba19f9510efe418ad98153e"></a><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#d4/d3e/struct_data_structures_1_1_memory_pool_1_1_memory_with_page">MemoryWithPage</a> *</td>
|
||||
<td class="fieldname">
|
||||
block</td>
|
||||
<td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldtype">
|
||||
<a class="anchor" id="a58387c1b1a6aedd52c78b0690ab49e50"></a><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#d0/d3b/struct_data_structures_1_1_memory_pool_1_1_page">Page</a> *</td>
|
||||
<td class="fieldname">
|
||||
next</td>
|
||||
<td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldtype">
|
||||
<a class="anchor" id="afe2bf4d4b602697e6d91c7c8ef774e7c"></a><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#d0/d3b/struct_data_structures_1_1_memory_pool_1_1_page">Page</a> *</td>
|
||||
<td class="fieldname">
|
||||
prev</td>
|
||||
<td class="fielddoc">
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||||
<a class="anchor" id="aa55e9a2947d6750b8271d5a715669d8a"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class MemoryBlockType > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml">DataStructures::MemoryPool</a>< MemoryBlockType >::<a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml">MemoryPool</a> </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00083">83</a> of file <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">DS_MemoryPool.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af4093908a46767fefdbcd6b26457a3bc"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class MemoryBlockType > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml">DataStructures::MemoryPool</a>< MemoryBlockType >::~<a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml">MemoryPool</a> </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00093">93</a> of file <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">DS_MemoryPool.h</a>.</p>
|
||||
|
||||
<p>References <a class="el" href="../../d8/db0/defines_8h_source.xhtml#l00047">_FILE_AND_LINE_</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a class="anchor" id="af59cca601f390601953e37c46deca03a"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class MemoryBlockType > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">MemoryBlockType * <a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml">DataStructures::MemoryPool</a>< MemoryBlockType >::Allocate </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>file</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">unsigned int </td>
|
||||
<td class="paramname"><em>line</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00107">107</a> of file <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">DS_MemoryPool.h</a>.</p>
|
||||
|
||||
<p>References <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00053">DataStructures::MemoryPool< MemoryBlockType >::Page::availableStack</a>, <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00054">DataStructures::MemoryPool< MemoryBlockType >::Page::availableStackSize</a>, <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00056">DataStructures::MemoryPool< MemoryBlockType >::Page::next</a>, <a class="el" href="../../d3/d3d/_d_s___b_plus_tree_8h_source.xhtml#l00067">DataStructures::Page< KeyType, DataType, order >::next</a>, <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00056">DataStructures::MemoryPool< MemoryBlockType >::Page::prev</a>, <a class="el" href="../../d8/db0/defines_8h_source.xhtml#l00120">RakAssert</a>, and <a class="el" href="../../d9/d4c/_rak_memory_override_8cpp_source.xhtml#l00062">rakMalloc_Ex</a>.</p>
|
||||
|
||||
<p>Referenced by <a class="el" href="../../dd/d79/_d_s___byte_pool_8cpp_source.xhtml#l00042">DataStructures::BytePool::Allocate()</a>, <a class="el" href="../../d2/d81/_variable_delta_serializer_8cpp_source.xhtml#l00237">SLNet::VariableDeltaSerializer::AllocChangedVariablesList()</a>, <a class="el" href="../../d5/d55/_rak_peer_8cpp_source.xhtml#l00143">SLNet::RakPeer::AllocPacket()</a>, and <a class="el" href="../../d5/d55/_rak_peer_8cpp_source.xhtml#l03790">SLNet::RakPeer::ReferenceRemoteSystem()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a15838f9c4443b6ee2178bb97043ff84c"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class MemoryBlockType> </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void <a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml">DataStructures::MemoryPool</a>< MemoryBlockType >::AllocateFirst </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ab7f08431d4592c9875de7d77ad02c065"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class MemoryBlockType > </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int <a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml">DataStructures::MemoryPool</a>< MemoryBlockType >::BlocksPerPage </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td> const</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00271">271</a> of file <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">DS_MemoryPool.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a2e91807b7e7fe95ee3c3d503fb8e6207"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class MemoryBlockType > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void <a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml">DataStructures::MemoryPool</a>< MemoryBlockType >::Clear </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>file</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">unsigned int </td>
|
||||
<td class="paramname"><em>line</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00221">221</a> of file <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">DS_MemoryPool.h</a>.</p>
|
||||
|
||||
<p>References <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00053">DataStructures::MemoryPool< MemoryBlockType >::Page::availableStack</a>, <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00055">DataStructures::MemoryPool< MemoryBlockType >::Page::block</a>, <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00056">DataStructures::MemoryPool< MemoryBlockType >::Page::next</a>, and <a class="el" href="../../d9/d4c/_rak_memory_override_8cpp_source.xhtml#l00064">rakFree_Ex</a>.</p>
|
||||
|
||||
<p>Referenced by <a class="el" href="../../dd/d79/_d_s___byte_pool_8cpp_source.xhtml#l00153">DataStructures::BytePool::Clear()</a>, <a class="el" href="../../d5/d55/_rak_peer_8cpp_source.xhtml#l03917">SLNet::RakPeer::ClearRemoteSystemLookup()</a>, and <a class="el" href="../../d5/d55/_rak_peer_8cpp_source.xhtml#l01041">SLNet::RakPeer::Shutdown()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a471c10ff881d72135a4a4c009266748b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class MemoryBlockType> </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int <a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml">DataStructures::MemoryPool</a>< MemoryBlockType >::GetAvailablePagesSize </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td> const</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00066">66</a> of file <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">DS_MemoryPool.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8a1dff41f49d4e18e6fe4a2d13a6f3f2"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class MemoryBlockType> </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int <a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml">DataStructures::MemoryPool</a>< MemoryBlockType >::GetMemoryPoolPageSize </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td> const</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00068">68</a> of file <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">DS_MemoryPool.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a4f036052f87ef2a41c3277cab07ce321"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class MemoryBlockType> </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int <a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml">DataStructures::MemoryPool</a>< MemoryBlockType >::GetUnavailablePagesSize </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td> const</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00067">67</a> of file <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">DS_MemoryPool.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af69b338e891e9e7d09f004e500650a51"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class MemoryBlockType > </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">bool <a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml">DataStructures::MemoryPool</a>< MemoryBlockType >::InitPage </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#d0/d3b/struct_data_structures_1_1_memory_pool_1_1_page">Page</a> * </td>
|
||||
<td class="paramname"><em>page</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#d0/d3b/struct_data_structures_1_1_memory_pool_1_1_page">Page</a> * </td>
|
||||
<td class="paramname"><em>prev</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>file</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">unsigned int </td>
|
||||
<td class="paramname"><em>line</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00276">276</a> of file <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">DS_MemoryPool.h</a>.</p>
|
||||
|
||||
<p>References <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00053">DataStructures::MemoryPool< MemoryBlockType >::Page::availableStack</a>, <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00054">DataStructures::MemoryPool< MemoryBlockType >::Page::availableStackSize</a>, <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00055">DataStructures::MemoryPool< MemoryBlockType >::Page::block</a>, <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00056">DataStructures::MemoryPool< MemoryBlockType >::Page::next</a>, <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00049">DataStructures::MemoryPool< MemoryBlockType >::MemoryWithPage::parentPage</a>, <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00056">DataStructures::MemoryPool< MemoryBlockType >::Page::prev</a>, <a class="el" href="../../d9/d4c/_rak_memory_override_8cpp_source.xhtml#l00064">rakFree_Ex</a>, and <a class="el" href="../../d9/d4c/_rak_memory_override_8cpp_source.xhtml#l00062">rakMalloc_Ex</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="abd282ac19fb6b29ee31c7e11d3b6131d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class MemoryBlockType> </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void <a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml">DataStructures::MemoryPool</a>< MemoryBlockType >::Release </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">MemoryBlockType * </td>
|
||||
<td class="paramname"><em>m</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>file</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">unsigned int </td>
|
||||
<td class="paramname"><em>line</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00159">159</a> of file <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">DS_MemoryPool.h</a>.</p>
|
||||
|
||||
<p>References <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00053">DataStructures::MemoryPool< MemoryBlockType >::Page::availableStack</a>, <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00054">DataStructures::MemoryPool< MemoryBlockType >::Page::availableStackSize</a>, <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00055">DataStructures::MemoryPool< MemoryBlockType >::Page::block</a>, <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00033">DS_MEMORY_POOL_MAX_FREE_PAGES</a>, <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00056">DataStructures::MemoryPool< MemoryBlockType >::Page::next</a>, <a class="el" href="../../d3/d3d/_d_s___b_plus_tree_8h_source.xhtml#l00067">DataStructures::Page< KeyType, DataType, order >::next</a>, <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00049">DataStructures::MemoryPool< MemoryBlockType >::MemoryWithPage::parentPage</a>, <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00056">DataStructures::MemoryPool< MemoryBlockType >::Page::prev</a>, <a class="el" href="../../d8/db0/defines_8h_source.xhtml#l00120">RakAssert</a>, and <a class="el" href="../../d9/d4c/_rak_memory_override_8cpp_source.xhtml#l00064">rakFree_Ex</a>.</p>
|
||||
|
||||
<p>Referenced by <a class="el" href="../../d5/d55/_rak_peer_8cpp_source.xhtml#l01610">SLNet::RakPeer::DeallocatePacket()</a>, <a class="el" href="../../d5/d55/_rak_peer_8cpp_source.xhtml#l03871">SLNet::RakPeer::DereferenceRemoteSystem()</a>, <a class="el" href="../../d2/d81/_variable_delta_serializer_8cpp_source.xhtml#l00244">SLNet::VariableDeltaSerializer::FreeChangedVariablesList()</a>, and <a class="el" href="../../dd/d79/_d_s___byte_pool_8cpp_source.xhtml#l00101">DataStructures::BytePool::Release()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a92a68a997a047d96bb08bee6ea84858a"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class MemoryBlockType > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void <a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml">DataStructures::MemoryPool</a>< MemoryBlockType >::SetPageSize </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>size</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00101">101</a> of file <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">DS_MemoryPool.h</a>.</p>
|
||||
|
||||
<p>Referenced by <a class="el" href="../../dd/d79/_d_s___byte_pool_8cpp_source.xhtml#l00025">DataStructures::BytePool::BytePool()</a>, and <a class="el" href="../../dd/d79/_d_s___byte_pool_8cpp_source.xhtml#l00035">DataStructures::BytePool::SetPageSize()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Member Data Documentation</h2>
|
||||
<a class="anchor" id="ad38f6417c16f65fbc81e4d0d7681040e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class MemoryBlockType> </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#d0/d3b/struct_data_structures_1_1_memory_pool_1_1_page">Page</a>* <a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml">DataStructures::MemoryPool</a>< MemoryBlockType >::availablePages</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00077">77</a> of file <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">DS_MemoryPool.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aaba4098e633674124f228068953d5c24"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class MemoryBlockType> </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int <a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml">DataStructures::MemoryPool</a>< MemoryBlockType >::availablePagesSize</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00078">78</a> of file <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">DS_MemoryPool.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a4a772c07d4bfad9f462ddf73b2a64b89"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class MemoryBlockType> </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int <a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml">DataStructures::MemoryPool</a>< MemoryBlockType >::memoryPoolPageSize</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00079">79</a> of file <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">DS_MemoryPool.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a87438f0e1167ce3375cb8c0ccfb623cc"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class MemoryBlockType> </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml#d0/d3b/struct_data_structures_1_1_memory_pool_1_1_page">Page</a> * <a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml">DataStructures::MemoryPool</a>< MemoryBlockType >::unavailablePages</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00077">77</a> of file <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">DS_MemoryPool.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a3958169c1e65b3d8e0f3be77eb43b319"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class MemoryBlockType> </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int <a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml">DataStructures::MemoryPool</a>< MemoryBlockType >::unavailablePagesSize</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml#l00078">78</a> of file <a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">DS_MemoryPool.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr/>The documentation for this class was generated from the following file:<ul>
|
||||
<li>Source/include/slikenet/<a class="el" href="../../d6/d7e/_d_s___memory_pool_8h_source.xhtml">DS_MemoryPool.h</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../da/d80/namespace_data_structures.xhtml">DataStructures</a></li><li class="navelem"><a class="el" href="../../de/df9/class_data_structures_1_1_memory_pool.xhtml">MemoryPool</a></li>
|
||||
<li class="footer">Generated on Wed Aug 14 2019 22:09:49 for SLikeNet by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.2 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user