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

Revision 692, 96.8 KB checked in by mattausch, 19 years ago (diff)

adding ogre 1.2 and dependencies

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