source: OGRE/trunk/ogrenew/Docs/api/html/classOgre_1_1FontManager.html @ 692

Revision 692, 95.1 KB checked in by mattausch, 18 years ago (diff)

adding ogre 1.2 and dependencies

Line 
1<html>
2<head>
3<title>Ogre::FontManager 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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
10<h1>Ogre::FontManager Class Reference</h1>Manages <a class="el" href="classOgre_1_1Font.html">Font</a> resources, parsing .fontdef files and generally organising them. 
11<a href="#_details">More...</a>
12<p>
13<code>#include &lt;<a class="el" href="OgreFontManager_8h-source.html">OgreFontManager.h</a>&gt;</code>
14<p>
15<p>Inheritance diagram for Ogre::FontManager:
16<p><center><img src="classOgre_1_1FontManager.png" usemap="#Ogre::FontManager_map" border="0" alt=""></center>
17<map name="Ogre::FontManager_map">
18<area href="classOgre_1_1ResourceManager.html" alt="Ogre::ResourceManager" shape="rect" coords="0,56,199,80">
19<area href="classOgre_1_1Singleton.html" alt="Ogre::Singleton< FontManager >" shape="rect" coords="209,56,408,80">
20<area href="classOgre_1_1ScriptLoader.html" alt="Ogre::ScriptLoader" shape="rect" coords="0,0,199,24">
21</map>
22<a href="classOgre_1_1FontManager-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
23<tr><td></td></tr>
24<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
25<tr><td class="memItemLeft" nowrap align=right valign=top>typedef HashMap&lt; <a class="el" href="namespaceOgre.html#a471">String</a>, <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw0">ResourceMap</a></td></tr>
26
27<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; <a class="el" href="namespaceOgre.html#a529">ResourceHandle</a>,<br>
28 <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw1">ResourceHandleMap</a></td></tr>
29
30<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classOgre_1_1MapIterator.html">MapIterator</a>&lt; <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw1">ResourceHandleMap</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw2">ResourceMapIterator</a></td></tr>
31
32<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
33<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1FontManager.html#Ogre_1_1FontManagera0">FontManager</a> ()</td></tr>
34
35<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1FontManager.html#Ogre_1_1FontManagera1">~FontManager</a> ()</td></tr>
36
37<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1FontManager.html#Ogre_1_1FontManagera2">parseScript</a> (<a class="el" href="classOgre_1_1SharedPtr.html">DataStreamPtr</a> &amp;stream, const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;groupName)</td></tr>
38
39<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd>
40  <table border="0" cellspacing="2" cellpadding="0">
41    <tr><td valign=top><em>stream</em>&nbsp;</td><td>Weak reference to a data stream which is the source of the script </td></tr>
42    <tr><td valign=top><em>groupName</em>&nbsp;</td><td>The name of a resource group which should be used if any resources are created during the parse of this script. </td></tr>
43  </table>
44</dl>
45  <a href="#Ogre_1_1FontManagera2"></a><br><br></td></tr>
46<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera14">create</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;name, const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;group, bool isManual=false, <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *loader=0, const <a class="el" href="namespaceOgre.html#a76">NameValuePairList</a> *createParams=0)</td></tr>
47
48<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new blank resource, but does not immediately load it.  <a href="#Ogre_1_1TextureManagera14"></a><br><br></td></tr>
49<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera15">setMemoryBudget</a> (size_t bytes)</td></tr>
50
51<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set a limit on the amount of memory this resource handler may use.  <a href="#Ogre_1_1TextureManagera15"></a><br><br></td></tr>
52<tr><td class="memItemLeft" nowrap align=right valign=top>virtual size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera16">getMemoryBudget</a> (void) const </td></tr>
53
54<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the limit on the amount of memory this resource handler may use.  <a href="#Ogre_1_1TextureManagera16"></a><br><br></td></tr>
55<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera17">unload</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;name)</td></tr>
56
57<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unloads a single resource by name.  <a href="#Ogre_1_1TextureManagera17"></a><br><br></td></tr>
58<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera18">unload</a> (<a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> handle)</td></tr>
59
60<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unloads a single resource by handle.  <a href="#Ogre_1_1TextureManagera18"></a><br><br></td></tr>
61<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera19">unloadAll</a> (bool reloadableOnly=true)</td></tr>
62
63<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unloads all resources.  <a href="#Ogre_1_1TextureManagera19"></a><br><br></td></tr>
64<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera20">reloadAll</a> (bool reloadableOnly=true)</td></tr>
65
66<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Caused all currently loaded resources to be reloaded.  <a href="#Ogre_1_1TextureManagera20"></a><br><br></td></tr>
67<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera21">unloadUnreferencedResources</a> (bool reloadableOnly=true)</td></tr>
68
69<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unload all resources which are not referenced by any other object.  <a href="#Ogre_1_1TextureManagera21"></a><br><br></td></tr>
70<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera22">reloadUnreferencedResources</a> (bool reloadableOnly=true)</td></tr>
71
72<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Caused all currently loaded but not referenced by any other object resources to be reloaded.  <a href="#Ogre_1_1TextureManagera22"></a><br><br></td></tr>
73<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera23">remove</a> (<a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;r)</td></tr>
74
75<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove a single resource.  <a href="#Ogre_1_1TextureManagera23"></a><br><br></td></tr>
76<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera24">remove</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;name)</td></tr>
77
78<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove a single resource by name.  <a href="#Ogre_1_1TextureManagera24"></a><br><br></td></tr>
79<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera25">remove</a> (<a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> handle)</td></tr>
80
81<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove a single resource by handle.  <a href="#Ogre_1_1TextureManagera25"></a><br><br></td></tr>
82<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera26">removeAll</a> (void)</td></tr>
83
84<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes all resources.  <a href="#Ogre_1_1TextureManagera26"></a><br><br></td></tr>
85<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera27">getByName</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;name)</td></tr>
86
87<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves a pointer to a resource by name, or null if the resource does not exist.  <a href="#Ogre_1_1TextureManagera27"></a><br><br></td></tr>
88<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera28">getByHandle</a> (<a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> handle)</td></tr>
89
90<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves a pointer to a resource by handle, or null if the resource does not exist.  <a href="#Ogre_1_1TextureManagera28"></a><br><br></td></tr>
91<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera29">resourceExists</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;name)</td></tr>
92
93<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns whether the named resource exists in this manager.  <a href="#Ogre_1_1TextureManagera29"></a><br><br></td></tr>
94<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera30">resourceExists</a> (<a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> handle)</td></tr>
95
96<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns whether a resource with the given handle exists in this manager.  <a href="#Ogre_1_1TextureManagera30"></a><br><br></td></tr>
97<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera31">_notifyResourceTouched</a> (<a class="el" href="classOgre_1_1Resource.html">Resource</a> *res)</td></tr>
98
99<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Notify this manager that a resource which it manages has been 'touched', ie used.  <a href="#Ogre_1_1TextureManagera31"></a><br><br></td></tr>
100<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera32">_notifyResourceLoaded</a> (<a class="el" href="classOgre_1_1Resource.html">Resource</a> *res)</td></tr>
101
102<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Notify this manager that a resource which it manages has been loaded.  <a href="#Ogre_1_1TextureManagera32"></a><br><br></td></tr>
103<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera33">_notifyResourceUnloaded</a> (<a class="el" href="classOgre_1_1Resource.html">Resource</a> *res)</td></tr>
104
105<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Notify this manager that a resource which it manages has been unloaded.  <a href="#Ogre_1_1TextureManagera33"></a><br><br></td></tr>
106<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera34">load</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;name, const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;group, bool isManual=false, <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *loader=0, const <a class="el" href="namespaceOgre.html#a76">NameValuePairList</a> *loadParams=0)</td></tr>
107
108<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generic load method, used to create a <a class="el" href="classOgre_1_1Resource.html">Resource</a> specific to this <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> without using one of the specialised 'load' methods (containing per-Resource-type parameters).  <a href="#Ogre_1_1TextureManagera34"></a><br><br></td></tr>
109<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="namespaceOgre.html#a580">StringVector</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera35">getScriptPatterns</a> (void) const </td></tr>
110
111<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the file patterns which should be used to find scripts for this <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a>.  <a href="#Ogre_1_1TextureManagera35"></a><br><br></td></tr>
112<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a465">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera37">getLoadingOrder</a> (void) const </td></tr>
113
114<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the relative loading order of resources of this type.  <a href="#Ogre_1_1TextureManagera37"></a><br><br></td></tr>
115<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera38">getResourceType</a> (void) const </td></tr>
116
117<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets a string identifying the type of resource this manager handles.  <a href="#Ogre_1_1TextureManagera38"></a><br><br></td></tr>
118<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw2">ResourceMapIterator</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera39">getResourceIterator</a> (void)</td></tr>
119
120<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns an iterator over all resources in this manager.  <a href="#Ogre_1_1TextureManagera39"></a><br><br></td></tr>
121<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr>
122<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1FontManager.html">FontManager</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1FontManager.html#Ogre_1_1FontManagere0">getSingleton</a> (void)</td></tr>
123
124<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval.  <a href="#Ogre_1_1FontManagere0"></a><br><br></td></tr>
125<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1FontManager.html">FontManager</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1FontManager.html#Ogre_1_1FontManagere1">getSingletonPtr</a> (void)</td></tr>
126
127<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval.  <a href="#Ogre_1_1FontManagere1"></a><br><br></td></tr>
128<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
129<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Resource.html">Resource</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1FontManager.html#Ogre_1_1FontManagerb0">createImpl</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;name, <a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> handle, const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;group, bool isManual, <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *loader, const <a class="el" href="namespaceOgre.html#a76">NameValuePairList</a> *params)</td></tr>
130
131<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal methods.  <a href="#Ogre_1_1FontManagerb0"></a><br><br></td></tr>
132<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1FontManager.html#Ogre_1_1FontManagerb1">parseAttribute</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;line, <a class="el" href="classOgre_1_1FontPtr.html">FontPtr</a> &amp;pFont)</td></tr>
133
134<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1FontManager.html#Ogre_1_1FontManagerb2">logBadAttrib</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;line, <a class="el" href="classOgre_1_1FontPtr.html">FontPtr</a> &amp;pFont)</td></tr>
135
136<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a529">ResourceHandle</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerb0">getNextHandle</a> (void)</td></tr>
137
138<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allocates the next handle.  <a href="#Ogre_1_1TextureManagerb0"></a><br><br></td></tr>
139<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerb2">addImpl</a> (<a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;res)</td></tr>
140
141<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add a newly created resource to the manager (note weak reference).  <a href="#Ogre_1_1TextureManagerb2"></a><br><br></td></tr>
142<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerb3">removeImpl</a> (<a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;res)</td></tr>
143
144<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove a resource from this manager; remove it from the lists.  <a href="#Ogre_1_1TextureManagerb3"></a><br><br></td></tr>
145<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerb4">checkUsage</a> (void)</td></tr>
146
147<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Checks memory usage and pages out if required.  <a href="#Ogre_1_1TextureManagerb4"></a><br><br></td></tr>
148<tr><td class="memItemLeft" nowrap align=right valign=top>virtual size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerb5">getMemoryUsage</a> (void) const </td></tr>
149
150<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the current memory usage, in bytes.  <a href="#Ogre_1_1TextureManagerb5"></a><br><br></td></tr>
151<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
152<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw1">ResourceHandleMap</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp2">mResourcesByHandle</a></td></tr>
153
154<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw0">ResourceMap</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp3">mResources</a></td></tr>
155
156<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a529">ResourceHandle</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp4">mNextHandle</a></td></tr>
157
158<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp5">mMemoryBudget</a></td></tr>
159
160<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp6">mMemoryUsage</a></td></tr>
161
162<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a580">StringVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp7">mScriptPatterns</a></td></tr>
163
164<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Patterns to use to look for scripts if supported (e.g. *.overlay).  <a href="#Ogre_1_1TextureManagerp7"></a><br><br></td></tr>
165<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp8">mLoadOrder</a></td></tr>
166
167<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loading order relative to other managers, higher is later.  <a href="#Ogre_1_1TextureManagerp8"></a><br><br></td></tr>
168<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a471">String</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp9">mResourceType</a></td></tr>
169
170<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">String identifying the resource type this manager handles.  <a href="#Ogre_1_1TextureManagerp9"></a><br><br></td></tr>
171<tr><td colspan=2><br><h2>Static Protected Attributes</h2></td></tr>
172<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1FontManager.html">FontManager</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletont0">ms_Singleton</a></td></tr>
173
174</table>
175<hr><a name="_details"></a><h2>Detailed Description</h2>
176Manages <a class="el" href="classOgre_1_1Font.html">Font</a> resources, parsing .fontdef files and generally organising them.
177<p>
178
179<p>
180Definition at line <a class="el" href="OgreFontManager_8h-source.html#l00037">37</a> of file <a class="el" href="OgreFontManager_8h-source.html">OgreFontManager.h</a>.<hr><h2>Member Typedef Documentation</h2>
181<a class="anchor" name="Ogre_1_1TextureManagerw1" doxytag="Ogre::FontManager::ResourceHandleMap" ></a><p>
182<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
183  <tr>
184    <td class="mdRow">
185      <table cellpadding="0" cellspacing="0" border="0">
186        <tr>
187          <td class="md" nowrap valign="top"> typedef std::map&lt;<a class="el" href="namespaceOgre.html#a529">ResourceHandle</a>, <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a>&gt; <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw1">Ogre::ResourceManager::ResourceHandleMap</a><code> [inherited]</code>
188      </table>
189    </td>
190  </tr>
191</table>
192<table cellspacing=5 cellpadding=0 border=0>
193  <tr>
194    <td>
195      &nbsp;
196    </td>
197    <td>
198
199<p>
200
201<p>
202Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00387">387</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
203  </tr>
204</table>
205<a class="anchor" name="Ogre_1_1TextureManagerw0" doxytag="Ogre::FontManager::ResourceMap" ></a><p>
206<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
207  <tr>
208    <td class="mdRow">
209      <table cellpadding="0" cellspacing="0" border="0">
210        <tr>
211          <td class="md" nowrap valign="top"> typedef HashMap&lt; <a class="el" href="namespaceOgre.html#a471">String</a>, <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &gt; <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw0">Ogre::ResourceManager::ResourceMap</a><code> [inherited]</code>
212      </table>
213    </td>
214  </tr>
215</table>
216<table cellspacing=5 cellpadding=0 border=0>
217  <tr>
218    <td>
219      &nbsp;
220    </td>
221    <td>
222
223<p>
224
225<p>
226Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00386">386</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
227  </tr>
228</table>
229<a class="anchor" name="Ogre_1_1TextureManagerw2" doxytag="Ogre::FontManager::ResourceMapIterator" ></a><p>
230<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
231  <tr>
232    <td class="mdRow">
233      <table cellpadding="0" cellspacing="0" border="0">
234        <tr>
235          <td class="md" nowrap valign="top"> typedef <a class="el" href="classOgre_1_1MapIterator.html">MapIterator</a>&lt;<a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw1">ResourceHandleMap</a>&gt; <a class="el" href="classOgre_1_1MapIterator.html">Ogre::ResourceManager::ResourceMapIterator</a><code> [inherited]</code>
236      </table>
237    </td>
238  </tr>
239</table>
240<table cellspacing=5 cellpadding=0 border=0>
241  <tr>
242    <td>
243      &nbsp;
244    </td>
245    <td>
246
247<p>
248
249<p>
250Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00405">405</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.
251<p>
252Referenced by <a class="el" href="OgreResourceManager_8h-source.html#l00410">Ogre::ResourceManager::getResourceIterator()</a>.    </td>
253  </tr>
254</table>
255<hr><h2>Constructor &amp; Destructor Documentation</h2>
256<a class="anchor" name="Ogre_1_1FontManagera0" doxytag="Ogre::FontManager::FontManager" ></a><p>
257<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
258  <tr>
259    <td class="mdRow">
260      <table cellpadding="0" cellspacing="0" border="0">
261        <tr>
262          <td class="md" nowrap valign="top"> Ogre::FontManager::FontManager </td>
263          <td class="md" valign="top">(&nbsp;</td>
264          <td class="mdname1" valign="top" nowrap>          </td>
265          <td class="md" valign="top">&nbsp;)&nbsp;</td>
266          <td class="md" nowrap></td>
267        </tr>
268
269      </table>
270    </td>
271  </tr>
272</table>
273<table cellspacing=5 cellpadding=0 border=0>
274  <tr>
275    <td>
276      &nbsp;
277    </td>
278    <td>
279
280<p>
281    </td>
282  </tr>
283</table>
284<a class="anchor" name="Ogre_1_1FontManagera1" doxytag="Ogre::FontManager::~FontManager" ></a><p>
285<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
286  <tr>
287    <td class="mdRow">
288      <table cellpadding="0" cellspacing="0" border="0">
289        <tr>
290          <td class="md" nowrap valign="top"> Ogre::FontManager::~<a class="el" href="classOgre_1_1FontManager.html">FontManager</a> </td>
291          <td class="md" valign="top">(&nbsp;</td>
292          <td class="mdname1" valign="top" nowrap>          </td>
293          <td class="md" valign="top">&nbsp;)&nbsp;</td>
294          <td class="md" nowrap></td>
295        </tr>
296
297      </table>
298    </td>
299  </tr>
300</table>
301<table cellspacing=5 cellpadding=0 border=0>
302  <tr>
303    <td>
304      &nbsp;
305    </td>
306    <td>
307
308<p>
309    </td>
310  </tr>
311</table>
312<hr><h2>Member Function Documentation</h2>
313<a class="anchor" name="Ogre_1_1TextureManagera32" doxytag="Ogre::FontManager::_notifyResourceLoaded" ></a><p>
314<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
315  <tr>
316    <td class="mdRow">
317      <table cellpadding="0" cellspacing="0" border="0">
318        <tr>
319          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::_notifyResourceLoaded </td>
320          <td class="md" valign="top">(&nbsp;</td>
321          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Resource.html">Resource</a> *&nbsp;</td>
322          <td class="mdname1" valign="top" nowrap> <em>res</em>          </td>
323          <td class="md" valign="top">&nbsp;)&nbsp;</td>
324          <td class="md" nowrap><code> [virtual, inherited]</code></td>
325        </tr>
326
327      </table>
328    </td>
329  </tr>
330</table>
331<table cellspacing=5 cellpadding=0 border=0>
332  <tr>
333    <td>
334      &nbsp;
335    </td>
336    <td>
337
338<p>
339Notify this manager that a resource which it manages has been loaded.
340<p>
341    </td>
342  </tr>
343</table>
344<a class="anchor" name="Ogre_1_1TextureManagera31" doxytag="Ogre::FontManager::_notifyResourceTouched" ></a><p>
345<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
346  <tr>
347    <td class="mdRow">
348      <table cellpadding="0" cellspacing="0" border="0">
349        <tr>
350          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::_notifyResourceTouched </td>
351          <td class="md" valign="top">(&nbsp;</td>
352          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Resource.html">Resource</a> *&nbsp;</td>
353          <td class="mdname1" valign="top" nowrap> <em>res</em>          </td>
354          <td class="md" valign="top">&nbsp;)&nbsp;</td>
355          <td class="md" nowrap><code> [virtual, inherited]</code></td>
356        </tr>
357
358      </table>
359    </td>
360  </tr>
361</table>
362<table cellspacing=5 cellpadding=0 border=0>
363  <tr>
364    <td>
365      &nbsp;
366    </td>
367    <td>
368
369<p>
370Notify this manager that a resource which it manages has been 'touched', ie used.
371<p>
372    </td>
373  </tr>
374</table>
375<a class="anchor" name="Ogre_1_1TextureManagera33" doxytag="Ogre::FontManager::_notifyResourceUnloaded" ></a><p>
376<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
377  <tr>
378    <td class="mdRow">
379      <table cellpadding="0" cellspacing="0" border="0">
380        <tr>
381          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::_notifyResourceUnloaded </td>
382          <td class="md" valign="top">(&nbsp;</td>
383          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Resource.html">Resource</a> *&nbsp;</td>
384          <td class="mdname1" valign="top" nowrap> <em>res</em>          </td>
385          <td class="md" valign="top">&nbsp;)&nbsp;</td>
386          <td class="md" nowrap><code> [virtual, inherited]</code></td>
387        </tr>
388
389      </table>
390    </td>
391  </tr>
392</table>
393<table cellspacing=5 cellpadding=0 border=0>
394  <tr>
395    <td>
396      &nbsp;
397    </td>
398    <td>
399
400<p>
401Notify this manager that a resource which it manages has been unloaded.
402<p>
403    </td>
404  </tr>
405</table>
406<a class="anchor" name="Ogre_1_1TextureManagerb2" doxytag="Ogre::FontManager::addImpl" ></a><p>
407<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
408  <tr>
409    <td class="mdRow">
410      <table cellpadding="0" cellspacing="0" border="0">
411        <tr>
412          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::addImpl </td>
413          <td class="md" valign="top">(&nbsp;</td>
414          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;&nbsp;</td>
415          <td class="mdname1" valign="top" nowrap> <em>res</em>          </td>
416          <td class="md" valign="top">&nbsp;)&nbsp;</td>
417          <td class="md" nowrap><code> [protected, virtual, inherited]</code></td>
418        </tr>
419
420      </table>
421    </td>
422  </tr>
423</table>
424<table cellspacing=5 cellpadding=0 border=0>
425  <tr>
426    <td>
427      &nbsp;
428    </td>
429    <td>
430
431<p>
432Add a newly created resource to the manager (note weak reference).
433<p>
434    </td>
435  </tr>
436</table>
437<a class="anchor" name="Ogre_1_1TextureManagerb4" doxytag="Ogre::FontManager::checkUsage" ></a><p>
438<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
439  <tr>
440    <td class="mdRow">
441      <table cellpadding="0" cellspacing="0" border="0">
442        <tr>
443          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::checkUsage </td>
444          <td class="md" valign="top">(&nbsp;</td>
445          <td class="md" nowrap valign="top">void&nbsp;</td>
446          <td class="mdname1" valign="top" nowrap>          </td>
447          <td class="md" valign="top">&nbsp;)&nbsp;</td>
448          <td class="md" nowrap><code> [protected, virtual, inherited]</code></td>
449        </tr>
450
451      </table>
452    </td>
453  </tr>
454</table>
455<table cellspacing=5 cellpadding=0 border=0>
456  <tr>
457    <td>
458      &nbsp;
459    </td>
460    <td>
461
462<p>
463Checks memory usage and pages out if required.
464<p>
465    </td>
466  </tr>
467</table>
468<a class="anchor" name="Ogre_1_1TextureManagera14" doxytag="Ogre::FontManager::create" ></a><p>
469<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
470  <tr>
471    <td class="mdRow">
472      <table cellpadding="0" cellspacing="0" border="0">
473        <tr>
474          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> Ogre::ResourceManager::create </td>
475          <td class="md" valign="top">(&nbsp;</td>
476          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;&nbsp;</td>
477          <td class="mdname" nowrap> <em>name</em>, </td>
478        </tr>
479        <tr>
480          <td class="md" nowrap align="right"></td>
481          <td></td>
482          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;&nbsp;</td>
483          <td class="mdname" nowrap> <em>group</em>, </td>
484        </tr>
485        <tr>
486          <td class="md" nowrap align="right"></td>
487          <td></td>
488          <td class="md" nowrap>bool&nbsp;</td>
489          <td class="mdname" nowrap> <em>isManual</em> = false, </td>
490        </tr>
491        <tr>
492          <td class="md" nowrap align="right"></td>
493          <td></td>
494          <td class="md" nowrap><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *&nbsp;</td>
495          <td class="mdname" nowrap> <em>loader</em> = 0, </td>
496        </tr>
497        <tr>
498          <td class="md" nowrap align="right"></td>
499          <td></td>
500          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a76">NameValuePairList</a> *&nbsp;</td>
501          <td class="mdname" nowrap> <em>createParams</em> = 0</td>
502        </tr>
503        <tr>
504          <td></td>
505          <td class="md">)&nbsp;</td>
506          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
507        </tr>
508
509      </table>
510    </td>
511  </tr>
512</table>
513<table cellspacing=5 cellpadding=0 border=0>
514  <tr>
515    <td>
516      &nbsp;
517    </td>
518    <td>
519
520<p>
521Creates a new blank resource, but does not immediately load it.
522<p>
523<dl compact><dt><b>Remarks:</b></dt><dd><a class="el" href="classOgre_1_1Resource.html">Resource</a> managers handle disparate types of resources, so if you want to get at the detailed interface of this resource, you'll have to cast the result to the subclass you know you're creating. </dd></dl>
524<dl compact><dt><b>Parameters:</b></dt><dd>
525  <table border="0" cellspacing="2" cellpadding="0">
526    <tr><td valign=top><em>name</em>&nbsp;</td><td>The unique name of the resource </td></tr>
527    <tr><td valign=top><em>group</em>&nbsp;</td><td>The name of the resource group to attach this new resource to </td></tr>
528    <tr><td valign=top><em>isManual</em>&nbsp;</td><td>Is this resource manually loaded? If so, you should really populate the loader parameter in order that the load process can call the loader back when loading is required. </td></tr>
529    <tr><td valign=top><em>loader</em>&nbsp;</td><td>Pointer to a ManualLoader implementation which will be called when the <a class="el" href="classOgre_1_1Resource.html">Resource</a> wishes to load (should be supplied if you set isManual to true). You can in fact leave this parameter null if you wish, but the <a class="el" href="classOgre_1_1Resource.html">Resource</a> will never be able to reload if anything ever causes it to unload. Therefore provision of a proper ManualLoader instance is strongly recommended. </td></tr>
530    <tr><td valign=top><em>createParams</em>&nbsp;</td><td>If any parameters are required to create an instance, they should be supplied here as name / value pairs </td></tr>
531  </table>
532</dl>
533    </td>
534  </tr>
535</table>
536<a class="anchor" name="Ogre_1_1FontManagerb0" doxytag="Ogre::FontManager::createImpl" ></a><p>
537<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
538  <tr>
539    <td class="mdRow">
540      <table cellpadding="0" cellspacing="0" border="0">
541        <tr>
542          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Resource.html">Resource</a>* Ogre::FontManager::createImpl </td>
543          <td class="md" valign="top">(&nbsp;</td>
544          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;&nbsp;</td>
545          <td class="mdname" nowrap> <em>name</em>, </td>
546        </tr>
547        <tr>
548          <td class="md" nowrap align="right"></td>
549          <td></td>
550          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a529">ResourceHandle</a>&nbsp;</td>
551          <td class="mdname" nowrap> <em>handle</em>, </td>
552        </tr>
553        <tr>
554          <td class="md" nowrap align="right"></td>
555          <td></td>
556          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;&nbsp;</td>
557          <td class="mdname" nowrap> <em>group</em>, </td>
558        </tr>
559        <tr>
560          <td class="md" nowrap align="right"></td>
561          <td></td>
562          <td class="md" nowrap>bool&nbsp;</td>
563          <td class="mdname" nowrap> <em>isManual</em>, </td>
564        </tr>
565        <tr>
566          <td class="md" nowrap align="right"></td>
567          <td></td>
568          <td class="md" nowrap><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *&nbsp;</td>
569          <td class="mdname" nowrap> <em>loader</em>, </td>
570        </tr>
571        <tr>
572          <td class="md" nowrap align="right"></td>
573          <td></td>
574          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a76">NameValuePairList</a> *&nbsp;</td>
575          <td class="mdname" nowrap> <em>params</em></td>
576        </tr>
577        <tr>
578          <td></td>
579          <td class="md">)&nbsp;</td>
580          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
581        </tr>
582
583      </table>
584    </td>
585  </tr>
586</table>
587<table cellspacing=5 cellpadding=0 border=0>
588  <tr>
589    <td>
590      &nbsp;
591    </td>
592    <td>
593
594<p>
595Internal methods.
596<p>
597
598<p>
599Implements <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerb1">Ogre::ResourceManager</a>.    </td>
600  </tr>
601</table>
602<a class="anchor" name="Ogre_1_1TextureManagera28" doxytag="Ogre::FontManager::getByHandle" ></a><p>
603<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
604  <tr>
605    <td class="mdRow">
606      <table cellpadding="0" cellspacing="0" border="0">
607        <tr>
608          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> Ogre::ResourceManager::getByHandle </td>
609          <td class="md" valign="top">(&nbsp;</td>
610          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a529">ResourceHandle</a>&nbsp;</td>
611          <td class="mdname1" valign="top" nowrap> <em>handle</em>          </td>
612          <td class="md" valign="top">&nbsp;)&nbsp;</td>
613          <td class="md" nowrap><code> [virtual, inherited]</code></td>
614        </tr>
615
616      </table>
617    </td>
618  </tr>
619</table>
620<table cellspacing=5 cellpadding=0 border=0>
621  <tr>
622    <td>
623      &nbsp;
624    </td>
625    <td>
626
627<p>
628Retrieves a pointer to a resource by handle, or null if the resource does not exist.
629<p>
630    </td>
631  </tr>
632</table>
633<a class="anchor" name="Ogre_1_1TextureManagera27" doxytag="Ogre::FontManager::getByName" ></a><p>
634<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
635  <tr>
636    <td class="mdRow">
637      <table cellpadding="0" cellspacing="0" border="0">
638        <tr>
639          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> Ogre::ResourceManager::getByName </td>
640          <td class="md" valign="top">(&nbsp;</td>
641          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;&nbsp;</td>
642          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
643          <td class="md" valign="top">&nbsp;)&nbsp;</td>
644          <td class="md" nowrap><code> [virtual, inherited]</code></td>
645        </tr>
646
647      </table>
648    </td>
649  </tr>
650</table>
651<table cellspacing=5 cellpadding=0 border=0>
652  <tr>
653    <td>
654      &nbsp;
655    </td>
656    <td>
657
658<p>
659Retrieves a pointer to a resource by name, or null if the resource does not exist.
660<p>
661    </td>
662  </tr>
663</table>
664<a class="anchor" name="Ogre_1_1TextureManagera37" doxytag="Ogre::FontManager::getLoadingOrder" ></a><p>
665<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
666  <tr>
667    <td class="mdRow">
668      <table cellpadding="0" cellspacing="0" border="0">
669        <tr>
670          <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a465">Real</a> Ogre::ResourceManager::getLoadingOrder </td>
671          <td class="md" valign="top">(&nbsp;</td>
672          <td class="md" nowrap valign="top">void&nbsp;</td>
673          <td class="mdname1" valign="top" nowrap>          </td>
674          <td class="md" valign="top">&nbsp;)&nbsp;</td>
675          <td class="md" nowrap> const<code> [virtual, inherited]</code></td>
676        </tr>
677
678      </table>
679    </td>
680  </tr>
681</table>
682<table cellspacing=5 cellpadding=0 border=0>
683  <tr>
684    <td>
685      &nbsp;
686    </td>
687    <td>
688
689<p>
690Gets the relative loading order of resources of this type.
691<p>
692<dl compact><dt><b>Remarks:</b></dt><dd>There are dependencies between some kinds of resource in terms of loading order, and this value enumerates that. Higher values load later during bulk loading tasks.</dd></dl>
693
694<p>
695Implements <a class="el" href="classOgre_1_1ScriptLoader.html#Ogre_1_1ScriptLoadera3">Ogre::ScriptLoader</a>.
696<p>
697Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00340">340</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.
698<p>
699References <a class="el" href="OgrePrerequisites_8h-source.html#l00113">Ogre::Real</a>.    </td>
700  </tr>
701</table>
702<a class="anchor" name="Ogre_1_1TextureManagera16" doxytag="Ogre::FontManager::getMemoryBudget" ></a><p>
703<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
704  <tr>
705    <td class="mdRow">
706      <table cellpadding="0" cellspacing="0" border="0">
707        <tr>
708          <td class="md" nowrap valign="top"> virtual size_t Ogre::ResourceManager::getMemoryBudget </td>
709          <td class="md" valign="top">(&nbsp;</td>
710          <td class="md" nowrap valign="top">void&nbsp;</td>
711          <td class="mdname1" valign="top" nowrap>          </td>
712          <td class="md" valign="top">&nbsp;)&nbsp;</td>
713          <td class="md" nowrap> const<code> [virtual, inherited]</code></td>
714        </tr>
715
716      </table>
717    </td>
718  </tr>
719</table>
720<table cellspacing=5 cellpadding=0 border=0>
721  <tr>
722    <td>
723      &nbsp;
724    </td>
725    <td>
726
727<p>
728Get the limit on the amount of memory this resource handler may use.
729<p>
730    </td>
731  </tr>
732</table>
733<a class="anchor" name="Ogre_1_1TextureManagerb5" doxytag="Ogre::FontManager::getMemoryUsage" ></a><p>
734<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
735  <tr>
736    <td class="mdRow">
737      <table cellpadding="0" cellspacing="0" border="0">
738        <tr>
739          <td class="md" nowrap valign="top"> virtual size_t Ogre::ResourceManager::getMemoryUsage </td>
740          <td class="md" valign="top">(&nbsp;</td>
741          <td class="md" nowrap valign="top">void&nbsp;</td>
742          <td class="mdname1" valign="top" nowrap>          </td>
743          <td class="md" valign="top">&nbsp;)&nbsp;</td>
744          <td class="md" nowrap> const<code> [protected, virtual, inherited]</code></td>
745        </tr>
746
747      </table>
748    </td>
749  </tr>
750</table>
751<table cellspacing=5 cellpadding=0 border=0>
752  <tr>
753    <td>
754      &nbsp;
755    </td>
756    <td>
757
758<p>
759Gets the current memory usage, in bytes.
760<p>
761
762<p>
763Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00382">382</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
764  </tr>
765</table>
766<a class="anchor" name="Ogre_1_1TextureManagerb0" doxytag="Ogre::FontManager::getNextHandle" ></a><p>
767<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
768  <tr>
769    <td class="mdRow">
770      <table cellpadding="0" cellspacing="0" border="0">
771        <tr>
772          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> Ogre::ResourceManager::getNextHandle </td>
773          <td class="md" valign="top">(&nbsp;</td>
774          <td class="md" nowrap valign="top">void&nbsp;</td>
775          <td class="mdname1" valign="top" nowrap>          </td>
776          <td class="md" valign="top">&nbsp;)&nbsp;</td>
777          <td class="md" nowrap><code> [protected, inherited]</code></td>
778        </tr>
779
780      </table>
781    </td>
782  </tr>
783</table>
784<table cellspacing=5 cellpadding=0 border=0>
785  <tr>
786    <td>
787      &nbsp;
788    </td>
789    <td>
790
791<p>
792Allocates the next handle.
793<p>
794    </td>
795  </tr>
796</table>
797<a class="anchor" name="Ogre_1_1TextureManagera39" doxytag="Ogre::FontManager::getResourceIterator" ></a><p>
798<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
799  <tr>
800    <td class="mdRow">
801      <table cellpadding="0" cellspacing="0" border="0">
802        <tr>
803          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw2">ResourceMapIterator</a> Ogre::ResourceManager::getResourceIterator </td>
804          <td class="md" valign="top">(&nbsp;</td>
805          <td class="md" nowrap valign="top">void&nbsp;</td>
806          <td class="mdname1" valign="top" nowrap>          </td>
807          <td class="md" valign="top">&nbsp;)&nbsp;</td>
808          <td class="md" nowrap><code> [inherited]</code></td>
809        </tr>
810
811      </table>
812    </td>
813  </tr>
814</table>
815<table cellspacing=5 cellpadding=0 border=0>
816  <tr>
817    <td>
818      &nbsp;
819    </td>
820    <td>
821
822<p>
823Returns an iterator over all resources in this manager.
824<p>
825<dl compact><dt><b>Note:</b></dt><dd>Use of this iterator is NOT thread safe! </dd></dl>
826
827<p>
828Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00410">410</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.
829<p>
830References <a class="el" href="OgreResourceManager_8h-source.html#l00405">Ogre::ResourceManager::ResourceMapIterator</a>.    </td>
831  </tr>
832</table>
833<a class="anchor" name="Ogre_1_1TextureManagera38" doxytag="Ogre::FontManager::getResourceType" ></a><p>
834<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
835  <tr>
836    <td class="mdRow">
837      <table cellpadding="0" cellspacing="0" border="0">
838        <tr>
839          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a471">String</a>&amp; Ogre::ResourceManager::getResourceType </td>
840          <td class="md" valign="top">(&nbsp;</td>
841          <td class="md" nowrap valign="top">void&nbsp;</td>
842          <td class="mdname1" valign="top" nowrap>          </td>
843          <td class="md" valign="top">&nbsp;)&nbsp;</td>
844          <td class="md" nowrap> const<code> [inherited]</code></td>
845        </tr>
846
847      </table>
848    </td>
849  </tr>
850</table>
851<table cellspacing=5 cellpadding=0 border=0>
852  <tr>
853    <td>
854      &nbsp;
855    </td>
856    <td>
857
858<p>
859Gets a string identifying the type of resource this manager handles.
860<p>
861
862<p>
863Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00343">343</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.
864<p>
865References <a class="el" href="OgrePrerequisites_8h-source.html#l00156">Ogre::String</a>.    </td>
866  </tr>
867</table>
868<a class="anchor" name="Ogre_1_1TextureManagera35" doxytag="Ogre::FontManager::getScriptPatterns" ></a><p>
869<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
870  <tr>
871    <td class="mdRow">
872      <table cellpadding="0" cellspacing="0" border="0">
873        <tr>
874          <td class="md" nowrap valign="top"> virtual const <a class="el" href="namespaceOgre.html#a580">StringVector</a>&amp; Ogre::ResourceManager::getScriptPatterns </td>
875          <td class="md" valign="top">(&nbsp;</td>
876          <td class="md" nowrap valign="top">void&nbsp;</td>
877          <td class="mdname1" valign="top" nowrap>          </td>
878          <td class="md" valign="top">&nbsp;)&nbsp;</td>
879          <td class="md" nowrap> const<code> [virtual, inherited]</code></td>
880        </tr>
881
882      </table>
883    </td>
884  </tr>
885</table>
886<table cellspacing=5 cellpadding=0 border=0>
887  <tr>
888    <td>
889      &nbsp;
890    </td>
891    <td>
892
893<p>
894Gets the file patterns which should be used to find scripts for this <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a>.
895<p>
896<dl compact><dt><b>Remarks:</b></dt><dd>Some resource managers can read script files in order to define resources ahead of time. These resources are added to the available list inside the manager, but none are loaded initially. This allows you to load the items that are used on demand, or to load them all as a group if you wish (through <a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a>). </dd></dl>
897<dl compact><dt><b></b></dt><dd>This method lets you determine the file pattern which will be used to identify scripts intended for this manager. </dd></dl>
898<dl compact><dt><b>Returns:</b></dt><dd>A list of file patterns, in the order they should be searched in. </dd></dl>
899<dl compact><dt><b>See also:</b></dt><dd>isScriptingSupported, <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera36">parseScript</a></dd></dl>
900
901<p>
902Implements <a class="el" href="classOgre_1_1ScriptLoader.html#Ogre_1_1ScriptLoadera1">Ogre::ScriptLoader</a>.
903<p>
904Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00317">317</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.
905<p>
906References <a class="el" href="OgreStringVector_8h-source.html#l00036">Ogre::StringVector</a>.    </td>
907  </tr>
908</table>
909<a class="anchor" name="Ogre_1_1FontManagere0" doxytag="Ogre::FontManager::getSingleton" ></a><p>
910<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
911  <tr>
912    <td class="mdRow">
913      <table cellpadding="0" cellspacing="0" border="0">
914        <tr>
915          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1FontManager.html">FontManager</a>&amp; Ogre::FontManager::getSingleton </td>
916          <td class="md" valign="top">(&nbsp;</td>
917          <td class="md" nowrap valign="top">void&nbsp;</td>
918          <td class="mdname1" valign="top" nowrap>          </td>
919          <td class="md" valign="top">&nbsp;)&nbsp;</td>
920          <td class="md" nowrap><code> [static]</code></td>
921        </tr>
922
923      </table>
924    </td>
925  </tr>
926</table>
927<table cellspacing=5 cellpadding=0 border=0>
928  <tr>
929    <td>
930      &nbsp;
931    </td>
932    <td>
933
934<p>
935Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval.
936<p>
937<dl compact><dt><b>Remarks:</b></dt><dd>Why do we do this? Well, it's because the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> implementation is in a .h file, which means it gets compiled into anybody who includes it. This is needed for the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> template to work, but we actually only want it compiled into the implementation of the class based on the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a>, not all of them. If we don't change this, we get link errors when trying to use the Singleton-based class from an outside dll. </dd></dl>
938<dl compact><dt><b></b></dt><dd>This method just delegates to the template version anyway, but the implementation stays in this single compilation unit, preventing link errors. </dd></dl>
939
940<p>
941Reimplemented from <a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletone0">Ogre::Singleton&lt; FontManager &gt;</a>.    </td>
942  </tr>
943</table>
944<a class="anchor" name="Ogre_1_1FontManagere1" doxytag="Ogre::FontManager::getSingletonPtr" ></a><p>
945<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
946  <tr>
947    <td class="mdRow">
948      <table cellpadding="0" cellspacing="0" border="0">
949        <tr>
950          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1FontManager.html">FontManager</a>* Ogre::FontManager::getSingletonPtr </td>
951          <td class="md" valign="top">(&nbsp;</td>
952          <td class="md" nowrap valign="top">void&nbsp;</td>
953          <td class="mdname1" valign="top" nowrap>          </td>
954          <td class="md" valign="top">&nbsp;)&nbsp;</td>
955          <td class="md" nowrap><code> [static]</code></td>
956        </tr>
957
958      </table>
959    </td>
960  </tr>
961</table>
962<table cellspacing=5 cellpadding=0 border=0>
963  <tr>
964    <td>
965      &nbsp;
966    </td>
967    <td>
968
969<p>
970Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval.
971<p>
972<dl compact><dt><b>Remarks:</b></dt><dd>Why do we do this? Well, it's because the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> implementation is in a .h file, which means it gets compiled into anybody who includes it. This is needed for the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> template to work, but we actually only want it compiled into the implementation of the class based on the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a>, not all of them. If we don't change this, we get link errors when trying to use the Singleton-based class from an outside dll. </dd></dl>
973<dl compact><dt><b></b></dt><dd>This method just delegates to the template version anyway, but the implementation stays in this single compilation unit, preventing link errors. </dd></dl>
974
975<p>
976Reimplemented from <a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletone1">Ogre::Singleton&lt; FontManager &gt;</a>.    </td>
977  </tr>
978</table>
979<a class="anchor" name="Ogre_1_1TextureManagera34" doxytag="Ogre::FontManager::load" ></a><p>
980<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
981  <tr>
982    <td class="mdRow">
983      <table cellpadding="0" cellspacing="0" border="0">
984        <tr>
985          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> Ogre::ResourceManager::load </td>
986          <td class="md" valign="top">(&nbsp;</td>
987          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;&nbsp;</td>
988          <td class="mdname" nowrap> <em>name</em>, </td>
989        </tr>
990        <tr>
991          <td class="md" nowrap align="right"></td>
992          <td></td>
993          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;&nbsp;</td>
994          <td class="mdname" nowrap> <em>group</em>, </td>
995        </tr>
996        <tr>
997          <td class="md" nowrap align="right"></td>
998          <td></td>
999          <td class="md" nowrap>bool&nbsp;</td>
1000          <td class="mdname" nowrap> <em>isManual</em> = false, </td>
1001        </tr>
1002        <tr>
1003          <td class="md" nowrap align="right"></td>
1004          <td></td>
1005          <td class="md" nowrap><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *&nbsp;</td>
1006          <td class="mdname" nowrap> <em>loader</em> = 0, </td>
1007        </tr>
1008        <tr>
1009          <td class="md" nowrap align="right"></td>
1010          <td></td>
1011          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a76">NameValuePairList</a> *&nbsp;</td>
1012          <td class="mdname" nowrap> <em>loadParams</em> = 0</td>
1013        </tr>
1014        <tr>
1015          <td></td>
1016          <td class="md">)&nbsp;</td>
1017          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
1018        </tr>
1019
1020      </table>
1021    </td>
1022  </tr>
1023</table>
1024<table cellspacing=5 cellpadding=0 border=0>
1025  <tr>
1026    <td>
1027      &nbsp;
1028    </td>
1029    <td>
1030
1031<p>
1032Generic load method, used to create a <a class="el" href="classOgre_1_1Resource.html">Resource</a> specific to this <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> without using one of the specialised 'load' methods (containing per-Resource-type parameters).
1033<p>
1034<dl compact><dt><b>Parameters:</b></dt><dd>
1035  <table border="0" cellspacing="2" cellpadding="0">
1036    <tr><td valign=top><em>name</em>&nbsp;</td><td>The name of the <a class="el" href="classOgre_1_1Resource.html">Resource</a> </td></tr>
1037    <tr><td valign=top><em>group</em>&nbsp;</td><td>The resource group to which this resource will belong </td></tr>
1038    <tr><td valign=top><em>isManual</em>&nbsp;</td><td>Is the resource to be manually loaded? If so, you should provide a value for the loader parameter </td></tr>
1039    <tr><td valign=top><em>loader</em>&nbsp;</td><td>The manual loader which is to perform the required actions when this resource is loaded; only applicable when you specify true for the previous parameter </td></tr>
1040    <tr><td valign=top><em>loadParams</em>&nbsp;</td><td>Optional pointer to a list of name/value pairs containing loading parameters for this type of resource.</td></tr>
1041  </table>
1042</dl>
1043
1044<p>
1045Reimplemented in <a class="el" href="classOgre_1_1BspResourceManager.html#Ogre_1_1BspResourceManagera2">Ogre::BspResourceManager</a>.    </td>
1046  </tr>
1047</table>
1048<a class="anchor" name="Ogre_1_1FontManagerb2" doxytag="Ogre::FontManager::logBadAttrib" ></a><p>
1049<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1050  <tr>
1051    <td class="mdRow">
1052      <table cellpadding="0" cellspacing="0" border="0">
1053        <tr>
1054          <td class="md" nowrap valign="top"> void Ogre::FontManager::logBadAttrib </td>
1055          <td class="md" valign="top">(&nbsp;</td>
1056          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;&nbsp;</td>
1057          <td class="mdname" nowrap> <em>line</em>, </td>
1058        </tr>
1059        <tr>
1060          <td class="md" nowrap align="right"></td>
1061          <td></td>
1062          <td class="md" nowrap><a class="el" href="classOgre_1_1FontPtr.html">FontPtr</a> &amp;&nbsp;</td>
1063          <td class="mdname" nowrap> <em>pFont</em></td>
1064        </tr>
1065        <tr>
1066          <td></td>
1067          <td class="md">)&nbsp;</td>
1068          <td class="md" colspan="2"><code> [protected]</code></td>
1069        </tr>
1070
1071      </table>
1072    </td>
1073  </tr>
1074</table>
1075<table cellspacing=5 cellpadding=0 border=0>
1076  <tr>
1077    <td>
1078      &nbsp;
1079    </td>
1080    <td>
1081
1082<p>
1083    </td>
1084  </tr>
1085</table>
1086<a class="anchor" name="Ogre_1_1FontManagerb1" doxytag="Ogre::FontManager::parseAttribute" ></a><p>
1087<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1088  <tr>
1089    <td class="mdRow">
1090      <table cellpadding="0" cellspacing="0" border="0">
1091        <tr>
1092          <td class="md" nowrap valign="top"> void Ogre::FontManager::parseAttribute </td>
1093          <td class="md" valign="top">(&nbsp;</td>
1094          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;&nbsp;</td>
1095          <td class="mdname" nowrap> <em>line</em>, </td>
1096        </tr>
1097        <tr>
1098          <td class="md" nowrap align="right"></td>
1099          <td></td>
1100          <td class="md" nowrap><a class="el" href="classOgre_1_1FontPtr.html">FontPtr</a> &amp;&nbsp;</td>
1101          <td class="mdname" nowrap> <em>pFont</em></td>
1102        </tr>
1103        <tr>
1104          <td></td>
1105          <td class="md">)&nbsp;</td>
1106          <td class="md" colspan="2"><code> [protected]</code></td>
1107        </tr>
1108
1109      </table>
1110    </td>
1111  </tr>
1112</table>
1113<table cellspacing=5 cellpadding=0 border=0>
1114  <tr>
1115    <td>
1116      &nbsp;
1117    </td>
1118    <td>
1119
1120<p>
1121    </td>
1122  </tr>
1123</table>
1124<a class="anchor" name="Ogre_1_1FontManagera2" doxytag="Ogre::FontManager::parseScript" ></a><p>
1125<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1126  <tr>
1127    <td class="mdRow">
1128      <table cellpadding="0" cellspacing="0" border="0">
1129        <tr>
1130          <td class="md" nowrap valign="top"> void Ogre::FontManager::parseScript </td>
1131          <td class="md" valign="top">(&nbsp;</td>
1132          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SharedPtr.html">DataStreamPtr</a> &amp;&nbsp;</td>
1133          <td class="mdname" nowrap> <em>stream</em>, </td>
1134        </tr>
1135        <tr>
1136          <td class="md" nowrap align="right"></td>
1137          <td></td>
1138          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;&nbsp;</td>
1139          <td class="mdname" nowrap> <em>groupName</em></td>
1140        </tr>
1141        <tr>
1142          <td></td>
1143          <td class="md">)&nbsp;</td>
1144          <td class="md" colspan="2"><code> [virtual]</code></td>
1145        </tr>
1146
1147      </table>
1148    </td>
1149  </tr>
1150</table>
1151<table cellspacing=5 cellpadding=0 border=0>
1152  <tr>
1153    <td>
1154      &nbsp;
1155    </td>
1156    <td>
1157
1158<p>
1159<dl compact><dt><b>Parameters:</b></dt><dd>
1160  <table border="0" cellspacing="2" cellpadding="0">
1161    <tr><td valign=top><em>stream</em>&nbsp;</td><td>Weak reference to a data stream which is the source of the script </td></tr>
1162    <tr><td valign=top><em>groupName</em>&nbsp;</td><td>The name of a resource group which should be used if any resources are created during the parse of this script. </td></tr>
1163  </table>
1164</dl>
1165 
1166<p>
1167
1168<p>
1169Reimplemented from <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera36">Ogre::ResourceManager</a>.    </td>
1170  </tr>
1171</table>
1172<a class="anchor" name="Ogre_1_1TextureManagera20" doxytag="Ogre::FontManager::reloadAll" ></a><p>
1173<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1174  <tr>
1175    <td class="mdRow">
1176      <table cellpadding="0" cellspacing="0" border="0">
1177        <tr>
1178          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::reloadAll </td>
1179          <td class="md" valign="top">(&nbsp;</td>
1180          <td class="md" nowrap valign="top">bool&nbsp;</td>
1181          <td class="mdname1" valign="top" nowrap> <em>reloadableOnly</em> = true          </td>
1182          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1183          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1184        </tr>
1185
1186      </table>
1187    </td>
1188  </tr>
1189</table>
1190<table cellspacing=5 cellpadding=0 border=0>
1191  <tr>
1192    <td>
1193      &nbsp;
1194    </td>
1195    <td>
1196
1197<p>
1198Caused all currently loaded resources to be reloaded.
1199<p>
1200<dl compact><dt><b>Remarks:</b></dt><dd>All resources currently being held in this manager which are also marked as currently loaded will be unloaded, then loaded again. </dd></dl>
1201<dl compact><dt><b>Parameters:</b></dt><dd>
1202  <table border="0" cellspacing="2" cellpadding="0">
1203    <tr><td valign=top><em>reloadableOnly</em>&nbsp;</td><td>If true (the default), only reload the resource that is reloadable. Because some resources isn't reloadable, they will be unloaded but can't loaded again. Thus, you might not want to them unloaded. Or, you might unload all of them, and then populate them manually later. </td></tr>
1204  </table>
1205</dl>
1206<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea32">Resource::isReloadable</a> for resource is reloadable.</dd></dl>
1207    </td>
1208  </tr>
1209</table>
1210<a class="anchor" name="Ogre_1_1TextureManagera22" doxytag="Ogre::FontManager::reloadUnreferencedResources" ></a><p>
1211<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1212  <tr>
1213    <td class="mdRow">
1214      <table cellpadding="0" cellspacing="0" border="0">
1215        <tr>
1216          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::reloadUnreferencedResources </td>
1217          <td class="md" valign="top">(&nbsp;</td>
1218          <td class="md" nowrap valign="top">bool&nbsp;</td>
1219          <td class="mdname1" valign="top" nowrap> <em>reloadableOnly</em> = true          </td>
1220          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1221          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1222        </tr>
1223
1224      </table>
1225    </td>
1226  </tr>
1227</table>
1228<table cellspacing=5 cellpadding=0 border=0>
1229  <tr>
1230    <td>
1231      &nbsp;
1232    </td>
1233    <td>
1234
1235<p>
1236Caused all currently loaded but not referenced by any other object resources to be reloaded.
1237<p>
1238<dl compact><dt><b>Remarks:</b></dt><dd>This method behaves like reloadAll, except that it only reloads resources which are not in use, ie not referenced by other objects. </dd></dl>
1239<dl compact><dt><b></b></dt><dd>Some referenced resource may exists 'weak' pointer to their sub-components (e.g. <a class="el" href="classOgre_1_1Entity.html">Entity</a> held pointer to <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a>), in this case, unload or reload that resource will cause dangerous pointer access. Use this function instead of reloadAll allows you avoid fail in those situations. </dd></dl>
1240<dl compact><dt><b>Parameters:</b></dt><dd>
1241  <table border="0" cellspacing="2" cellpadding="0">
1242    <tr><td valign=top><em>reloadableOnly</em>&nbsp;</td><td>If true (the default), only reloads resources which can be subsequently automatically reloaded.</td></tr>
1243  </table>
1244</dl>
1245    </td>
1246  </tr>
1247</table>
1248<a class="anchor" name="Ogre_1_1TextureManagera25" doxytag="Ogre::FontManager::remove" ></a><p>
1249<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1250  <tr>
1251    <td class="mdRow">
1252      <table cellpadding="0" cellspacing="0" border="0">
1253        <tr>
1254          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::remove </td>
1255          <td class="md" valign="top">(&nbsp;</td>
1256          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a529">ResourceHandle</a>&nbsp;</td>
1257          <td class="mdname1" valign="top" nowrap> <em>handle</em>          </td>
1258          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1259          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1260        </tr>
1261
1262      </table>
1263    </td>
1264  </tr>
1265</table>
1266<table cellspacing=5 cellpadding=0 border=0>
1267  <tr>
1268    <td>
1269      &nbsp;
1270    </td>
1271    <td>
1272
1273<p>
1274Remove a single resource by handle.
1275<p>
1276<dl compact><dt><b>Remarks:</b></dt><dd>Removes a single resource, meaning it will be removed from the list of valid resources in this manager, also causing it to be unloaded. </dd></dl>
1277<dl compact><dt><b>Note:</b></dt><dd>The word 'Destroy' is not used here, since if any other pointers are referring to this resource, it will persist until they have finished with it; however to all intents and purposes it no longer exists and will likely get destroyed imminently. <p>
1278If you do have shared pointers to resources hanging around after the <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> is destroyed, you may get problems on destruction of these resources if they were relying on the manager (especially if it is a plugin). If you find you get problems on shutdown in the destruction of resources, try making sure you release all your shared pointers before you shutdown OGRE.</dd></dl>
1279    </td>
1280  </tr>
1281</table>
1282<a class="anchor" name="Ogre_1_1TextureManagera24" doxytag="Ogre::FontManager::remove" ></a><p>
1283<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1284  <tr>
1285    <td class="mdRow">
1286      <table cellpadding="0" cellspacing="0" border="0">
1287        <tr>
1288          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::remove </td>
1289          <td class="md" valign="top">(&nbsp;</td>
1290          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;&nbsp;</td>
1291          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
1292          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1293          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1294        </tr>
1295
1296      </table>
1297    </td>
1298  </tr>
1299</table>
1300<table cellspacing=5 cellpadding=0 border=0>
1301  <tr>
1302    <td>
1303      &nbsp;
1304    </td>
1305    <td>
1306
1307<p>
1308Remove a single resource by name.
1309<p>
1310<dl compact><dt><b>Remarks:</b></dt><dd>Removes a single resource, meaning it will be removed from the list of valid resources in this manager, also causing it to be unloaded. </dd></dl>
1311<dl compact><dt><b>Note:</b></dt><dd>The word 'Destroy' is not used here, since if any other pointers are referring to this resource, it will persist until they have finished with it; however to all intents and purposes it no longer exists and will likely get destroyed imminently. <p>
1312If you do have shared pointers to resources hanging around after the <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> is destroyed, you may get problems on destruction of these resources if they were relying on the manager (especially if it is a plugin). If you find you get problems on shutdown in the destruction of resources, try making sure you release all your shared pointers before you shutdown OGRE.</dd></dl>
1313    </td>
1314  </tr>
1315</table>
1316<a class="anchor" name="Ogre_1_1TextureManagera23" doxytag="Ogre::FontManager::remove" ></a><p>
1317<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1318  <tr>
1319    <td class="mdRow">
1320      <table cellpadding="0" cellspacing="0" border="0">
1321        <tr>
1322          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::remove </td>
1323          <td class="md" valign="top">(&nbsp;</td>
1324          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;&nbsp;</td>
1325          <td class="mdname1" valign="top" nowrap> <em>r</em>          </td>
1326          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1327          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1328        </tr>
1329
1330      </table>
1331    </td>
1332  </tr>
1333</table>
1334<table cellspacing=5 cellpadding=0 border=0>
1335  <tr>
1336    <td>
1337      &nbsp;
1338    </td>
1339    <td>
1340
1341<p>
1342Remove a single resource.
1343<p>
1344<dl compact><dt><b>Remarks:</b></dt><dd>Removes a single resource, meaning it will be removed from the list of valid resources in this manager, also causing it to be unloaded. </dd></dl>
1345<dl compact><dt><b>Note:</b></dt><dd>The word 'Destroy' is not used here, since if any other pointers are referring to this resource, it will persist until they have finished with it; however to all intents and purposes it no longer exists and will likely get destroyed imminently. <p>
1346If you do have shared pointers to resources hanging around after the <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> is destroyed, you may get problems on destruction of these resources if they were relying on the manager (especially if it is a plugin). If you find you get problems on shutdown in the destruction of resources, try making sure you release all your shared pointers before you shutdown OGRE.</dd></dl>
1347    </td>
1348  </tr>
1349</table>
1350<a class="anchor" name="Ogre_1_1TextureManagera26" doxytag="Ogre::FontManager::removeAll" ></a><p>
1351<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1352  <tr>
1353    <td class="mdRow">
1354      <table cellpadding="0" cellspacing="0" border="0">
1355        <tr>
1356          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::removeAll </td>
1357          <td class="md" valign="top">(&nbsp;</td>
1358          <td class="md" nowrap valign="top">void&nbsp;</td>
1359          <td class="mdname1" valign="top" nowrap>          </td>
1360          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1361          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1362        </tr>
1363
1364      </table>
1365    </td>
1366  </tr>
1367</table>
1368<table cellspacing=5 cellpadding=0 border=0>
1369  <tr>
1370    <td>
1371      &nbsp;
1372    </td>
1373    <td>
1374
1375<p>
1376Removes all resources.
1377<p>
1378<dl compact><dt><b>Note:</b></dt><dd>The word 'Destroy' is not used here, since if any other pointers are referring to these resources, they will persist until they have been finished with; however to all intents and purposes the resources no longer exist and will get destroyed imminently. <p>
1379If you do have shared pointers to resources hanging around after the <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> is destroyed, you may get problems on destruction of these resources if they were relying on the manager (especially if it is a plugin). If you find you get problems on shutdown in the destruction of resources, try making sure you release all your shared pointers before you shutdown OGRE. </dd></dl>
1380
1381<p>
1382Reimplemented in <a class="el" href="classOgre_1_1CompositorManager.html#Ogre_1_1CompositorManagera12">Ogre::CompositorManager</a>.    </td>
1383  </tr>
1384</table>
1385<a class="anchor" name="Ogre_1_1TextureManagerb3" doxytag="Ogre::FontManager::removeImpl" ></a><p>
1386<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1387  <tr>
1388    <td class="mdRow">
1389      <table cellpadding="0" cellspacing="0" border="0">
1390        <tr>
1391          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::removeImpl </td>
1392          <td class="md" valign="top">(&nbsp;</td>
1393          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;&nbsp;</td>
1394          <td class="mdname1" valign="top" nowrap> <em>res</em>          </td>
1395          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1396          <td class="md" nowrap><code> [protected, virtual, inherited]</code></td>
1397        </tr>
1398
1399      </table>
1400    </td>
1401  </tr>
1402</table>
1403<table cellspacing=5 cellpadding=0 border=0>
1404  <tr>
1405    <td>
1406      &nbsp;
1407    </td>
1408    <td>
1409
1410<p>
1411Remove a resource from this manager; remove it from the lists.
1412<p>
1413    </td>
1414  </tr>
1415</table>
1416<a class="anchor" name="Ogre_1_1TextureManagera30" doxytag="Ogre::FontManager::resourceExists" ></a><p>
1417<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1418  <tr>
1419    <td class="mdRow">
1420      <table cellpadding="0" cellspacing="0" border="0">
1421        <tr>
1422          <td class="md" nowrap valign="top"> virtual bool Ogre::ResourceManager::resourceExists </td>
1423          <td class="md" valign="top">(&nbsp;</td>
1424          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a529">ResourceHandle</a>&nbsp;</td>
1425          <td class="mdname1" valign="top" nowrap> <em>handle</em>          </td>
1426          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1427          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1428        </tr>
1429
1430      </table>
1431    </td>
1432  </tr>
1433</table>
1434<table cellspacing=5 cellpadding=0 border=0>
1435  <tr>
1436    <td>
1437      &nbsp;
1438    </td>
1439    <td>
1440
1441<p>
1442Returns whether a resource with the given handle exists in this manager.
1443<p>
1444
1445<p>
1446Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00265">265</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.
1447<p>
1448References <a class="el" href="OgreSharedPtr_8h-source.html#l00114">Ogre::SharedPtr&lt; T &gt;::isNull()</a>, and <a class="el" href="OgreResource_8h-source.html#l00035">Ogre::ResourceHandle</a>.    </td>
1449  </tr>
1450</table>
1451<a class="anchor" name="Ogre_1_1TextureManagera29" doxytag="Ogre::FontManager::resourceExists" ></a><p>
1452<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1453  <tr>
1454    <td class="mdRow">
1455      <table cellpadding="0" cellspacing="0" border="0">
1456        <tr>
1457          <td class="md" nowrap valign="top"> virtual bool Ogre::ResourceManager::resourceExists </td>
1458          <td class="md" valign="top">(&nbsp;</td>
1459          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;&nbsp;</td>
1460          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
1461          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1462          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1463        </tr>
1464
1465      </table>
1466    </td>
1467  </tr>
1468</table>
1469<table cellspacing=5 cellpadding=0 border=0>
1470  <tr>
1471    <td>
1472      &nbsp;
1473    </td>
1474    <td>
1475
1476<p>
1477Returns whether the named resource exists in this manager.
1478<p>
1479
1480<p>
1481Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00260">260</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.
1482<p>
1483References <a class="el" href="OgreSharedPtr_8h-source.html#l00114">Ogre::SharedPtr&lt; T &gt;::isNull()</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00156">Ogre::String</a>.    </td>
1484  </tr>
1485</table>
1486<a class="anchor" name="Ogre_1_1TextureManagera15" doxytag="Ogre::FontManager::setMemoryBudget" ></a><p>
1487<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1488  <tr>
1489    <td class="mdRow">
1490      <table cellpadding="0" cellspacing="0" border="0">
1491        <tr>
1492          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::setMemoryBudget </td>
1493          <td class="md" valign="top">(&nbsp;</td>
1494          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1495          <td class="mdname1" valign="top" nowrap> <em>bytes</em>          </td>
1496          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1497          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1498        </tr>
1499
1500      </table>
1501    </td>
1502  </tr>
1503</table>
1504<table cellspacing=5 cellpadding=0 border=0>
1505  <tr>
1506    <td>
1507      &nbsp;
1508    </td>
1509    <td>
1510
1511<p>
1512Set a limit on the amount of memory this resource handler may use.
1513<p>
1514<dl compact><dt><b>Remarks:</b></dt><dd>If, when asked to load a new resource, the manager believes it will exceed this memory budget, it will temporarily unload a resource to make room for the new one. This unloading is not permanent and the <a class="el" href="classOgre_1_1Resource.html">Resource</a> is not destroyed; it simply needs to be reloaded when next used. </dd></dl>
1515    </td>
1516  </tr>
1517</table>
1518<a class="anchor" name="Ogre_1_1TextureManagera18" doxytag="Ogre::FontManager::unload" ></a><p>
1519<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1520  <tr>
1521    <td class="mdRow">
1522      <table cellpadding="0" cellspacing="0" border="0">
1523        <tr>
1524          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::unload </td>
1525          <td class="md" valign="top">(&nbsp;</td>
1526          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a529">ResourceHandle</a>&nbsp;</td>
1527          <td class="mdname1" valign="top" nowrap> <em>handle</em>          </td>
1528          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1529          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1530        </tr>
1531
1532      </table>
1533    </td>
1534  </tr>
1535</table>
1536<table cellspacing=5 cellpadding=0 border=0>
1537  <tr>
1538    <td>
1539      &nbsp;
1540    </td>
1541    <td>
1542
1543<p>
1544Unloads a single resource by handle.
1545<p>
1546<dl compact><dt><b>Remarks:</b></dt><dd>Unloaded resources are not removed, they simply free up their memory as much as they can and wait to be reloaded. </dd></dl>
1547<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a> for unloading of resource groups.</dd></dl>
1548    </td>
1549  </tr>
1550</table>
1551<a class="anchor" name="Ogre_1_1TextureManagera17" doxytag="Ogre::FontManager::unload" ></a><p>
1552<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1553  <tr>
1554    <td class="mdRow">
1555      <table cellpadding="0" cellspacing="0" border="0">
1556        <tr>
1557          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::unload </td>
1558          <td class="md" valign="top">(&nbsp;</td>
1559          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;&nbsp;</td>
1560          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
1561          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1562          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1563        </tr>
1564
1565      </table>
1566    </td>
1567  </tr>
1568</table>
1569<table cellspacing=5 cellpadding=0 border=0>
1570  <tr>
1571    <td>
1572      &nbsp;
1573    </td>
1574    <td>
1575
1576<p>
1577Unloads a single resource by name.
1578<p>
1579<dl compact><dt><b>Remarks:</b></dt><dd>Unloaded resources are not removed, they simply free up their memory as much as they can and wait to be reloaded. </dd></dl>
1580<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a> for unloading of resource groups.</dd></dl>
1581    </td>
1582  </tr>
1583</table>
1584<a class="anchor" name="Ogre_1_1TextureManagera19" doxytag="Ogre::FontManager::unloadAll" ></a><p>
1585<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1586  <tr>
1587    <td class="mdRow">
1588      <table cellpadding="0" cellspacing="0" border="0">
1589        <tr>
1590          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::unloadAll </td>
1591          <td class="md" valign="top">(&nbsp;</td>
1592          <td class="md" nowrap valign="top">bool&nbsp;</td>
1593          <td class="mdname1" valign="top" nowrap> <em>reloadableOnly</em> = true          </td>
1594          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1595          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1596        </tr>
1597
1598      </table>
1599    </td>
1600  </tr>
1601</table>
1602<table cellspacing=5 cellpadding=0 border=0>
1603  <tr>
1604    <td>
1605      &nbsp;
1606    </td>
1607    <td>
1608
1609<p>
1610Unloads all resources.
1611<p>
1612<dl compact><dt><b>Remarks:</b></dt><dd>Unloaded resources are not removed, they simply free up their memory as much as they can and wait to be reloaded. </dd></dl>
1613<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a> for unloading of resource groups. </dd></dl>
1614<dl compact><dt><b>Parameters:</b></dt><dd>
1615  <table border="0" cellspacing="2" cellpadding="0">
1616    <tr><td valign=top><em>reloadableOnly</em>&nbsp;</td><td>If true (the default), only unload the resource that is reloadable. Because some resources isn't reloadable, they will be unloaded but can't load them later. Thus, you might not want to them unloaded. Or, you might unload all of them, and then populate them manually later. </td></tr>
1617  </table>
1618</dl>
1619<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea32">Resource::isReloadable</a> for resource is reloadable.</dd></dl>
1620    </td>
1621  </tr>
1622</table>
1623<a class="anchor" name="Ogre_1_1TextureManagera21" doxytag="Ogre::FontManager::unloadUnreferencedResources" ></a><p>
1624<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1625  <tr>
1626    <td class="mdRow">
1627      <table cellpadding="0" cellspacing="0" border="0">
1628        <tr>
1629          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::unloadUnreferencedResources </td>
1630          <td class="md" valign="top">(&nbsp;</td>
1631          <td class="md" nowrap valign="top">bool&nbsp;</td>
1632          <td class="mdname1" valign="top" nowrap> <em>reloadableOnly</em> = true          </td>
1633          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1634          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1635        </tr>
1636
1637      </table>
1638    </td>
1639  </tr>
1640</table>
1641<table cellspacing=5 cellpadding=0 border=0>
1642  <tr>
1643    <td>
1644      &nbsp;
1645    </td>
1646    <td>
1647
1648<p>
1649Unload all resources which are not referenced by any other object.
1650<p>
1651<dl compact><dt><b>Remarks:</b></dt><dd>This method behaves like unloadAll, except that it only unloads resources which are not in use, ie not referenced by other objects. This allows you to free up some memory selectively whilst still keeping the group around (and the resources present, just not using much memory). </dd></dl>
1652<dl compact><dt><b></b></dt><dd>Some referenced resource may exists 'weak' pointer to their sub-components (e.g. <a class="el" href="classOgre_1_1Entity.html">Entity</a> held pointer to <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a>), in this case, unload or reload that resource will cause dangerous pointer access. Use this function instead of unloadAll allows you avoid fail in those situations. </dd></dl>
1653<dl compact><dt><b>Parameters:</b></dt><dd>
1654  <table border="0" cellspacing="2" cellpadding="0">
1655    <tr><td valign=top><em>reloadableOnly</em>&nbsp;</td><td>If true (the default), only unloads resources which can be subsequently automatically reloaded.</td></tr>
1656  </table>
1657</dl>
1658    </td>
1659  </tr>
1660</table>
1661<hr><h2>Member Data Documentation</h2>
1662<a class="anchor" name="Ogre_1_1TextureManagerp8" doxytag="Ogre::FontManager::mLoadOrder" ></a><p>
1663<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1664  <tr>
1665    <td class="mdRow">
1666      <table cellpadding="0" cellspacing="0" border="0">
1667        <tr>
1668          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp8">Ogre::ResourceManager::mLoadOrder</a><code> [protected, inherited]</code>
1669      </table>
1670    </td>
1671  </tr>
1672</table>
1673<table cellspacing=5 cellpadding=0 border=0>
1674  <tr>
1675    <td>
1676      &nbsp;
1677    </td>
1678    <td>
1679
1680<p>
1681Loading order relative to other managers, higher is later.
1682<p>
1683
1684<p>
1685Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00400">400</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
1686  </tr>
1687</table>
1688<a class="anchor" name="Ogre_1_1TextureManagerp5" doxytag="Ogre::FontManager::mMemoryBudget" ></a><p>
1689<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1690  <tr>
1691    <td class="mdRow">
1692      <table cellpadding="0" cellspacing="0" border="0">
1693        <tr>
1694          <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp5">Ogre::ResourceManager::mMemoryBudget</a><code> [protected, inherited]</code>
1695      </table>
1696    </td>
1697  </tr>
1698</table>
1699<table cellspacing=5 cellpadding=0 border=0>
1700  <tr>
1701    <td>
1702      &nbsp;
1703    </td>
1704    <td>
1705
1706<p>
1707
1708<p>
1709Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00392">392</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
1710  </tr>
1711</table>
1712<a class="anchor" name="Ogre_1_1TextureManagerp6" doxytag="Ogre::FontManager::mMemoryUsage" ></a><p>
1713<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1714  <tr>
1715    <td class="mdRow">
1716      <table cellpadding="0" cellspacing="0" border="0">
1717        <tr>
1718          <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp6">Ogre::ResourceManager::mMemoryUsage</a><code> [protected, inherited]</code>
1719      </table>
1720    </td>
1721  </tr>
1722</table>
1723<table cellspacing=5 cellpadding=0 border=0>
1724  <tr>
1725    <td>
1726      &nbsp;
1727    </td>
1728    <td>
1729
1730<p>
1731
1732<p>
1733Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00393">393</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
1734  </tr>
1735</table>
1736<a class="anchor" name="Ogre_1_1TextureManagerp4" doxytag="Ogre::FontManager::mNextHandle" ></a><p>
1737<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1738  <tr>
1739    <td class="mdRow">
1740      <table cellpadding="0" cellspacing="0" border="0">
1741        <tr>
1742          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp4">Ogre::ResourceManager::mNextHandle</a><code> [protected, inherited]</code>
1743      </table>
1744    </td>
1745  </tr>
1746</table>
1747<table cellspacing=5 cellpadding=0 border=0>
1748  <tr>
1749    <td>
1750      &nbsp;
1751    </td>
1752    <td>
1753
1754<p>
1755
1756<p>
1757Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00391">391</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
1758  </tr>
1759</table>
1760<a class="anchor" name="Ogre_1_1TextureManagerp3" doxytag="Ogre::FontManager::mResources" ></a><p>
1761<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1762  <tr>
1763    <td class="mdRow">
1764      <table cellpadding="0" cellspacing="0" border="0">
1765        <tr>
1766          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw0">ResourceMap</a> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp3">Ogre::ResourceManager::mResources</a><code> [protected, inherited]</code>
1767      </table>
1768    </td>
1769  </tr>
1770</table>
1771<table cellspacing=5 cellpadding=0 border=0>
1772  <tr>
1773    <td>
1774      &nbsp;
1775    </td>
1776    <td>
1777
1778<p>
1779
1780<p>
1781Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00390">390</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
1782  </tr>
1783</table>
1784<a class="anchor" name="Ogre_1_1TextureManagerp2" doxytag="Ogre::FontManager::mResourcesByHandle" ></a><p>
1785<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1786  <tr>
1787    <td class="mdRow">
1788      <table cellpadding="0" cellspacing="0" border="0">
1789        <tr>
1790          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw1">ResourceHandleMap</a> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp2">Ogre::ResourceManager::mResourcesByHandle</a><code> [protected, inherited]</code>
1791      </table>
1792    </td>
1793  </tr>
1794</table>
1795<table cellspacing=5 cellpadding=0 border=0>
1796  <tr>
1797    <td>
1798      &nbsp;
1799    </td>
1800    <td>
1801
1802<p>
1803
1804<p>
1805Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00389">389</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
1806  </tr>
1807</table>
1808<a class="anchor" name="Ogre_1_1TextureManagerp9" doxytag="Ogre::FontManager::mResourceType" ></a><p>
1809<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1810  <tr>
1811    <td class="mdRow">
1812      <table cellpadding="0" cellspacing="0" border="0">
1813        <tr>
1814          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a471">String</a> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp9">Ogre::ResourceManager::mResourceType</a><code> [protected, inherited]</code>
1815      </table>
1816    </td>
1817  </tr>
1818</table>
1819<table cellspacing=5 cellpadding=0 border=0>
1820  <tr>
1821    <td>
1822      &nbsp;
1823    </td>
1824    <td>
1825
1826<p>
1827String identifying the resource type this manager handles.
1828<p>
1829
1830<p>
1831Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00402">402</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
1832  </tr>
1833</table>
1834<a class="anchor" name="Ogre_1_1Singletont0" doxytag="Ogre::FontManager::ms_Singleton" ></a><p>
1835<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1836  <tr>
1837    <td class="mdRow">
1838      <table cellpadding="0" cellspacing="0" border="0">
1839        <tr>
1840          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1FontManager.html">FontManager</a> * <a class="el" href="classOgre_1_1Singleton.html">Ogre::Singleton</a>&lt; <a class="el" href="classOgre_1_1FontManager.html">FontManager</a>  &gt;::<a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletont0">ms_Singleton</a><code> [static, protected, inherited]</code>
1841      </table>
1842    </td>
1843  </tr>
1844</table>
1845<table cellspacing=5 cellpadding=0 border=0>
1846  <tr>
1847    <td>
1848      &nbsp;
1849    </td>
1850    <td>
1851
1852<p>
1853
1854<p>
1855Definition at line <a class="el" href="OgreSingleton_8h-source.html#l00054">54</a> of file <a class="el" href="OgreSingleton_8h-source.html">OgreSingleton.h</a>.    </td>
1856  </tr>
1857</table>
1858<a class="anchor" name="Ogre_1_1TextureManagerp7" doxytag="Ogre::FontManager::mScriptPatterns" ></a><p>
1859<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1860  <tr>
1861    <td class="mdRow">
1862      <table cellpadding="0" cellspacing="0" border="0">
1863        <tr>
1864          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a580">StringVector</a> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp7">Ogre::ResourceManager::mScriptPatterns</a><code> [protected, inherited]</code>
1865      </table>
1866    </td>
1867  </tr>
1868</table>
1869<table cellspacing=5 cellpadding=0 border=0>
1870  <tr>
1871    <td>
1872      &nbsp;
1873    </td>
1874    <td>
1875
1876<p>
1877Patterns to use to look for scripts if supported (e.g. *.overlay).
1878<p>
1879
1880<p>
1881Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00398">398</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
1882  </tr>
1883</table>
1884<hr>The documentation for this class was generated from the following file:<ul>
1885<li><a class="el" href="OgreFontManager_8h-source.html">OgreFontManager.h</a></ul>
1886<hr>
1887<p>
1888Copyright &copy; 2000-2005 by The OGRE Team<br />
1889<!--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/>
1890This 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/>
1891                <!--/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#">
1892                <Work rdf:about="">
1893                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
1894        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
1895                </Work>
1896                <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> -->
1897
1898Last modified Sun Mar 12 14:38:56 2006
1899</p>
1900</body>
1901</html>
Note: See TracBrowser for help on using the repository browser.