Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > media > contrib > by-pkgid > 04e5d8c10ae76748689b4e7f48e0fa33 > files > 2809

libogre5-devel-1.0.0-1mdk.i586.rpm

<html>
<head>
<title>Ogre::ResourceGroupManager class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<link type="text/css" rel="stylesheet" href="style.css">
</head>

<body>
<!-- Generated by Doxygen 1.3.6 -->
<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>
<h1>Ogre::ResourceGroupManager Class Reference</h1>This singleton class manages the list of resource groups, and notifying the various resource managers of their obligations to load / unload resources in a group.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="OgreResourceGroupManager_8h-source.html">OgreResourceGroupManager.h</a>&gt;</code>
<p>
Inheritance diagram for Ogre::ResourceGroupManager:<p><center><img src="classOgre_1_1ResourceGroupManager__inherit__graph.png" border="0" usemap="#Ogre_1_1ResourceGroupManager__inherit__map" alt="Inheritance graph"></center>
<map name="Ogre_1_1ResourceGroupManager__inherit__map">
<area href="classOgre_1_1Singleton.html" shape="rect" coords="7,17,276,36" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1ResourceGroupManager-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::list&lt; <a class="el" href="structOgre_1_1ResourceGroupManager_1_1ResourceDeclaration.html">ResourceDeclaration</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerw0">ResourceDeclarationList</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">List of resource declarations.  <a href="#Ogre_1_1ResourceGroupManagerw0"></a><br><br></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera0">ResourceGroupManager</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera1">~ResourceGroupManager</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera2">createResourceGroup</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a resource group.  <a href="#Ogre_1_1ResourceGroupManagera2"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera3">initialiseResourceGroup</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Initialises a resource group.  <a href="#Ogre_1_1ResourceGroupManagera3"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera4">initialiseAllResourceGroups</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Initialise all resource groups which are yet to be initialised.  <a href="#Ogre_1_1ResourceGroupManagera4"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera5">loadResourceGroup</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name, bool loadMainResources=true, bool loadWorldGeom=true)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads a resource group.  <a href="#Ogre_1_1ResourceGroupManagera5"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera6">unloadResourceGroup</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unloads a resource group.  <a href="#Ogre_1_1ResourceGroupManagera6"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera7">clearResourceGroup</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clears a resource group.  <a href="#Ogre_1_1ResourceGroupManagera7"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera8">destroyResourceGroup</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destroys a resource group, clearing it first, destroying the resources which are part of it, and then removing it from the list of resource groups.  <a href="#Ogre_1_1ResourceGroupManagera8"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera9">addResourceLocation</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;locType, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;resGroup=<a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagers0">DEFAULT_RESOURCE_GROUP_NAME</a>, bool recursive=false)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Method to add a resource location to for a given resource group.  <a href="#Ogre_1_1ResourceGroupManagera9"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera10">removeResourceLocation</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;resGroup=<a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagers0">DEFAULT_RESOURCE_GROUP_NAME</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes a resource location from the search path.  <a href="#Ogre_1_1ResourceGroupManagera10"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera11">declareResource</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;resourceType, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;groupName=<a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagers0">DEFAULT_RESOURCE_GROUP_NAME</a>, const <a class="el" href="namespaceOgre.html#a62">NameValuePairList</a> &amp;loadParameters=<a class="el" href="namespaceOgre.html#a62">NameValuePairList</a>())</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Declares a resource to be a part of a resource group, allowing you to load and unload it as part of the group.  <a href="#Ogre_1_1ResourceGroupManagera11"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera12">undeclareResource</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;groupName)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Undeclare a resource.  <a href="#Ogre_1_1ResourceGroupManagera12"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SharedPtr.html">DataStreamPtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera13">openResource</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;resourceName, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;groupName=<a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagers0">DEFAULT_RESOURCE_GROUP_NAME</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Open a single resource by name and return a <a class="el" href="classOgre_1_1DataStream.html">DataStream</a> pointing at the source of the data.  <a href="#Ogre_1_1ResourceGroupManagera13"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SharedPtr.html">DataStreamListPtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera14">openResources</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;pattern, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;groupName=<a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagers0">DEFAULT_RESOURCE_GROUP_NAME</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Open all resources matching a given pattern (which can contain the character '*' as a wildcard), and return a collection of <a class="el" href="classOgre_1_1DataStream.html">DataStream</a> objects on them.  <a href="#Ogre_1_1ResourceGroupManagera14"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SharedPtr.html">StringVectorPtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera15">listResourceNames</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;groupName)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">List all file names in a resource group.  <a href="#Ogre_1_1ResourceGroupManagera15"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SharedPtr.html">FileInfoListPtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera16">listResourceFileInfo</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;groupName)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">List all files in a resource group with accompanying information.  <a href="#Ogre_1_1ResourceGroupManagera16"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SharedPtr.html">StringVectorPtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera17">findResourceNames</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;groupName, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;pattern)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Find all file names matching a given pattern in a resource group.  <a href="#Ogre_1_1ResourceGroupManagera17"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera18">resourceExists</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;group, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;filename)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Find out if the named file exists in a group.  <a href="#Ogre_1_1ResourceGroupManagera18"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SharedPtr.html">FileInfoListPtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera19">findResourceFileInfo</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;group, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;pattern)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Find all files matching a given pattern in a group and get some detailed information about them.  <a href="#Ogre_1_1ResourceGroupManagera19"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera20">addResourceGroupListener</a> (<a class="el" href="classOgre_1_1ResourceGroupListener.html">ResourceGroupListener</a> *l)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds a <a class="el" href="classOgre_1_1ResourceGroupListener.html">ResourceGroupListener</a> which will be called back during resource loading events.  <a href="#Ogre_1_1ResourceGroupManagera20"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera21">removeResourceGroupListener</a> (<a class="el" href="classOgre_1_1ResourceGroupListener.html">ResourceGroupListener</a> *l)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes a <a class="el" href="classOgre_1_1ResourceGroupListener.html">ResourceGroupListener</a>.  <a href="#Ogre_1_1ResourceGroupManagera21"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera22">setWorldResourceGroupName</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;groupName)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the resource group that 'world' resources will use.  <a href="#Ogre_1_1ResourceGroupManagera22"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera23">getWorldResourceGroupName</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the resource group that 'world' resources will use.  <a href="#Ogre_1_1ResourceGroupManagera23"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera24">linkWorldGeometryToResourceGroup</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;group, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;worldGeometry, <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a> *sceneManager)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Associates some world geometry with a resource group, causing it to be loaded / unloaded with the resource group.  <a href="#Ogre_1_1ResourceGroupManagera24"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera25">unlinkWorldGeometryFromResourceGroup</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;group)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clear any link to world geometry from a resource group.  <a href="#Ogre_1_1ResourceGroupManagera25"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera26">shutdownAll</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Shutdown all ResourceManagers, performed as part of clean-up.  <a href="#Ogre_1_1ResourceGroupManagera26"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera27">_registerResourceManager</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;resourceType, <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> *rm)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal method for registering a <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> (which should be a singleton).  <a href="#Ogre_1_1ResourceGroupManagera27"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera28">_unregisterResourceManager</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;resourceType)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal method for unregistering a <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a>.  <a href="#Ogre_1_1ResourceGroupManagera28"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera29">_registerScriptLoader</a> (<a class="el" href="classOgre_1_1ScriptLoader.html">ScriptLoader</a> *su)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal method for registering a <a class="el" href="classOgre_1_1ScriptLoader.html">ScriptLoader</a>.  <a href="#Ogre_1_1ResourceGroupManagera29"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera30">_unregisterScriptLoader</a> (<a class="el" href="classOgre_1_1ScriptLoader.html">ScriptLoader</a> *su)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal method for unregistering a <a class="el" href="classOgre_1_1ScriptLoader.html">ScriptLoader</a>.  <a href="#Ogre_1_1ResourceGroupManagera30"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera31">_getResourceManager</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;resourceType)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal method for getting a registered <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a>.  <a href="#Ogre_1_1ResourceGroupManagera31"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera32">_notifyResourceCreated</a> (<a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;res)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal method called by <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> when a resource is created.  <a href="#Ogre_1_1ResourceGroupManagera32"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera33">_notifyResourceRemoved</a> (<a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;res)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal method called by <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> when a resource is removed.  <a href="#Ogre_1_1ResourceGroupManagera33"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera34">_notifyAllResourcesRemoved</a> (<a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> *manager)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal method called by <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> when all resources for that manager are removed.  <a href="#Ogre_1_1ResourceGroupManagera34"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera35">_notifyWorldGeometryStageStarted</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;description)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Notify this manager that one stage of world geometry loading has been started.  <a href="#Ogre_1_1ResourceGroupManagera35"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera36">_notifyWorldGeometryStageEnded</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Notify this manager that one stage of world geometry loading has been completed.  <a href="#Ogre_1_1ResourceGroupManagera36"></a><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagere0">getSingleton</a> (void)</td></tr>

<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_1ResourceGroupManagere0"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagere1">getSingletonPtr</a> (void)</td></tr>

<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_1ResourceGroupManagere1"></a><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>OGRE_AUTO_MUTEX <a class="el" href="namespaceOgre.html#a426">String</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagers0">DEFAULT_RESOURCE_GROUP_NAME</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default resource group name.  <a href="#Ogre_1_1ResourceGroupManagers0"></a><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; <a class="el" href="namespaceOgre.html#a426">String</a>,<br>
 <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx0">ResourceManagerMap</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Map of resource types (strings) to ResourceManagers, used to notify them to load / unload group contents.  <a href="#Ogre_1_1ResourceGroupManagerx0"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::multimap&lt; <a class="el" href="namespaceOgre.html#a420">Real</a>,<br>
 <a class="el" href="classOgre_1_1ScriptLoader.html">ScriptLoader</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx1">ScriptLoaderOrderMap</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Map of loading order (Real) to <a class="el" href="classOgre_1_1ScriptLoader.html">ScriptLoader</a>, used to order script parsing.  <a href="#Ogre_1_1ResourceGroupManagerx1"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector&lt; <a class="el" href="classOgre_1_1ResourceGroupListener.html">ResourceGroupListener</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx2">ResourceGroupListenerList</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; <a class="el" href="namespaceOgre.html#a426">String</a>,<br>
 <a class="el" href="classOgre_1_1Archive.html">Archive</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx3">ResourceLocationIndex</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classOgre_1_1Resource.html">Resource</a> index entry, resourcename-&gt;location.  <a href="#Ogre_1_1ResourceGroupManagerx3"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::list&lt; <a class="el" href="structOgre_1_1ResourceGroupManager_1_1ResourceLocation.html">ResourceLocation</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx4">LocationList</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">List of possible file locations.  <a href="#Ogre_1_1ResourceGroupManagerx4"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::list&lt; <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx5">LoadUnloadResourceList</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">List of resources which can be loaded / unloaded.  <a href="#Ogre_1_1ResourceGroupManagerx5"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; <a class="el" href="namespaceOgre.html#a426">String</a>,<br>
 <a class="el" href="structOgre_1_1ResourceGroupManager_1_1ResourceGroup.html">ResourceGroup</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx6">ResourceGroupMap</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Map from resource group names to groups.  <a href="#Ogre_1_1ResourceGroupManagerx6"></a><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerb0">parseResourceGroupScripts</a> (<a class="el" href="structOgre_1_1ResourceGroupManager_1_1ResourceGroup.html">ResourceGroup</a> *grp)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parses all the available scripts found in the resource locations for the given group, for all ResourceManagers.  <a href="#Ogre_1_1ResourceGroupManagerb0"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerb1">createDeclaredResources</a> (<a class="el" href="structOgre_1_1ResourceGroupManager_1_1ResourceGroup.html">ResourceGroup</a> *grp)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create all the pre-declared resources.  <a href="#Ogre_1_1ResourceGroupManagerb1"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerb2">addCreatedResource</a> (<a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;res, <a class="el" href="structOgre_1_1ResourceGroupManager_1_1ResourceGroup.html">ResourceGroup</a> &amp;group)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds a created resource to a group.  <a href="#Ogre_1_1ResourceGroupManagerb2"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structOgre_1_1ResourceGroupManager_1_1ResourceGroup.html">ResourceGroup</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerb3">getResourceGroup</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get resource group.  <a href="#Ogre_1_1ResourceGroupManagerb3"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerb4">dropGroupContents</a> (<a class="el" href="structOgre_1_1ResourceGroupManager_1_1ResourceGroup.html">ResourceGroup</a> *grp)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Drops contents of a group, leave group there, notify ResourceManagers.  <a href="#Ogre_1_1ResourceGroupManagerb4"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerb5">deleteGroup</a> (<a class="el" href="structOgre_1_1ResourceGroupManager_1_1ResourceGroup.html">ResourceGroup</a> *grp)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Delete a group for shutdown - don't notify ResourceManagers.  <a href="#Ogre_1_1ResourceGroupManagerb5"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerb6">fireResourceGroupScriptingStarted</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;groupName, size_t scriptCount)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal event firing method.  <a href="#Ogre_1_1ResourceGroupManagerb6"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerb7">fireScriptStarted</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;scriptName)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal event firing method.  <a href="#Ogre_1_1ResourceGroupManagerb7"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerb8">fireScriptEnded</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal event firing method.  <a href="#Ogre_1_1ResourceGroupManagerb8"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerb9">fireResourceGroupScriptingEnded</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;groupName)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal event firing method.  <a href="#Ogre_1_1ResourceGroupManagerb9"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerb10">fireResourceGroupLoadStarted</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;groupName, size_t resourceCount)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal event firing method.  <a href="#Ogre_1_1ResourceGroupManagerb10"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerb11">fireResourceStarted</a> (const <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;resource)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal event firing method.  <a href="#Ogre_1_1ResourceGroupManagerb11"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerb12">fireResourceEnded</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal event firing method.  <a href="#Ogre_1_1ResourceGroupManagerb12"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerb13">fireResourceGroupLoadEnded</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;groupName)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal event firing method.  <a href="#Ogre_1_1ResourceGroupManagerb13"></a><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx0">ResourceManagerMap</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerp0">mResourceManagerMap</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx1">ScriptLoaderOrderMap</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerp1">mScriptLoaderOrderMap</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx2">ResourceGroupListenerList</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerp2">mResourceGroupListenerList</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx6">ResourceGroupMap</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerp3">mResourceGroupMap</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a426">String</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerp4">mWorldGroupName</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Group name for world resources.  <a href="#Ogre_1_1ResourceGroupManagerp4"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structOgre_1_1ResourceGroupManager_1_1ResourceGroup.html">ResourceGroup</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerp5">mCurrentGroup</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Stored current group - optimisation for when bulk loading a group.  <a href="#Ogre_1_1ResourceGroupManagerp5"></a><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletont0">ms_Singleton</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This singleton class manages the list of resource groups, and notifying the various resource managers of their obligations to load / unload resources in a group. 
<p>
It also provides facilities to monitor resource loading per group (to do progress bars etc), provided the resources that are required are pre-registered. <dl compact><dt><b></b></dt><dd>Defining new resource groups, and declaring the resources you intend to use in advance is optional, however it is a very useful feature. In addition, if a <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> supports the definition of resources through scripts, then this is the class which drives the locating of the scripts and telling the <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> to parse them. </dd></dl>
<dl compact><dt><b></b></dt><dd>There are several states that a resource can be in (the concept, not the object instance in this case): <ol>
<li>
<b>Undefined</b>. Nobody knows about this resource yet. It might be in the filesystem, but <a class="el" href="namespaceOgre.html">Ogre</a> is oblivious to it at the moment - there is no <a class="el" href="classOgre_1_1Resource.html">Resource</a> instance. This might be because it's never been declared (either in a script, or using <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera11">ResourceGroupManager::declareResource</a>), or it may have previously been a valid <a class="el" href="classOgre_1_1Resource.html">Resource</a> instance but has been removed, either individually through <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera17">ResourceManager::remove</a> or as a group through <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera7">ResourceGroupManager::clearResourceGroup</a>. </li>
<li>
<b>Declared</b>. <a class="el" href="namespaceOgre.html">Ogre</a> has some forewarning of this resource, either through calling <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera11">ResourceGroupManager::declareResource</a>, or by declaring the resource in a script file which is on one of the resource locations which has been defined for a group. There is still no instance of <a class="el" href="classOgre_1_1Resource.html">Resource</a>, but <a class="el" href="namespaceOgre.html">Ogre</a> will know to create this resource when <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera3">ResourceGroupManager::initialiseResourceGroup</a> is called (which is automatic if you declare the resource group before <a class="el" href="classOgre_1_1Root.html#Ogre_1_1Roota10">Root::initialise</a>). </li>
<li>
<b>Unloaded</b>. There is now a <a class="el" href="classOgre_1_1Resource.html">Resource</a> instance for this resource, although it is not loaded. This means that code which looks for this named resource will find it, but the <a class="el" href="classOgre_1_1Resource.html">Resource</a> is not using a lot of memory because it is in an unloaded state. A <a class="el" href="classOgre_1_1Resource.html">Resource</a> can get into this state by having just been created by <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera3">ResourceGroupManager::initialiseResourceGroup</a> (either from a script, or from a call to declareResource), by being created directly from code (<a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera10">ResourceManager::create</a>), or it may have previously been loaded and has been unloaded, either individually through <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea28">Resource::unload</a>, or as a group through <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera6">ResourceGroupManager::unloadResourceGroup</a>. </li>
<li>
<b>Loaded</b>The <a class="el" href="classOgre_1_1Resource.html">Resource</a> instance is fully loaded. This may have happened implicitly because something used it, or it may have been loaded as part of a group. </li>
</ol>
</dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera11">ResourceGroupManager::declareResource</a> <p>
<a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera3">ResourceGroupManager::initialiseResourceGroup</a> <p>
<a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera5">ResourceGroupManager::loadResourceGroup</a> <p>
<a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera6">ResourceGroupManager::unloadResourceGroup</a> <p>
<a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera7">ResourceGroupManager::clearResourceGroup</a> </dd></dl>

<p>

<p>
Definition at line <a class="el" href="OgreResourceGroupManager_8h-source.html#l00159">159</a> of file <a class="el" href="OgreResourceGroupManager_8h-source.html">OgreResourceGroupManager.h</a>.<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerx5" doxytag="Ogre::ResourceGroupManager::LoadUnloadResourceList" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef std::list&lt;<a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a>&gt; <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx5">Ogre::ResourceGroupManager::LoadUnloadResourceList</a><code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
List of resources which can be loaded / unloaded. 
<p>

<p>
Definition at line <a class="el" href="OgreResourceGroupManager_8h-source.html#l00200">200</a> of file <a class="el" href="OgreResourceGroupManager_8h-source.html">OgreResourceGroupManager.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerx4" doxytag="Ogre::ResourceGroupManager::LocationList" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef std::list&lt;<a class="el" href="structOgre_1_1ResourceGroupManager_1_1ResourceLocation.html">ResourceLocation</a>*&gt; <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx4">Ogre::ResourceGroupManager::LocationList</a><code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
List of possible file locations. 
<p>

<p>
Definition at line <a class="el" href="OgreResourceGroupManager_8h-source.html#l00198">198</a> of file <a class="el" href="OgreResourceGroupManager_8h-source.html">OgreResourceGroupManager.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerw0" doxytag="Ogre::ResourceGroupManager::ResourceDeclarationList" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef std::list&lt;<a class="el" href="structOgre_1_1ResourceGroupManager_1_1ResourceDeclaration.html">ResourceDeclaration</a>&gt; <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerw0">Ogre::ResourceGroupManager::ResourceDeclarationList</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
List of resource declarations. 
<p>

<p>
Definition at line <a class="el" href="OgreResourceGroupManager_8h-source.html#l00173">173</a> of file <a class="el" href="OgreResourceGroupManager_8h-source.html">OgreResourceGroupManager.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerx2" doxytag="Ogre::ResourceGroupManager::ResourceGroupListenerList" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef std::vector&lt;<a class="el" href="classOgre_1_1ResourceGroupListener.html">ResourceGroupListener</a>*&gt; <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx2">Ogre::ResourceGroupManager::ResourceGroupListenerList</a><code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreResourceGroupManager_8h-source.html#l00183">183</a> of file <a class="el" href="OgreResourceGroupManager_8h-source.html">OgreResourceGroupManager.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerx6" doxytag="Ogre::ResourceGroupManager::ResourceGroupMap" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef std::map&lt;<a class="el" href="namespaceOgre.html#a426">String</a>, <a class="el" href="structOgre_1_1ResourceGroupManager_1_1ResourceGroup.html">ResourceGroup</a>*&gt; <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx6">Ogre::ResourceGroupManager::ResourceGroupMap</a><code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Map from resource group names to groups. 
<p>

<p>
Definition at line <a class="el" href="OgreResourceGroupManager_8h-source.html#l00228">228</a> of file <a class="el" href="OgreResourceGroupManager_8h-source.html">OgreResourceGroupManager.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerx3" doxytag="Ogre::ResourceGroupManager::ResourceLocationIndex" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef std::map&lt;<a class="el" href="namespaceOgre.html#a426">String</a>, <a class="el" href="classOgre_1_1Archive.html">Archive</a>*&gt; <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx3">Ogre::ResourceGroupManager::ResourceLocationIndex</a><code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<a class="el" href="classOgre_1_1Resource.html">Resource</a> index entry, resourcename-&gt;location. 
<p>

<p>
Definition at line <a class="el" href="OgreResourceGroupManager_8h-source.html#l00187">187</a> of file <a class="el" href="OgreResourceGroupManager_8h-source.html">OgreResourceGroupManager.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerx0" doxytag="Ogre::ResourceGroupManager::ResourceManagerMap" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef std::map&lt;<a class="el" href="namespaceOgre.html#a426">String</a>, <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a>*&gt; <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx0">Ogre::ResourceGroupManager::ResourceManagerMap</a><code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Map of resource types (strings) to ResourceManagers, used to notify them to load / unload group contents. 
<p>

<p>
Definition at line <a class="el" href="OgreResourceGroupManager_8h-source.html#l00176">176</a> of file <a class="el" href="OgreResourceGroupManager_8h-source.html">OgreResourceGroupManager.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerx1" doxytag="Ogre::ResourceGroupManager::ScriptLoaderOrderMap" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef std::multimap&lt;<a class="el" href="namespaceOgre.html#a420">Real</a>, <a class="el" href="classOgre_1_1ScriptLoader.html">ScriptLoader</a>*&gt; <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx1">Ogre::ResourceGroupManager::ScriptLoaderOrderMap</a><code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Map of loading order (Real) to <a class="el" href="classOgre_1_1ScriptLoader.html">ScriptLoader</a>, used to order script parsing. 
<p>

<p>
Definition at line <a class="el" href="OgreResourceGroupManager_8h-source.html#l00180">180</a> of file <a class="el" href="OgreResourceGroupManager_8h-source.html">OgreResourceGroupManager.h</a>.    </td>
  </tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera0" doxytag="Ogre::ResourceGroupManager::ResourceGroupManager" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Ogre::ResourceGroupManager::ResourceGroupManager </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera1" doxytag="Ogre::ResourceGroupManager::~ResourceGroupManager" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual Ogre::ResourceGroupManager::~<a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a> </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera31" doxytag="Ogre::ResourceGroupManager::_getResourceManager" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a>* Ogre::ResourceGroupManager::_getResourceManager </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>resourceType</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Internal method for getting a registered <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a>. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>resourceType</em>&nbsp;</td><td>String identifying the resource type.</td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera34" doxytag="Ogre::ResourceGroupManager::_notifyAllResourcesRemoved" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::_notifyAllResourcesRemoved </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>manager</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Internal method called by <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> when all resources for that manager are removed. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>manager</em>&nbsp;</td><td>Pointer to the manager for which all resources are being removed</td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera32" doxytag="Ogre::ResourceGroupManager::_notifyResourceCreated" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::_notifyResourceCreated </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>res</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Internal method called by <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> when a resource is created. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>res</em>&nbsp;</td><td>Weak reference to resource</td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera33" doxytag="Ogre::ResourceGroupManager::_notifyResourceRemoved" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::_notifyResourceRemoved </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>res</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Internal method called by <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> when a resource is removed. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>res</em>&nbsp;</td><td>Weak reference to resource</td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera36" doxytag="Ogre::ResourceGroupManager::_notifyWorldGeometryStageEnded" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::_notifyWorldGeometryStageEnded </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Notify this manager that one stage of world geometry loading has been completed. 
<p>
<dl compact><dt><b>Remarks:</b></dt><dd>Custom SceneManagers which load custom world geometry should call this method the number of times equal to the value they return from <a class="el" href="classOgre_1_1SceneManager.html#Ogre_1_1TerrainSceneManagera91">SceneManager::estimateWorldGeometry</a> while loading their geometry. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera35" doxytag="Ogre::ResourceGroupManager::_notifyWorldGeometryStageStarted" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::_notifyWorldGeometryStageStarted </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>description</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Notify this manager that one stage of world geometry loading has been started. 
<p>
<dl compact><dt><b>Remarks:</b></dt><dd>Custom SceneManagers which load custom world geometry should call this method the number of times equal to the value they return from <a class="el" href="classOgre_1_1SceneManager.html#Ogre_1_1TerrainSceneManagera91">SceneManager::estimateWorldGeometry</a> while loading their geometry. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera27" doxytag="Ogre::ResourceGroupManager::_registerResourceManager" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::_registerResourceManager </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>resourceType</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>rm</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Internal method for registering a <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> (which should be a singleton). 
<p>
Creators of plugins can register new ResourceManagers this way if they wish. <dl compact><dt><b>Remarks:</b></dt><dd>ResourceManagers that wish to parse scripts must also call _registerScriptLoader. </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>resourceType</em>&nbsp;</td><td>String identifying the resource type, must be unique. </td></tr>
    <tr><td valign=top><em>rm</em>&nbsp;</td><td>Pointer to the <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> instance. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera29" doxytag="Ogre::ResourceGroupManager::_registerScriptLoader" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::_registerScriptLoader </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1ScriptLoader.html">ScriptLoader</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>su</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Internal method for registering a <a class="el" href="classOgre_1_1ScriptLoader.html">ScriptLoader</a>. 
<p>
<dl compact><dt><b>Remarks:</b></dt><dd>ScriptLoaders parse scripts when resource groups are initialised. </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>su</em>&nbsp;</td><td>Pointer to the <a class="el" href="classOgre_1_1ScriptLoader.html">ScriptLoader</a> instance. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera28" doxytag="Ogre::ResourceGroupManager::_unregisterResourceManager" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::_unregisterResourceManager </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>resourceType</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Internal method for unregistering a <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a>. 
<p>
<dl compact><dt><b>Remarks:</b></dt><dd>ResourceManagers that wish to parse scripts must also call _unregisterScriptLoader. </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>resourceType</em>&nbsp;</td><td>String identifying the resource type. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera30" doxytag="Ogre::ResourceGroupManager::_unregisterScriptLoader" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::_unregisterScriptLoader </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1ScriptLoader.html">ScriptLoader</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>su</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Internal method for unregistering a <a class="el" href="classOgre_1_1ScriptLoader.html">ScriptLoader</a>. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>su</em>&nbsp;</td><td>Pointer to the <a class="el" href="classOgre_1_1ScriptLoader.html">ScriptLoader</a> instance. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerb2" doxytag="Ogre::ResourceGroupManager::addCreatedResource" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::addCreatedResource </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>res</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="structOgre_1_1ResourceGroupManager_1_1ResourceGroup.html">ResourceGroup</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>group</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Adds a created resource to a group. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera20" doxytag="Ogre::ResourceGroupManager::addResourceGroupListener" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::addResourceGroupListener </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1ResourceGroupListener.html">ResourceGroupListener</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>l</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Adds a <a class="el" href="classOgre_1_1ResourceGroupListener.html">ResourceGroupListener</a> which will be called back during resource loading events. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera9" doxytag="Ogre::ResourceGroupManager::addResourceLocation" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::addResourceLocation </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>locType</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>resGroup</em> = <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagers0">DEFAULT_RESOURCE_GROUP_NAME</a>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>recursive</em> = false</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Method to add a resource location to for a given resource group. 
<p>
<dl compact><dt><b>Remarks:</b></dt><dd><a class="el" href="classOgre_1_1Resource.html">Resource</a> locations are places which are searched to load resource files. When you choose to load a file, or to search for valid files to load, the resource locations are used. </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>name</em>&nbsp;</td><td>The name of the resource location; probably a directory, zip file, URL etc. </td></tr>
    <tr><td valign=top><em>locType</em>&nbsp;</td><td>The codename for the resource type, which must correspond to the <a class="el" href="classOgre_1_1Archive.html">Archive</a> factory which is providing the implementation. </td></tr>
    <tr><td valign=top><em>resGroup</em>&nbsp;</td><td>The name of the resource group for which this location is to apply. <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagers0">ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME</a> is the default group which always exists, and can be used for resources which are unlikely to be unloaded until application shutdown. Otherwise it must be the name of a group; if it has not already been created with createResourceGroup then it is created automatically. </td></tr>
    <tr><td valign=top><em>recursive</em>&nbsp;</td><td>Whether subdirectories will be searched for files when using a pattern match (such as *.material), and whether subdirectories will be indexed. This can slow down initial loading of the archive and searches. When opening a resource you still need to use the fully qualified name, this allows duplicate names in alternate paths. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera7" doxytag="Ogre::ResourceGroupManager::clearResourceGroup" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::clearResourceGroup </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Clears a resource group. 
<p>
<dl compact><dt><b>Remarks:</b></dt><dd>This method unloads all resources in the group, but in addition it removes all those resources from their ResourceManagers, and then clears all the members from the list. That means after calling this method, there are no resources declared as part of the named group any more. <a class="el" href="classOgre_1_1Resource.html">Resource</a> locations still persist though. </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>name</em>&nbsp;</td><td>The name to of the resource group to clear.</td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerb1" doxytag="Ogre::ResourceGroupManager::createDeclaredResources" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::createDeclaredResources </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structOgre_1_1ResourceGroupManager_1_1ResourceGroup.html">ResourceGroup</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>grp</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Create all the pre-declared resources. 
<p>
<dl compact><dt><b>Remarks:</b></dt><dd>Called as part of initialiseResourceGroup</dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera2" doxytag="Ogre::ResourceGroupManager::createResourceGroup" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::createResourceGroup </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Create a resource group. 
<p>
<dl compact><dt><b>Remarks:</b></dt><dd>A resource group allows you to define a set of resources that can be loaded / unloaded as a unit. For example, it might be all the resources used for the level of a game. There is always one predefined resource group called <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagers0">ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME</a>, which is typically used to hold all resources which do not need to be unloaded until shutdown. You can create additional ones so that you can control the life of your resources in whichever way you wish. </dd></dl>
<dl compact><dt><b></b></dt><dd>Once you have defined a resource group, resources which will be loaded as part of it are defined in one of 3 ways: <ol>
<li>
Manually through <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera11">declareResource()</a>; this is useful for scripted declarations since it is entirely generalised, and does not create <a class="el" href="classOgre_1_1Resource.html">Resource</a> instances right away </li>
<li>
Through the use of scripts; some <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> subtypes have script formats (e.g. .material, .overlay) which can be used to declare resources </li>
<li>
By calling <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera10">ResourceManager::create</a> to create a resource manually. This resource will go on the list for it's group and will be loaded and unloaded with that group </li>
</ol>
You must remember to call initialiseResourceGroup if you intend to use the first 2 types. </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>name</em>&nbsp;</td><td>The name to give the resource group. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera11" doxytag="Ogre::ResourceGroupManager::declareResource" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::declareResource </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>resourceType</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>groupName</em> = <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagers0">DEFAULT_RESOURCE_GROUP_NAME</a>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a62">NameValuePairList</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>loadParameters</em> = <a class="el" href="namespaceOgre.html#a62">NameValuePairList</a>()</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Declares a resource to be a part of a resource group, allowing you to load and unload it as part of the group. 
<p>
<dl compact><dt><b>Remarks:</b></dt><dd>By declaring resources before you attempt to use them, you can more easily control the loading and unloading of those resources by their group. Declaring them also allows them to be enumerated, which means events can be raised to indicate the loading progress (</dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classOgre_1_1ResourceGroupListener.html">ResourceGroupListener</a>). Note that another way of declaring resources is to use a script specific to the resource type, if available (e.g. .material). </dd></dl>
<dl compact><dt><b></b></dt><dd>Declared resources are not created as <a class="el" href="classOgre_1_1Resource.html">Resource</a> instances (and thus are not available through their <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a>) until initialiseResourceGroup is called, at which point all declared resources will become created (but unloaded) <a class="el" href="classOgre_1_1Resource.html">Resource</a> instances, along with any resources declared in scripts in resource locations associated with the group. </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>name</em>&nbsp;</td><td>The resource name. </td></tr>
    <tr><td valign=top><em>resourceType</em>&nbsp;</td><td>The type of the resource. <a class="el" href="namespaceOgre.html">Ogre</a> comes preconfigured with a number of resource types: <ul>
<li>
<a class="el" href="classOgre_1_1Font.html">Font</a> </li>
<li>
<a class="el" href="classOgre_1_1Material.html">Material</a> </li>
<li>
<a class="el" href="classOgre_1_1Mesh.html">Mesh</a> </li>
<li>
<a class="el" href="classOgre_1_1Overlay.html">Overlay</a> </li>
<li>
<a class="el" href="classOgre_1_1Skeleton.html">Skeleton</a> </li>
</ul>
.. but more can be added by plugin <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> classes. </td></tr>
    <tr><td valign=top><em>groupName</em>&nbsp;</td><td>The name of the group to which it will belong. </td></tr>
    <tr><td valign=top><em>loadParameters</em>&nbsp;</td><td>A list of name / value pairs which supply custom parameters to the resource which will be required before it can be loaded. These are specific to the resource type. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerb5" doxytag="Ogre::ResourceGroupManager::deleteGroup" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::deleteGroup </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structOgre_1_1ResourceGroupManager_1_1ResourceGroup.html">ResourceGroup</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>grp</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Delete a group for shutdown - don't notify ResourceManagers. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera8" doxytag="Ogre::ResourceGroupManager::destroyResourceGroup" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::destroyResourceGroup </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Destroys a resource group, clearing it first, destroying the resources which are part of it, and then removing it from the list of resource groups. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>name</em>&nbsp;</td><td>The name of the resource group to destroy. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerb4" doxytag="Ogre::ResourceGroupManager::dropGroupContents" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::dropGroupContents </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structOgre_1_1ResourceGroupManager_1_1ResourceGroup.html">ResourceGroup</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>grp</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Drops contents of a group, leave group there, notify ResourceManagers. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera19" doxytag="Ogre::ResourceGroupManager::findResourceFileInfo" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SharedPtr.html">FileInfoListPtr</a> Ogre::ResourceGroupManager::findResourceFileInfo </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>group</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>pattern</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Find all files matching a given pattern in a group and get some detailed information about them. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>group</em>&nbsp;</td><td>The name of the resource group </td></tr>
    <tr><td valign=top><em>pattern</em>&nbsp;</td><td>The pattern to search for; wildcards (*) are allowed </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A list of file information structures for all files matching the criteria. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera17" doxytag="Ogre::ResourceGroupManager::findResourceNames" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SharedPtr.html">StringVectorPtr</a> Ogre::ResourceGroupManager::findResourceNames </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>groupName</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>pattern</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Find all file names matching a given pattern in a resource group. 
<p>
<dl compact><dt><b>Note:</b></dt><dd>This method only returns filenames, you can also retrieve other information using findFileInfo. </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>groupName</em>&nbsp;</td><td>The name of the group </td></tr>
    <tr><td valign=top><em>pattern</em>&nbsp;</td><td>The pattern to search for; wildcards (*) are allowed </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A list of filenames matching the criteria, all are fully qualified </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerb12" doxytag="Ogre::ResourceGroupManager::fireResourceEnded" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::fireResourceEnded </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Internal event firing method. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerb13" doxytag="Ogre::ResourceGroupManager::fireResourceGroupLoadEnded" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::fireResourceGroupLoadEnded </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>groupName</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Internal event firing method. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerb10" doxytag="Ogre::ResourceGroupManager::fireResourceGroupLoadStarted" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::fireResourceGroupLoadStarted </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>groupName</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>size_t&nbsp;</td>
          <td class="mdname" nowrap> <em>resourceCount</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Internal event firing method. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerb9" doxytag="Ogre::ResourceGroupManager::fireResourceGroupScriptingEnded" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::fireResourceGroupScriptingEnded </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>groupName</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Internal event firing method. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerb6" doxytag="Ogre::ResourceGroupManager::fireResourceGroupScriptingStarted" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::fireResourceGroupScriptingStarted </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>groupName</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>size_t&nbsp;</td>
          <td class="mdname" nowrap> <em>scriptCount</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Internal event firing method. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerb11" doxytag="Ogre::ResourceGroupManager::fireResourceStarted" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::fireResourceStarted </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>resource</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Internal event firing method. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerb8" doxytag="Ogre::ResourceGroupManager::fireScriptEnded" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::fireScriptEnded </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Internal event firing method. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerb7" doxytag="Ogre::ResourceGroupManager::fireScriptStarted" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::fireScriptStarted </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>scriptName</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Internal event firing method. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerb3" doxytag="Ogre::ResourceGroupManager::getResourceGroup" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="structOgre_1_1ResourceGroupManager_1_1ResourceGroup.html">ResourceGroup</a>* Ogre::ResourceGroupManager::getResourceGroup </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get resource group. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagere0" doxytag="Ogre::ResourceGroupManager::getSingleton" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a>&amp; Ogre::ResourceGroupManager::getSingleton </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [static]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval. 
<p>
<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>
<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>

<p>
Reimplemented from <a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletone0">Ogre::Singleton&lt; ResourceGroupManager &gt;</a>.    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagere1" doxytag="Ogre::ResourceGroupManager::getSingletonPtr" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a>* Ogre::ResourceGroupManager::getSingletonPtr </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [static]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval. 
<p>
<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>
<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>

<p>
Reimplemented from <a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletone1">Ogre::Singleton&lt; ResourceGroupManager &gt;</a>.    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera23" doxytag="Ogre::ResourceGroupManager::getWorldResourceGroupName" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a426">String</a>&amp; Ogre::ResourceGroupManager::getWorldResourceGroupName </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the resource group that 'world' resources will use. 
<p>

<p>
Definition at line <a class="el" href="OgreResourceGroupManager_8h-source.html#l00565">565</a> of file <a class="el" href="OgreResourceGroupManager_8h-source.html">OgreResourceGroupManager.h</a>.
<p>
References <a class="el" href="OgrePrerequisites_8h-source.html#l00154">Ogre::String</a>.    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera4" doxytag="Ogre::ResourceGroupManager::initialiseAllResourceGroups" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::initialiseAllResourceGroups </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Initialise all resource groups which are yet to be initialised. 
<p>
<dl compact><dt><b>See also:</b></dt><dd>ResourceGroupManager::intialiseResourceGroup</dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera3" doxytag="Ogre::ResourceGroupManager::initialiseResourceGroup" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::initialiseResourceGroup </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Initialises a resource group. 
<p>
<dl compact><dt><b>Remarks:</b></dt><dd>After creating a resource group, adding some resource locations, and perhaps pre-declaring some resources using <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera11">declareResource()</a>, but before you need to use the resources in the group, you should call this method to initialise the group. By calling this, you are triggering the following processes: <ol>
<li>
Scripts for all resource types which support scripting are parsed from the resource locations, and resources within them are created (but not loaded yet). </li>
<li>
Creates all the resources which have just pre-declared using declareResource (again, these are not loaded yet) </li>
</ol>
So what this essentially does is create a bunch of unloaded <a class="el" href="classOgre_1_1Resource.html">Resource</a> entries in the respective ResourceManagers based on scripts, and resources you've pre-declared. That means that code looking for these resources will find them, but they won't be taking up much memory yet, until they are either used, or they are loaded in bulk using loadResourceGroup. Loading the resource group in bulk is entirely optional, but has the advantage of coming with progress reporting as resources are loaded. </dd></dl>
<dl compact><dt><b></b></dt><dd>Failure to call this method means that loadResourceGroup will do nothing, and any resources you define in scripts will not be found. Similarly, once you have called this method you won't be able to pick up any new scripts or pre-declared resources, unless you call clearResourceGroup, set up declared resources, and call this method again. </dd></dl>
<dl compact><dt><b>Note:</b></dt><dd>When you call <a class="el" href="classOgre_1_1Root.html#Ogre_1_1Roota10">Root::initialise</a>, all resource groups that have already been created are automatically initialised too. Therefore you do not need to call this method for groups you define and set up before you call <a class="el" href="classOgre_1_1Root.html#Ogre_1_1Roota10">Root::initialise</a>. However, since one of the most useful features of resource groups is to set them up after the main system initialisation has occurred (e.g. a group per game level), you must remember to call this method for the groups you create after this.</dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>name</em>&nbsp;</td><td>The name of the resource group to initialise</td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera24" doxytag="Ogre::ResourceGroupManager::linkWorldGeometryToResourceGroup" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::linkWorldGeometryToResourceGroup </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>group</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>worldGeometry</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>sceneManager</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Associates some world geometry with a resource group, causing it to be loaded / unloaded with the resource group. 
<p>
<dl compact><dt><b>Remarks:</b></dt><dd>You would use this method to essentially defer a call to <a class="el" href="classOgre_1_1SceneManager.html#Ogre_1_1SceneManagera27">SceneManager::setWorldGeometry</a> to the time when the resource group is loaded. The advantage of this is that compatible scene managers will include the estimate of the number of loading stages for that world geometry when the resource group begins loading, allowing you to include that in a loading progress report. </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>group</em>&nbsp;</td><td>The name of the resource group </td></tr>
    <tr><td valign=top><em>worldGeometry</em>&nbsp;</td><td>The parameter which should be passed to setWorldGeometry </td></tr>
    <tr><td valign=top><em>sceneManager</em>&nbsp;</td><td>The <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a> which should be called </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera16" doxytag="Ogre::ResourceGroupManager::listResourceFileInfo" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SharedPtr.html">FileInfoListPtr</a> Ogre::ResourceGroupManager::listResourceFileInfo </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>groupName</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
List all files in a resource group with accompanying information. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>groupName</em>&nbsp;</td><td>The name of the group </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A list of structures detailing quite a lot of information about all the files in the archive. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera15" doxytag="Ogre::ResourceGroupManager::listResourceNames" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SharedPtr.html">StringVectorPtr</a> Ogre::ResourceGroupManager::listResourceNames </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>groupName</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
List all file names in a resource group. 
<p>
<dl compact><dt><b>Note:</b></dt><dd>This method only returns filenames, you can also retrieve other information using listFileInfo. </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>groupName</em>&nbsp;</td><td>The name of the group </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A list of filenames matching the criteria, all are fully qualified </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera5" doxytag="Ogre::ResourceGroupManager::loadResourceGroup" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::loadResourceGroup </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>loadMainResources</em> = true, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>loadWorldGeom</em> = true</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Loads a resource group. 
<p>
<dl compact><dt><b>Remarks:</b></dt><dd>Loads any created resources which are part of the named group. Note that resources must have already been created by calling <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera10">ResourceManager::create</a>, or declared using <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera11">declareResource()</a> or in a script (such as .material and .overlay). The latter requires that initialiseResourceGroup has been called.</dd></dl>
When this method is called, this class will callback any ResourceGroupListeners which have been registered to update them on progress. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>name</em>&nbsp;</td><td>The name to of the resource group to load. </td></tr>
    <tr><td valign=top><em>loadMainResources</em>&nbsp;</td><td>If true, loads normal resources associated with the group (you might want to set this to false if you wanted to just load world geometry in bulk) </td></tr>
    <tr><td valign=top><em>loadWorldGeom</em>&nbsp;</td><td>If true, loads any linked world geometry </td></tr>
  </table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagera24">ResourceGroupManager::linkWorldGeometryToResourceGroup</a> </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera13" doxytag="Ogre::ResourceGroupManager::openResource" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SharedPtr.html">DataStreamPtr</a> Ogre::ResourceGroupManager::openResource </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>resourceName</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>groupName</em> = <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagers0">DEFAULT_RESOURCE_GROUP_NAME</a></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Open a single resource by name and return a <a class="el" href="classOgre_1_1DataStream.html">DataStream</a> pointing at the source of the data. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>resourceName</em>&nbsp;</td><td>The name of the resource to locate. Even if resource locations are added recursively, you must provide a fully qualified name to this method. You can find out the matching fully qualified names by using the find() method if you need to. </td></tr>
    <tr><td valign=top><em>groupName</em>&nbsp;</td><td>The name of the resource group; this determines which locations are searched. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Shared pointer to data stream containing the data, will be destroyed automatically when no longer referenced</dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera14" doxytag="Ogre::ResourceGroupManager::openResources" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SharedPtr.html">DataStreamListPtr</a> Ogre::ResourceGroupManager::openResources </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>groupName</em> = <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagers0">DEFAULT_RESOURCE_GROUP_NAME</a></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Open all resources matching a given pattern (which can contain the character '*' as a wildcard), and return a collection of <a class="el" href="classOgre_1_1DataStream.html">DataStream</a> objects on them. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>pattern</em>&nbsp;</td><td>The pattern to look for. If resource locations have been added recursively, subdirectories will be searched too so this does not need to be fully qualified. </td></tr>
    <tr><td valign=top><em>groupName</em>&nbsp;</td><td>The resource group; this determines which locations are searched. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Shared pointer to a data stream list , will be destroyed automatically when no longer referenced</dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerb0" doxytag="Ogre::ResourceGroupManager::parseResourceGroupScripts" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::parseResourceGroupScripts </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structOgre_1_1ResourceGroupManager_1_1ResourceGroup.html">ResourceGroup</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>grp</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Parses all the available scripts found in the resource locations for the given group, for all ResourceManagers. 
<p>
<dl compact><dt><b>Remarks:</b></dt><dd>Called as part of initialiseResourceGroup</dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera21" doxytag="Ogre::ResourceGroupManager::removeResourceGroupListener" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::removeResourceGroupListener </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1ResourceGroupListener.html">ResourceGroupListener</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>l</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Removes a <a class="el" href="classOgre_1_1ResourceGroupListener.html">ResourceGroupListener</a>. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera10" doxytag="Ogre::ResourceGroupManager::removeResourceLocation" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::removeResourceLocation </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>resGroup</em> = <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagers0">DEFAULT_RESOURCE_GROUP_NAME</a></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Removes a resource location from the search path. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera18" doxytag="Ogre::ResourceGroupManager::resourceExists" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::ResourceGroupManager::resourceExists </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>group</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>filename</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Find out if the named file exists in a group. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>group</em>&nbsp;</td><td>The name of the resource group </td></tr>
    <tr><td valign=top><em>filename</em>&nbsp;</td><td>Fully qualified name of the file to test for </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera22" doxytag="Ogre::ResourceGroupManager::setWorldResourceGroupName" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::setWorldResourceGroupName </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>groupName</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the resource group that 'world' resources will use. 
<p>
<dl compact><dt><b>Remarks:</b></dt><dd>This is the group which should be used by SceneManagers implementing world geometry when looking for their resources. Defaults to the DEFAULT_RESOURCE_GROUP_NAME but this can be altered. </dd></dl>

<p>
Definition at line <a class="el" href="OgreResourceGroupManager_8h-source.html#l00562">562</a> of file <a class="el" href="OgreResourceGroupManager_8h-source.html">OgreResourceGroupManager.h</a>.
<p>
References <a class="el" href="OgrePrerequisites_8h-source.html#l00154">Ogre::String</a>.    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera26" doxytag="Ogre::ResourceGroupManager::shutdownAll" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::shutdownAll </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Shutdown all ResourceManagers, performed as part of clean-up. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera12" doxytag="Ogre::ResourceGroupManager::undeclareResource" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::undeclareResource </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>groupName</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Undeclare a resource. 
<p>
<dl compact><dt><b>Remarks:</b></dt><dd>Note that this will not cause it to be unloaded if it is already loaded, nor will it destroy a resource which has already been created if initialiseResourceGroup has been called already. Only unloadResourceGroup / clearResourceGroup / destroyResourceGroup will do that. </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>name</em>&nbsp;</td><td>The name of the resource. </td></tr>
    <tr><td valign=top><em>groupName</em>&nbsp;</td><td>The name of the group this resource was declared in. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera25" doxytag="Ogre::ResourceGroupManager::unlinkWorldGeometryFromResourceGroup" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::unlinkWorldGeometryFromResourceGroup </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>group</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Clear any link to world geometry from a resource group. 
<p>
<dl compact><dt><b>Remarks:</b></dt><dd>Basically undoes a previous call to linkWorldGeometryToResourceGroup. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagera6" doxytag="Ogre::ResourceGroupManager::unloadResourceGroup" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ResourceGroupManager::unloadResourceGroup </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Unloads a resource group. 
<p>
<dl compact><dt><b>Remarks:</b></dt><dd>This method unloads all the resources that have been declared as being part of the named resource group. Note that these resources will still exist in their respective <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> classes, but will be in an unloaded state. If you want to remove them entirely, you should use clearResourceGroup or destroyResourceGroup. </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>name</em>&nbsp;</td><td>The name to of the resource group to unload. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="Ogre_1_1ResourceGroupManagers0" doxytag="Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> OGRE_AUTO_MUTEX <a class="el" href="namespaceOgre.html#a426">String</a> <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagers0">Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME</a><code> [static]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Default resource group name. 
<p>

<p>
Definition at line <a class="el" href="OgreResourceGroupManager_8h-source.html#l00164">164</a> of file <a class="el" href="OgreResourceGroupManager_8h-source.html">OgreResourceGroupManager.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerp5" doxytag="Ogre::ResourceGroupManager::mCurrentGroup" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="structOgre_1_1ResourceGroupManager_1_1ResourceGroup.html">ResourceGroup</a>* <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerp5">Ogre::ResourceGroupManager::mCurrentGroup</a><code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Stored current group - optimisation for when bulk loading a group. 
<p>

<p>
Definition at line <a class="el" href="OgreResourceGroupManager_8h-source.html#l00273">273</a> of file <a class="el" href="OgreResourceGroupManager_8h-source.html">OgreResourceGroupManager.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerp2" doxytag="Ogre::ResourceGroupManager::mResourceGroupListenerList" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx2">ResourceGroupListenerList</a> <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerp2">Ogre::ResourceGroupManager::mResourceGroupListenerList</a><code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreResourceGroupManager_8h-source.html#l00184">184</a> of file <a class="el" href="OgreResourceGroupManager_8h-source.html">OgreResourceGroupManager.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerp3" doxytag="Ogre::ResourceGroupManager::mResourceGroupMap" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx6">ResourceGroupMap</a> <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerp3">Ogre::ResourceGroupManager::mResourceGroupMap</a><code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreResourceGroupManager_8h-source.html#l00229">229</a> of file <a class="el" href="OgreResourceGroupManager_8h-source.html">OgreResourceGroupManager.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerp0" doxytag="Ogre::ResourceGroupManager::mResourceManagerMap" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx0">ResourceManagerMap</a> <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerp0">Ogre::ResourceGroupManager::mResourceManagerMap</a><code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreResourceGroupManager_8h-source.html#l00177">177</a> of file <a class="el" href="OgreResourceGroupManager_8h-source.html">OgreResourceGroupManager.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1Singletont0" doxytag="Ogre::ResourceGroupManager::ms_Singleton" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a> * <a class="el" href="classOgre_1_1Singleton.html">Ogre::Singleton</a>&lt; <a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a>  &gt;::<a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletont0">ms_Singleton</a><code> [static, protected, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition 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>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerp1" doxytag="Ogre::ResourceGroupManager::mScriptLoaderOrderMap" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerx1">ScriptLoaderOrderMap</a> <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerp1">Ogre::ResourceGroupManager::mScriptLoaderOrderMap</a><code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreResourceGroupManager_8h-source.html#l00181">181</a> of file <a class="el" href="OgreResourceGroupManager_8h-source.html">OgreResourceGroupManager.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="Ogre_1_1ResourceGroupManagerp4" doxytag="Ogre::ResourceGroupManager::mWorldGroupName" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a426">String</a> <a class="el" href="classOgre_1_1ResourceGroupManager.html#Ogre_1_1ResourceGroupManagerp4">Ogre::ResourceGroupManager::mWorldGroupName</a><code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Group name for world resources. 
<p>

<p>
Definition at line <a class="el" href="OgreResourceGroupManager_8h-source.html#l00232">232</a> of file <a class="el" href="OgreResourceGroupManager_8h-source.html">OgreResourceGroupManager.h</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="OgreResourceGroupManager_8h-source.html">OgreResourceGroupManager.h</a></ul>
<p>
Copyright &copy; 2000-2005 by The OGRE Team<br />
Last modified Wed Feb 23 00:22:41 2005
</p>
</body>
</html>