<html> <head> <title>Ogre::MemoryManager class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link type="text/css" rel="stylesheet" href="style.css"> </head> <body> <!-- Generated by Doxygen 1.2.16 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>Ogre::MemoryManager Class Reference</h1>See the <a href="memory_manager.html#memory_manager">The memory manager information page</a>. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="OgreMemoryManager_8h-source.html">OgreMemoryManager.h</a>></code> <p> Collaboration diagram for Ogre::MemoryManager:<p><center><img src="classOgre_1_1MemoryManager__coll__graph.png" border="0" usemap="#Ogre_1_1MemoryManager__coll__map" alt="Collaboration graph"></center> <map name="Ogre_1_1MemoryManager__coll__map"> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1MemoryManager-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classOgre_1_1MemoryManager.html#Ogre_1_1MemoryManagera0">MemoryManager</a> ()</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classOgre_1_1MemoryManager.html#Ogre_1_1MemoryManagera1">~MemoryManager</a> ()</td></tr> <tr><td nowrap align=right valign=top>void * </td><td valign=bottom><a class="el" href="classOgre_1_1MemoryManager.html#Ogre_1_1MemoryManagera2">allocMem</a> (const char *szFile, size_t uLine, size_t count) throw ( )</td></tr> <tr><td> </td><td><font size=-1><em>Memory allocator - uses plain old malloc.</em> <a href="#Ogre_1_1MemoryManagera2"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void * </td><td valign=bottom><a class="el" href="classOgre_1_1MemoryManager.html#Ogre_1_1MemoryManagera3">rllocMem</a> (const char *szFile, size_t uLine, void *ptr, size_t count) throw ( )</td></tr> <tr><td> </td><td><font size=-1><em>Memory re-allocator - uses plain old realloc.</em> <a href="#Ogre_1_1MemoryManagera3"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void * </td><td valign=bottom><a class="el" href="classOgre_1_1MemoryManager.html#Ogre_1_1MemoryManagera4">cllocMem</a> (const char *szFile, size_t uLine, size_t num, size_t size) throw ( )</td></tr> <tr><td> </td><td><font size=-1><em>Memory allocator - uses plain old calloc.</em> <a href="#Ogre_1_1MemoryManagera4"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1MemoryManager.html#Ogre_1_1MemoryManagera5">dllocMem</a> (const char *szFile, size_t uLine, void *ptr) throw ( )</td></tr> <tr><td> </td><td><font size=-1><em>Memory de-allocator - uses plain old free.</em> <a href="#Ogre_1_1MemoryManagera5"></a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr> <tr><td nowrap align=right valign=top>MemoryManager </td><td valign=bottom><a class="el" href="classOgre_1_1MemoryManager.html#Ogre_1_1MemoryManagerp0">sMemManager</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> See the <a href="memory_manager.html#memory_manager">The memory manager information page</a>. <p> <p> Definition at line <a class="el" href="OgreMemoryManager_8h-source.html#l00378">378</a> of file <a class="el" href="OgreMemoryManager_8h-source.html">OgreMemoryManager.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="Ogre_1_1MemoryManagera0" doxytag="Ogre::MemoryManager::MemoryManager"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::MemoryManager::MemoryManager </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreMemoryManager_8cpp-source.html#l01650">1650</a> of file <a class="el" href="OgreMemoryManager_8cpp-source.html">OgreMemoryManager.cpp</a>. </td> </tr> </table> <a name="Ogre_1_1MemoryManagera1" doxytag="Ogre::MemoryManager::~MemoryManager"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::MemoryManager::~MemoryManager </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreMemoryManager_8cpp-source.html#l01655">1655</a> of file <a class="el" href="OgreMemoryManager_8cpp-source.html">OgreMemoryManager.cpp</a>. </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="Ogre_1_1MemoryManagera2" doxytag="Ogre::MemoryManager::allocMem"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void * Ogre::MemoryManager::allocMem </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td> <td class="mdname" nowrap> <em>szFile</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>size_t </td> <td class="mdname" nowrap> <em>uLine</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>size_t </td> <td class="mdname" nowrap> <em>count</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw ( )</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Memory allocator - uses plain old malloc. <p> <p> Definition at line <a class="el" href="OgreMemoryManager_8cpp-source.html#l01660">1660</a> of file <a class="el" href="OgreMemoryManager_8cpp-source.html">OgreMemoryManager.cpp</a>. <p> References <a class="el" href="OgreMemoryMacros_8h-source.html#l00065">malloc</a>. </td> </tr> </table> <a name="Ogre_1_1MemoryManagera4" doxytag="Ogre::MemoryManager::cllocMem"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void * Ogre::MemoryManager::cllocMem </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td> <td class="mdname" nowrap> <em>szFile</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>size_t </td> <td class="mdname" nowrap> <em>uLine</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>size_t </td> <td class="mdname" nowrap> <em>num</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>size_t </td> <td class="mdname" nowrap> <em>size</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw ( )</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Memory allocator - uses plain old calloc. <p> <p> Definition at line <a class="el" href="OgreMemoryManager_8cpp-source.html#l01676">1676</a> of file <a class="el" href="OgreMemoryManager_8cpp-source.html">OgreMemoryManager.cpp</a>. <p> References <a class="el" href="OgreMemoryMacros_8h-source.html#l00065">malloc</a>. </td> </tr> </table> <a name="Ogre_1_1MemoryManagera5" doxytag="Ogre::MemoryManager::dllocMem"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::MemoryManager::dllocMem </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td> <td class="mdname" nowrap> <em>szFile</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>size_t </td> <td class="mdname" nowrap> <em>uLine</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>void * </td> <td class="mdname" nowrap> <em>ptr</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw ( )</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Memory de-allocator - uses plain old free. <p> <p> Definition at line <a class="el" href="OgreMemoryManager_8cpp-source.html#l01689">1689</a> of file <a class="el" href="OgreMemoryManager_8cpp-source.html">OgreMemoryManager.cpp</a>. <p> References <a class="el" href="OgreMemoryMacros_8h-source.html#l00066">free</a>. </td> </tr> </table> <a name="Ogre_1_1MemoryManagera3" doxytag="Ogre::MemoryManager::rllocMem"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void * Ogre::MemoryManager::rllocMem </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td> <td class="mdname" nowrap> <em>szFile</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>size_t </td> <td class="mdname" nowrap> <em>uLine</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>void * </td> <td class="mdname" nowrap> <em>ptr</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>size_t </td> <td class="mdname" nowrap> <em>count</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> throw ( )</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Memory re-allocator - uses plain old realloc. <p> <p> Definition at line <a class="el" href="OgreMemoryManager_8cpp-source.html#l01668">1668</a> of file <a class="el" href="OgreMemoryManager_8cpp-source.html">OgreMemoryManager.cpp</a>. <p> References <a class="el" href="OgreMemoryMacros_8h-source.html#l00067">realloc</a>. </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="Ogre_1_1MemoryManagerp0" doxytag="Ogre::MemoryManager::sMemManager"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> MemoryManager Ogre::MemoryManager::sMemManager<code> [static]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreMemoryManager_8cpp-source.html#l00051">51</a> of file <a class="el" href="OgreMemoryManager_8cpp-source.html">OgreMemoryManager.cpp</a>. <p> Referenced by <a class="el" href="OgreMemoryManager_8h-source.html#l00418">operator delete</a>(), <a class="el" href="OgreMemoryManager_8h-source.html#l00423">operator delete[]</a>(), <a class="el" href="OgreMemoryManager_8h-source.html#l00408">operator new</a>(), and <a class="el" href="OgreMemoryManager_8h-source.html#l00413">operator new[]</a>(). </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="OgreMemoryManager_8h-source.html">OgreMemoryManager.h</a><li><a class="el" href="OgreMemoryManager_8cpp-source.html">OgreMemoryManager.cpp</a></ul> <p> Copyright © 2002-2003 by The OGRE Team<br /> Last modified Wed Jan 21 00:18:07 2004 </p> </body> </html>