1 | <html> |
---|
2 | <head> |
---|
3 | <title>Ogre::MemoryManager class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
4 | <link type="text/css" rel="stylesheet" href="style.css"> |
---|
5 | </head> |
---|
6 | |
---|
7 | <body> |
---|
8 | <!-- Generated by Doxygen 1.3.6 --> |
---|
9 | <div class="qindex"><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">Class 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">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
10 | <h1>Ogre::MemoryManager Class Reference</h1>See the <a class="el" href="memory_manager.html">The memory manager information page</a>. |
---|
11 | <a href="#_details">More...</a> |
---|
12 | <p> |
---|
13 | <code>#include <<a class="el" href="OgreMemoryManager_8h-source.html">OgreMemoryManager.h</a>></code> |
---|
14 | <p> |
---|
15 | <a href="classOgre_1_1MemoryManager-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
16 | <tr><td></td></tr> |
---|
17 | <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
---|
18 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MemoryManager.html#Ogre_1_1MemoryManagera0">MemoryManager</a> ()</td></tr> |
---|
19 | |
---|
20 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MemoryManager.html#Ogre_1_1MemoryManagera1">~MemoryManager</a> ()</td></tr> |
---|
21 | |
---|
22 | <tr><td class="memItemLeft" nowrap align=right valign=top>void * </td><td class="memItemRight" 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> |
---|
23 | |
---|
24 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Memory allocator - uses plain old malloc. <a href="#Ogre_1_1MemoryManagera2"></a><br><br></td></tr> |
---|
25 | <tr><td class="memItemLeft" nowrap align=right valign=top>void * </td><td class="memItemRight" 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> |
---|
26 | |
---|
27 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Memory re-allocator - uses plain old realloc. <a href="#Ogre_1_1MemoryManagera3"></a><br><br></td></tr> |
---|
28 | <tr><td class="memItemLeft" nowrap align=right valign=top>void * </td><td class="memItemRight" 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> |
---|
29 | |
---|
30 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Memory allocator - uses plain old calloc. <a href="#Ogre_1_1MemoryManagera4"></a><br><br></td></tr> |
---|
31 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" 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> |
---|
32 | |
---|
33 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Memory de-allocator - uses plain old free. <a href="#Ogre_1_1MemoryManagera5"></a><br><br></td></tr> |
---|
34 | <tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> |
---|
35 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1MemoryManager.html">MemoryManager</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MemoryManager.html#Ogre_1_1MemoryManagere0">instance</a> (void)</td></tr> |
---|
36 | |
---|
37 | </table> |
---|
38 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
39 | See the <a class="el" href="memory_manager.html">The memory manager information page</a>. |
---|
40 | <p> |
---|
41 | |
---|
42 | <p> |
---|
43 | |
---|
44 | <p> |
---|
45 | 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> |
---|
46 | <a class="anchor" name="Ogre_1_1MemoryManagera0" doxytag="Ogre::MemoryManager::MemoryManager" ></a><p> |
---|
47 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
48 | <tr> |
---|
49 | <td class="mdRow"> |
---|
50 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
51 | <tr> |
---|
52 | <td class="md" nowrap valign="top"> Ogre::MemoryManager::MemoryManager </td> |
---|
53 | <td class="md" valign="top">( </td> |
---|
54 | <td class="mdname1" valign="top" nowrap> </td> |
---|
55 | <td class="md" valign="top"> ) </td> |
---|
56 | <td class="md" nowrap></td> |
---|
57 | </tr> |
---|
58 | |
---|
59 | </table> |
---|
60 | </td> |
---|
61 | </tr> |
---|
62 | </table> |
---|
63 | <table cellspacing=5 cellpadding=0 border=0> |
---|
64 | <tr> |
---|
65 | <td> |
---|
66 | |
---|
67 | </td> |
---|
68 | <td> |
---|
69 | |
---|
70 | <p> |
---|
71 | </td> |
---|
72 | </tr> |
---|
73 | </table> |
---|
74 | <a class="anchor" name="Ogre_1_1MemoryManagera1" doxytag="Ogre::MemoryManager::~MemoryManager" ></a><p> |
---|
75 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
76 | <tr> |
---|
77 | <td class="mdRow"> |
---|
78 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
79 | <tr> |
---|
80 | <td class="md" nowrap valign="top"> Ogre::MemoryManager::~<a class="el" href="classOgre_1_1MemoryManager.html">MemoryManager</a> </td> |
---|
81 | <td class="md" valign="top">( </td> |
---|
82 | <td class="mdname1" valign="top" nowrap> </td> |
---|
83 | <td class="md" valign="top"> ) </td> |
---|
84 | <td class="md" nowrap></td> |
---|
85 | </tr> |
---|
86 | |
---|
87 | </table> |
---|
88 | </td> |
---|
89 | </tr> |
---|
90 | </table> |
---|
91 | <table cellspacing=5 cellpadding=0 border=0> |
---|
92 | <tr> |
---|
93 | <td> |
---|
94 | |
---|
95 | </td> |
---|
96 | <td> |
---|
97 | |
---|
98 | <p> |
---|
99 | </td> |
---|
100 | </tr> |
---|
101 | </table> |
---|
102 | <hr><h2>Member Function Documentation</h2> |
---|
103 | <a class="anchor" name="Ogre_1_1MemoryManagera2" doxytag="Ogre::MemoryManager::allocMem" ></a><p> |
---|
104 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
105 | <tr> |
---|
106 | <td class="mdRow"> |
---|
107 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
108 | <tr> |
---|
109 | <td class="md" nowrap valign="top"> void* Ogre::MemoryManager::allocMem </td> |
---|
110 | <td class="md" valign="top">( </td> |
---|
111 | <td class="md" nowrap valign="top">const char * </td> |
---|
112 | <td class="mdname" nowrap> <em>szFile</em>, </td> |
---|
113 | </tr> |
---|
114 | <tr> |
---|
115 | <td class="md" nowrap align="right"></td> |
---|
116 | <td></td> |
---|
117 | <td class="md" nowrap>size_t </td> |
---|
118 | <td class="mdname" nowrap> <em>uLine</em>, </td> |
---|
119 | </tr> |
---|
120 | <tr> |
---|
121 | <td class="md" nowrap align="right"></td> |
---|
122 | <td></td> |
---|
123 | <td class="md" nowrap>size_t </td> |
---|
124 | <td class="mdname" nowrap> <em>count</em></td> |
---|
125 | </tr> |
---|
126 | <tr> |
---|
127 | <td></td> |
---|
128 | <td class="md">) </td> |
---|
129 | <td class="md" colspan="2"> throw ( )</td> |
---|
130 | </tr> |
---|
131 | |
---|
132 | </table> |
---|
133 | </td> |
---|
134 | </tr> |
---|
135 | </table> |
---|
136 | <table cellspacing=5 cellpadding=0 border=0> |
---|
137 | <tr> |
---|
138 | <td> |
---|
139 | |
---|
140 | </td> |
---|
141 | <td> |
---|
142 | |
---|
143 | <p> |
---|
144 | Memory allocator - uses plain old malloc. |
---|
145 | <p> |
---|
146 | </td> |
---|
147 | </tr> |
---|
148 | </table> |
---|
149 | <a class="anchor" name="Ogre_1_1MemoryManagera4" doxytag="Ogre::MemoryManager::cllocMem" ></a><p> |
---|
150 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
151 | <tr> |
---|
152 | <td class="mdRow"> |
---|
153 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
154 | <tr> |
---|
155 | <td class="md" nowrap valign="top"> void* Ogre::MemoryManager::cllocMem </td> |
---|
156 | <td class="md" valign="top">( </td> |
---|
157 | <td class="md" nowrap valign="top">const char * </td> |
---|
158 | <td class="mdname" nowrap> <em>szFile</em>, </td> |
---|
159 | </tr> |
---|
160 | <tr> |
---|
161 | <td class="md" nowrap align="right"></td> |
---|
162 | <td></td> |
---|
163 | <td class="md" nowrap>size_t </td> |
---|
164 | <td class="mdname" nowrap> <em>uLine</em>, </td> |
---|
165 | </tr> |
---|
166 | <tr> |
---|
167 | <td class="md" nowrap align="right"></td> |
---|
168 | <td></td> |
---|
169 | <td class="md" nowrap>size_t </td> |
---|
170 | <td class="mdname" nowrap> <em>num</em>, </td> |
---|
171 | </tr> |
---|
172 | <tr> |
---|
173 | <td class="md" nowrap align="right"></td> |
---|
174 | <td></td> |
---|
175 | <td class="md" nowrap>size_t </td> |
---|
176 | <td class="mdname" nowrap> <em>size</em></td> |
---|
177 | </tr> |
---|
178 | <tr> |
---|
179 | <td></td> |
---|
180 | <td class="md">) </td> |
---|
181 | <td class="md" colspan="2"> throw ( )</td> |
---|
182 | </tr> |
---|
183 | |
---|
184 | </table> |
---|
185 | </td> |
---|
186 | </tr> |
---|
187 | </table> |
---|
188 | <table cellspacing=5 cellpadding=0 border=0> |
---|
189 | <tr> |
---|
190 | <td> |
---|
191 | |
---|
192 | </td> |
---|
193 | <td> |
---|
194 | |
---|
195 | <p> |
---|
196 | Memory allocator - uses plain old calloc. |
---|
197 | <p> |
---|
198 | </td> |
---|
199 | </tr> |
---|
200 | </table> |
---|
201 | <a class="anchor" name="Ogre_1_1MemoryManagera5" doxytag="Ogre::MemoryManager::dllocMem" ></a><p> |
---|
202 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
203 | <tr> |
---|
204 | <td class="mdRow"> |
---|
205 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
206 | <tr> |
---|
207 | <td class="md" nowrap valign="top"> void Ogre::MemoryManager::dllocMem </td> |
---|
208 | <td class="md" valign="top">( </td> |
---|
209 | <td class="md" nowrap valign="top">const char * </td> |
---|
210 | <td class="mdname" nowrap> <em>szFile</em>, </td> |
---|
211 | </tr> |
---|
212 | <tr> |
---|
213 | <td class="md" nowrap align="right"></td> |
---|
214 | <td></td> |
---|
215 | <td class="md" nowrap>size_t </td> |
---|
216 | <td class="mdname" nowrap> <em>uLine</em>, </td> |
---|
217 | </tr> |
---|
218 | <tr> |
---|
219 | <td class="md" nowrap align="right"></td> |
---|
220 | <td></td> |
---|
221 | <td class="md" nowrap>void * </td> |
---|
222 | <td class="mdname" nowrap> <em>ptr</em></td> |
---|
223 | </tr> |
---|
224 | <tr> |
---|
225 | <td></td> |
---|
226 | <td class="md">) </td> |
---|
227 | <td class="md" colspan="2"> throw ( )</td> |
---|
228 | </tr> |
---|
229 | |
---|
230 | </table> |
---|
231 | </td> |
---|
232 | </tr> |
---|
233 | </table> |
---|
234 | <table cellspacing=5 cellpadding=0 border=0> |
---|
235 | <tr> |
---|
236 | <td> |
---|
237 | |
---|
238 | </td> |
---|
239 | <td> |
---|
240 | |
---|
241 | <p> |
---|
242 | Memory de-allocator - uses plain old free. |
---|
243 | <p> |
---|
244 | </td> |
---|
245 | </tr> |
---|
246 | </table> |
---|
247 | <a class="anchor" name="Ogre_1_1MemoryManagere0" doxytag="Ogre::MemoryManager::instance" ></a><p> |
---|
248 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
249 | <tr> |
---|
250 | <td class="mdRow"> |
---|
251 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
252 | <tr> |
---|
253 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1MemoryManager.html">MemoryManager</a>& Ogre::MemoryManager::instance </td> |
---|
254 | <td class="md" valign="top">( </td> |
---|
255 | <td class="md" nowrap valign="top">void </td> |
---|
256 | <td class="mdname1" valign="top" nowrap> </td> |
---|
257 | <td class="md" valign="top"> ) </td> |
---|
258 | <td class="md" nowrap><code> [static]</code></td> |
---|
259 | </tr> |
---|
260 | |
---|
261 | </table> |
---|
262 | </td> |
---|
263 | </tr> |
---|
264 | </table> |
---|
265 | <table cellspacing=5 cellpadding=0 border=0> |
---|
266 | <tr> |
---|
267 | <td> |
---|
268 | |
---|
269 | </td> |
---|
270 | <td> |
---|
271 | |
---|
272 | <p> |
---|
273 | </td> |
---|
274 | </tr> |
---|
275 | </table> |
---|
276 | <a class="anchor" name="Ogre_1_1MemoryManagera3" doxytag="Ogre::MemoryManager::rllocMem" ></a><p> |
---|
277 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
278 | <tr> |
---|
279 | <td class="mdRow"> |
---|
280 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
281 | <tr> |
---|
282 | <td class="md" nowrap valign="top"> void* Ogre::MemoryManager::rllocMem </td> |
---|
283 | <td class="md" valign="top">( </td> |
---|
284 | <td class="md" nowrap valign="top">const char * </td> |
---|
285 | <td class="mdname" nowrap> <em>szFile</em>, </td> |
---|
286 | </tr> |
---|
287 | <tr> |
---|
288 | <td class="md" nowrap align="right"></td> |
---|
289 | <td></td> |
---|
290 | <td class="md" nowrap>size_t </td> |
---|
291 | <td class="mdname" nowrap> <em>uLine</em>, </td> |
---|
292 | </tr> |
---|
293 | <tr> |
---|
294 | <td class="md" nowrap align="right"></td> |
---|
295 | <td></td> |
---|
296 | <td class="md" nowrap>void * </td> |
---|
297 | <td class="mdname" nowrap> <em>ptr</em>, </td> |
---|
298 | </tr> |
---|
299 | <tr> |
---|
300 | <td class="md" nowrap align="right"></td> |
---|
301 | <td></td> |
---|
302 | <td class="md" nowrap>size_t </td> |
---|
303 | <td class="mdname" nowrap> <em>count</em></td> |
---|
304 | </tr> |
---|
305 | <tr> |
---|
306 | <td></td> |
---|
307 | <td class="md">) </td> |
---|
308 | <td class="md" colspan="2"> throw ( )</td> |
---|
309 | </tr> |
---|
310 | |
---|
311 | </table> |
---|
312 | </td> |
---|
313 | </tr> |
---|
314 | </table> |
---|
315 | <table cellspacing=5 cellpadding=0 border=0> |
---|
316 | <tr> |
---|
317 | <td> |
---|
318 | |
---|
319 | </td> |
---|
320 | <td> |
---|
321 | |
---|
322 | <p> |
---|
323 | Memory re-allocator - uses plain old realloc. |
---|
324 | <p> |
---|
325 | </td> |
---|
326 | </tr> |
---|
327 | </table> |
---|
328 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
329 | <li><a class="el" href="OgreMemoryManager_8h-source.html">OgreMemoryManager.h</a></ul> |
---|
330 | <hr> |
---|
331 | <p> |
---|
332 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
333 | <!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/> |
---|
334 | This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/> |
---|
335 | <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
---|
336 | <Work rdf:about=""> |
---|
337 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
338 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
339 | </Work> |
---|
340 | <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> --> |
---|
341 | |
---|
342 | Last modified Sun Mar 12 14:40:03 2006 |
---|
343 | </p> |
---|
344 | </body> |
---|
345 | </html> |
---|