\hypertarget{class_ogre_1_1_resource_group_manager}{}\section{Ogre\+:\+:Resource\+Group\+Manager Class Reference}
\label{class_ogre_1_1_resource_group_manager}\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}


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.  




{\ttfamily \#include $<$Ogre\+Resource\+Group\+Manager.\+h$>$}



Inheritance diagram for Ogre\+:\+:Resource\+Group\+Manager\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=330pt]{class_ogre_1_1_resource_group_manager__inherit__graph}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct_ogre_1_1_resource_group_manager_1_1_resource_declaration}{Resource\+Declaration}
\begin{DoxyCompactList}\small\item\em Nested struct defining a resource declaration. \end{DoxyCompactList}\item 
struct \hyperlink{struct_ogre_1_1_resource_group_manager_1_1_resource_location}{Resource\+Location}
\begin{DoxyCompactList}\small\item\em \hyperlink{class_ogre_1_1_resource}{Resource} location entry. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef std\+::vector$<$ \hyperlink{struct_ogre_1_1_resource_group_manager_1_1_resource_location}{Resource\+Location} $>$ \hyperlink{class_ogre_1_1_resource_group_manager_a3961d693f8c5b8326b840f2ae1dd9f90}{Location\+List}
\begin{DoxyCompactList}\small\item\em List of possible file locations. \end{DoxyCompactList}\item 
typedef std\+::list$<$ \hyperlink{struct_ogre_1_1_resource_group_manager_1_1_resource_declaration}{Resource\+Declaration} $>$ \hyperlink{class_ogre_1_1_resource_group_manager_ae26eacec6d13149f46c47d88c7110625}{Resource\+Declaration\+List}
\begin{DoxyCompactList}\small\item\em List of resource declarations. \end{DoxyCompactList}\item 
typedef \hyperlink{class_ogre_1_1_map_iterator}{Map\+Iterator}$<$ \hyperlink{class_ogre_1_1_resource_group_manager_abb6fa5b78ff9f77f35b69cefd9d50283}{Resource\+Manager\+Map} $>$ \hyperlink{class_ogre_1_1_resource_group_manager_af875db11dc5aba6ab72ec40296af9a5c}{Resource\+Manager\+Iterator}
\item 
typedef std\+::map$<$ \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}, \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} $\ast$ $>$ \hyperlink{class_ogre_1_1_resource_group_manager_abb6fa5b78ff9f77f35b69cefd9d50283}{Resource\+Manager\+Map}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_resource_group_manager_ad843c3889b80ebd8e01aed9cf81b3769}{Resource\+Group\+Manager} ()
\item 
virtual \hyperlink{class_ogre_1_1_resource_group_manager_a5287a0923df2c8c4363d5527b81c7cd4}{$\sim$\+Resource\+Group\+Manager} ()
\item 
\hyperlink{class_ogre_1_1_script_loader}{Script\+Loader} $\ast$ \hyperlink{class_ogre_1_1_resource_group_manager_a90f6b62c616cf35b0c19ef8ace2f4016}{\+\_\+find\+Script\+Loader} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&pattern) const
\begin{DoxyCompactList}\small\item\em Method used to directly query for registered script loaders. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} $\ast$ \hyperlink{class_ogre_1_1_resource_group_manager_afd68888cf4b9fa0cb4a0de65fc1ae0ce}{\+\_\+get\+Resource\+Manager} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&resource\+Type) const
\begin{DoxyCompactList}\small\item\em Internal method for getting a registered \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a72f578fb499ad7d384c5c7bdbb49e0fb}{\+\_\+notify\+All\+Resources\+Removed} (\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} $\ast$manager) const
\begin{DoxyCompactList}\small\item\em Internal method called by \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} when all resources for that manager are removed. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a048c71d9a1a0a999ba69bcfc8163997e}{\+\_\+notify\+Resource\+Created} (\hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr} \&res) const
\begin{DoxyCompactList}\small\item\em Internal method called by \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} when a resource is created. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a3808397e9d3a0f53399b587b4db147d2}{\+\_\+notify\+Resource\+Group\+Changed} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&old\+Group, \hyperlink{class_ogre_1_1_resource}{Resource} $\ast$res) const
\begin{DoxyCompactList}\small\item\em Internal method to notify the group manager that a resource has changed group (only applicable for autodetect group) \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a0b26ed9ea53ed93caa6b9d8936fe368b}{\+\_\+notify\+Resource\+Removed} (const \hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr} \&res) const
\begin{DoxyCompactList}\small\item\em Internal method called by \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} when a resource is removed. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a231461d5adcc7e6264ef968f6b7ba91b}{\+\_\+notify\+World\+Geometry\+Stage\+Ended} (void) const
\begin{DoxyCompactList}\small\item\em Notify this manager that one stage of world geometry loading has been completed. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_afdbf8437d285d89c7a6daae90228b87f}{\+\_\+notify\+World\+Geometry\+Stage\+Started} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&description) const
\begin{DoxyCompactList}\small\item\em Notify this manager that one stage of world geometry loading has been started. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a791bfb9582a3ce16425371e66b899128}{\+\_\+register\+Resource\+Manager} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&resource\+Type, \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} $\ast$rm)
\begin{DoxyCompactList}\small\item\em Internal method for registering a \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} (which should be a singleton). \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_aafd69be90e1774f2a4b34c4e6dcaa38a}{\+\_\+register\+Script\+Loader} (\hyperlink{class_ogre_1_1_script_loader}{Script\+Loader} $\ast$su)
\begin{DoxyCompactList}\small\item\em Internal method for registering a \hyperlink{class_ogre_1_1_script_loader}{Script\+Loader}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a7b09da95b6e1dcecdee14a9e37a6c555}{\+\_\+unregister\+Resource\+Manager} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&resource\+Type)
\begin{DoxyCompactList}\small\item\em Internal method for unregistering a \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a9b4ec48c9f25a6e37fa7d4cb5eac5520}{\+\_\+unregister\+Script\+Loader} (\hyperlink{class_ogre_1_1_script_loader}{Script\+Loader} $\ast$su)
\begin{DoxyCompactList}\small\item\em Internal method for unregistering a \hyperlink{class_ogre_1_1_script_loader}{Script\+Loader}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a8f8027c8d44d25f2d3b18d0a8caaa42d}{add\+Resource\+Group\+Listener} (\hyperlink{class_ogre_1_1_resource_group_listener}{Resource\+Group\+Listener} $\ast$l)
\begin{DoxyCompactList}\small\item\em Adds a \hyperlink{class_ogre_1_1_resource_group_listener}{Resource\+Group\+Listener} which will be called back during resource loading events. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a6ff0efec5d27cedb448cfba8b2b78c8d}{add\+Resource\+Location} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&loc\+Type, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&res\+Group=\hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}, bool recursive=false, bool read\+Only=true)
\begin{DoxyCompactList}\small\item\em Adds a location to the list of searchable locations for a \hyperlink{class_ogre_1_1_resource}{Resource} type. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a7046808e2a8caf92e19907e5d9c310fd}{clear\+Resource\+Group} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\begin{DoxyCompactList}\small\item\em Clears a resource group. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr} \hyperlink{class_ogre_1_1_resource_group_manager_a4aaf597d2f54c9d96b7a8bf22fec1a40}{create\+Resource} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&filename, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group\+Name=\hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}, bool overwrite=false, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&location\+Pattern=\hyperlink{group___general_gad842a4b416bd2f3245d2b44826a0aedc}{B\+L\+A\+N\+K\+S\+T\+R\+I\+NG})
\begin{DoxyCompactList}\small\item\em Create a new resource file in a given group. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a9c1ba0f11d134d0b5614391ca836844c}{create\+Resource\+Group} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, bool in\+Global\+Pool=!O\+G\+R\+E\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+M\+A\+N\+A\+G\+E\+R\+\_\+\+S\+T\+R\+I\+CT)
\begin{DoxyCompactList}\small\item\em Create a resource group. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a1c684fc288dcdeeeeee7c10971c3af43}{declare\+Resource} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&resource\+Type, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group\+Name=\hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}, const \hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List} \&load\+Parameters=\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}())
\begin{DoxyCompactList}\small\item\em Declares a resource to be a part of a resource group, allowing you to load and unload it as part of the group. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_af88e3d5af3a2f1234d5f0c57a63ff605}{declare\+Resource} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&resource\+Type, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group\+Name, \hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader} $\ast$loader, const \hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List} \&load\+Parameters=\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}())
\begin{DoxyCompactList}\small\item\em Declares a resource to be a part of a resource group, allowing you to load and unload it as part of the group. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a219ceadea859c051016f2ad6dca30f88}{delete\+Matching\+Resources} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&file\+Pattern, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group\+Name=\hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&location\+Pattern=\hyperlink{group___general_gad842a4b416bd2f3245d2b44826a0aedc}{B\+L\+A\+N\+K\+S\+T\+R\+I\+NG})
\begin{DoxyCompactList}\small\item\em Delete all matching resource files. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a3d95100bdec0d08a7e0df75fece470f0}{delete\+Resource} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&filename, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group\+Name=\hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&location\+Pattern=\hyperlink{group___general_gad842a4b416bd2f3245d2b44826a0aedc}{B\+L\+A\+N\+K\+S\+T\+R\+I\+NG})
\begin{DoxyCompactList}\small\item\em Delete a single resource file. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a08332f26f6b6479361cc107e71146c66}{destroy\+Resource\+Group} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\begin{DoxyCompactList}\small\item\em 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. \end{DoxyCompactList}\item 
const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{class_ogre_1_1_resource_group_manager_af58d1d8ed72fe78e7b6c9eaae15e360b}{find\+Group\+Containing\+Resource} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&filename) const
\begin{DoxyCompactList}\small\item\em Find the group in which a resource exists. \end{DoxyCompactList}\item 
\hyperlink{group___resources_ga98a851530d714bac278ff907738ac643}{File\+Info\+List\+Ptr} \hyperlink{class_ogre_1_1_resource_group_manager_a662f68163310401718d3c3981a7baec4}{find\+Resource\+File\+Info} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&pattern, bool dirs=false) const
\begin{DoxyCompactList}\small\item\em Find all files or directories matching a given pattern in a group and get some detailed information about them. \end{DoxyCompactList}\item 
\hyperlink{group___general_gae6b84ceebcdcc285f37bf9fba216697d}{String\+Vector\+Ptr} \hyperlink{class_ogre_1_1_resource_group_manager_a201f606ef1ef24cc3790b698789da0ec}{find\+Resource\+Location} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group\+Name, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&pattern) const
\begin{DoxyCompactList}\small\item\em Find all resource location names matching a given pattern in a resource group. \end{DoxyCompactList}\item 
\hyperlink{group___general_gae6b84ceebcdcc285f37bf9fba216697d}{String\+Vector\+Ptr} \hyperlink{class_ogre_1_1_resource_group_manager_ae8b0855faf84539b7979775c37efd590}{find\+Resource\+Names} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group\+Name, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&pattern, bool dirs=false) const
\begin{DoxyCompactList}\small\item\em Find all file or directory names matching a given pattern in a resource group. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_resource_loading_listener}{Resource\+Loading\+Listener} $\ast$ \hyperlink{class_ogre_1_1_resource_group_manager_a5fb312ac6430c45f6ba733dc2bf136de}{get\+Loading\+Listener} () const
\begin{DoxyCompactList}\small\item\em Returns the current loading listener. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_resource_group_manager_ae26eacec6d13149f46c47d88c7110625}{Resource\+Declaration\+List} \hyperlink{class_ogre_1_1_resource_group_manager_afdf17a57c9a47226e42625e8046f6b49}{get\+Resource\+Declaration\+List} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group\+Name) const
\begin{DoxyCompactList}\small\item\em Get the list of resource declarations for the specified group name. \end{DoxyCompactList}\item 
\hyperlink{group___general_ga783e5227595f351519627abfb740ec85}{String\+Vector} \hyperlink{class_ogre_1_1_resource_group_manager_ae91a1f693e5f2954e4b352886ddde669}{get\+Resource\+Groups} (void) const
\begin{DoxyCompactList}\small\item\em Get a list of the currently defined resource groups. \end{DoxyCompactList}\item 
const \hyperlink{class_ogre_1_1_resource_group_manager_a3961d693f8c5b8326b840f2ae1dd9f90}{Location\+List} \& \hyperlink{class_ogre_1_1_resource_group_manager_aee39a0d3e4ce64f698bf62240494f573}{get\+Resource\+Location\+List} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group\+Name) const
\begin{DoxyCompactList}\small\item\em Get the list of resource locations for the specified group name. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_resource_group_manager_af875db11dc5aba6ab72ec40296af9a5c}{Resource\+Manager\+Iterator} \hyperlink{class_ogre_1_1_resource_group_manager_a7e64ea1228280465675f0b1438d21e4a}{get\+Resource\+Manager\+Iterator} ()
\begin{DoxyCompactList}\small\item\em Get an iterator over the registered resource managers. \end{DoxyCompactList}\item 
const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{class_ogre_1_1_resource_group_manager_a53a403981769caf6c9357aa8dddde90f}{get\+World\+Resource\+Group\+Name} (void) const
\begin{DoxyCompactList}\small\item\em Gets the resource group that \textquotesingle{}world\textquotesingle{} resources will use. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a3562a410d5854514d3b662b5968bab33}{initialise\+All\+Resource\+Groups} (void)
\begin{DoxyCompactList}\small\item\em Initialise all resource groups which are yet to be initialised. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_af5c901bfb116d7f70f4542bd828784f4}{initialise\+Resource\+Group} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\begin{DoxyCompactList}\small\item\em Initialises a resource group. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_resource_group_manager_ab05122c94423565cf5e83b1dc2afefa1}{is\+Resource\+Group\+In\+Global\+Pool} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name) const
\begin{DoxyCompactList}\small\item\em Checks the status of a resource group. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_resource_group_manager_a5322d09568bbbbcff1739c4b85b61271}{is\+Resource\+Group\+Initialised} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name) const
\begin{DoxyCompactList}\small\item\em Checks the status of a resource group. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_resource_group_manager_a74712d8a24cf7ecee4a495db55212607}{is\+Resource\+Group\+Loaded} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name) const
\begin{DoxyCompactList}\small\item\em Checks the status of a resource group. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a632b4b36f47b6c6f88df62cca7e3d7b4}{link\+World\+Geometry\+To\+Resource\+Group} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&world\+Geometry, \hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager} $\ast$scene\+Manager)
\begin{DoxyCompactList}\small\item\em Associates some world geometry with a resource group, causing it to be loaded / unloaded with the resource group. \end{DoxyCompactList}\item 
\hyperlink{group___resources_ga98a851530d714bac278ff907738ac643}{File\+Info\+List\+Ptr} \hyperlink{class_ogre_1_1_resource_group_manager_a41031a4d772b6bf1b6c3095c9307d1ee}{list\+Resource\+File\+Info} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group\+Name, bool dirs=false) const
\begin{DoxyCompactList}\small\item\em List all files in a resource group with accompanying information. \end{DoxyCompactList}\item 
\hyperlink{group___general_gae6b84ceebcdcc285f37bf9fba216697d}{String\+Vector\+Ptr} \hyperlink{class_ogre_1_1_resource_group_manager_a04e9d0f79805a91f1cf292d0feaa8322}{list\+Resource\+Locations} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group\+Name) const
\begin{DoxyCompactList}\small\item\em List all resource locations in a resource group. \end{DoxyCompactList}\item 
\hyperlink{group___general_gae6b84ceebcdcc285f37bf9fba216697d}{String\+Vector\+Ptr} \hyperlink{class_ogre_1_1_resource_group_manager_a8dd6791186bfa655584a2c91c3e18ee3}{list\+Resource\+Names} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group\+Name, bool dirs=false) const
\begin{DoxyCompactList}\small\item\em List all file or directory names in a resource group. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a3b1d27ae4ff8fe5b9ac48f6325b727e9}{load\+Resource\+Group} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, bool load\+Main\+Resources=true, bool load\+World\+Geom=true)
\begin{DoxyCompactList}\small\item\em Loads a resource group. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr} \hyperlink{class_ogre_1_1_resource_group_manager_a92d61f30f814fd265ff2f6e5f1c73501}{open\+Resource} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&resource\+Name, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group\+Name=\hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}, \hyperlink{class_ogre_1_1_resource}{Resource} $\ast$resource\+Being\+Loaded=N\+U\+LL) const
\begin{DoxyCompactList}\small\item\em Open a single resource by name and return a \hyperlink{class_ogre_1_1_data_stream}{Data\+Stream} pointing at the source of the data. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr} \hyperlink{class_ogre_1_1_resource_group_manager_ae7d6c2af0066f761a7c7e9ab17fe6bae}{open\+Resource} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&resource\+Name, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group\+Name, bool search\+Groups\+If\+Not\+Found, \hyperlink{class_ogre_1_1_resource}{Resource} $\ast$resource\+Being\+Loaded=0) const
\item 
\hyperlink{group___resources_ga346c957ca4b71d80a4124c63542a9cd6}{Data\+Stream\+List} \hyperlink{class_ogre_1_1_resource_group_manager_a4a48f9d1cc26cfa72dadb246664f768d}{open\+Resources} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&pattern, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group\+Name=\hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}) const
\begin{DoxyCompactList}\small\item\em Open all resources matching a given pattern (which can contain the character \textquotesingle{}$\ast$\textquotesingle{} as a wildcard), and return a collection of \hyperlink{class_ogre_1_1_data_stream}{Data\+Stream} objects on them. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a393b8f97afc33fa4404e03a6f6ef9b36}{prepare\+Resource\+Group} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, bool prepare\+Main\+Resources=true, bool prepare\+World\+Geom=true)
\begin{DoxyCompactList}\small\item\em Prepares a resource group. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a9e7c5dfc9905d1eee64289d9dc0fa6a5}{remove\+Resource\+Group\+Listener} (\hyperlink{class_ogre_1_1_resource_group_listener}{Resource\+Group\+Listener} $\ast$l)
\begin{DoxyCompactList}\small\item\em Removes a \hyperlink{class_ogre_1_1_resource_group_listener}{Resource\+Group\+Listener}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a8eaa9df18f04d69402f7369dca5a4cca}{remove\+Resource\+Location} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&res\+Group=\hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME})
\begin{DoxyCompactList}\small\item\em Removes a resource location from the search path. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_resource_group_manager_ab518acba863b43d7c920869e33b28c51}{resource\+Exists} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&filename) const
\begin{DoxyCompactList}\small\item\em Find out if the named file exists in a group. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_resource_group_manager_aded812a215c5be14bca70132f2eedaec}{resource\+Exists\+In\+Any\+Group} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&filename) const
\begin{DoxyCompactList}\small\item\em Find out if the named file exists in any group. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_resource_group_manager_a3018eb45e2e8fc1f55dbe8e114404acf}{resource\+Group\+Exists} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name) const
\item 
bool \hyperlink{class_ogre_1_1_resource_group_manager_aebc185a7ef51b89887e941eed2cde64b}{resource\+Location\+Exists} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&res\+Group=\hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}) const
\begin{DoxyCompactList}\small\item\em Verify if a resource location exists for the given group. \end{DoxyCompactList}\item 
time\+\_\+t \hyperlink{class_ogre_1_1_resource_group_manager_a6106f5b7ac997a8d52e8f52174295b5c}{resource\+Modified\+Time} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&filename) const
\begin{DoxyCompactList}\small\item\em Retrieve the modification time of a given file. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_acd4fe53cc4f0ab2800d7675fc4cba9b2}{set\+Loading\+Listener} (\hyperlink{class_ogre_1_1_resource_loading_listener}{Resource\+Loading\+Listener} $\ast$listener)
\begin{DoxyCompactList}\small\item\em Sets a new loading listener. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a407415b99c1df3b275e2609e16e8b39f}{set\+World\+Resource\+Group\+Name} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group\+Name)
\begin{DoxyCompactList}\small\item\em Sets the resource group that \textquotesingle{}world\textquotesingle{} resources will use. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_acb9bf6a75143b0ce49a0af7d05b213fe}{shutdown\+All} (void)
\begin{DoxyCompactList}\small\item\em Shutdown all Resource\+Managers, performed as part of clean-\/up. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a90bbba7b33448bb46a58f0759faa657a}{undeclare\+Resource} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group\+Name)
\begin{DoxyCompactList}\small\item\em Undeclare a resource. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a365755132ea7380ea97cc2da51bb5651}{unlink\+World\+Geometry\+From\+Resource\+Group} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group)
\begin{DoxyCompactList}\small\item\em Clear any link to world geometry from a resource group. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a01166a19f261e9b4fd2908c94c829d08}{unload\+Resource\+Group} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, bool reloadable\+Only=true)
\begin{DoxyCompactList}\small\item\em Unloads a resource group. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_group_manager_a03e3014b60337592bdfd01cffe8ff11f}{unload\+Unreferenced\+Resources\+In\+Group} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, bool reloadable\+Only=true)
\begin{DoxyCompactList}\small\item\em Unload all resources which are not referenced by any other object. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{class_ogre_1_1_resource_group_manager}{Resource\+Group\+Manager} \& \hyperlink{class_ogre_1_1_resource_group_manager_a45101333f0f9ff132fc381dd5c4a1d60}{get\+Singleton} (void)
\begin{DoxyCompactList}\small\item\em Get the singleton instance. \end{DoxyCompactList}\item 
static \hyperlink{class_ogre_1_1_resource_group_manager}{Resource\+Group\+Manager} $\ast$ \hyperlink{class_ogre_1_1_resource_group_manager_a375aaff7929cfb5560d69b0056363aa0}{get\+Singleton\+Ptr} (void)
\begin{DoxyCompactList}\small\item\em Get the singleton instance. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_resource_group_manager_a9bd3977c7aa43e245b522a9f9bd6c279}{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}
\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \hyperlink{class_ogre_1_1_resource_group_manager_a2a3698b4303d782938455e649b2e22a2}{A\+U\+T\+O\+D\+E\+T\+E\+C\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}
\begin{DoxyCompactList}\small\item\em Special resource group name which causes resource group to be automatically determined based on searching for the resource in all groups. \end{DoxyCompactList}\item 
static const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}
\begin{DoxyCompactList}\small\item\em Default resource group name. \end{DoxyCompactList}\item 
static const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \hyperlink{class_ogre_1_1_resource_group_manager_a0f8745290121d5d9b612d9336c465f62}{I\+N\+T\+E\+R\+N\+A\+L\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}
\begin{DoxyCompactList}\small\item\em Internal resource group name (should be used by O\+G\+RE internal only) \end{DoxyCompactList}\item 
static const long \hyperlink{class_ogre_1_1_resource_group_manager_a2eef2e76177e38f6a9f02cb9646bf42f}{R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+S\+Y\+S\+T\+E\+M\+\_\+\+N\+U\+M\+\_\+\+R\+E\+F\+E\+R\+E\+N\+C\+E\+\_\+\+C\+O\+U\+N\+TS}
\begin{DoxyCompactList}\small\item\em The number of reference counts held per resource by the resource system. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
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. 

It also provides facilities to monitor resource loading per group (to do progress bars etc), provided the resources that are required are pre-\/registered. \begin{DoxyParagraph}{}
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 \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} supports the definition of resources through scripts, then this is the class which drives the locating of the scripts and telling the \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} to parse them. 
\end{DoxyParagraph}
\begin{DoxyParagraph}{}
There are several states that a resource can be in (the concept, not the object instance in this case)\+: 
\begin{DoxyEnumerate}
\item {\bfseries Undefined}. Nobody knows about this resource yet. It might be in the filesystem, but \hyperlink{namespace_ogre}{Ogre} is oblivious to it at the moment -\/ there is no \hyperlink{class_ogre_1_1_resource}{Resource} instance. This might be because it\textquotesingle{}s never been declared (either in a script, or using \hyperlink{class_ogre_1_1_resource_group_manager_a1c684fc288dcdeeeeee7c10971c3af43}{declare\+Resource}), or it may have previously been a valid \hyperlink{class_ogre_1_1_resource}{Resource} instance but has been removed, either individually through \hyperlink{class_ogre_1_1_resource_manager_a257ae8a9ac7538581173b7ddcf7b3f19}{Resource\+Manager\+::remove} or as a group through \hyperlink{class_ogre_1_1_resource_group_manager_a7046808e2a8caf92e19907e5d9c310fd}{clear\+Resource\+Group}. 
\item {\bfseries Declared}. \hyperlink{namespace_ogre}{Ogre} has some forewarning of this resource, either through calling \hyperlink{class_ogre_1_1_resource_group_manager_a1c684fc288dcdeeeeee7c10971c3af43}{declare\+Resource}, 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 \hyperlink{class_ogre_1_1_resource}{Resource}, but \hyperlink{namespace_ogre}{Ogre} will know to create this resource when \hyperlink{class_ogre_1_1_resource_group_manager_af5c901bfb116d7f70f4542bd828784f4}{initialise\+Resource\+Group} is called (which is automatic if you declare the resource group before \hyperlink{class_ogre_1_1_root_a6ab8f204bbfb150ad180eb6e78e4639c}{Root\+::initialise}). 
\item {\bfseries Unloaded}. There is now a \hyperlink{class_ogre_1_1_resource}{Resource} instance for this resource, although it is not loaded. This means that code which looks for this named resource will find it, but the \hyperlink{class_ogre_1_1_resource}{Resource} is not using a lot of memory because it is in an unloaded state. A \hyperlink{class_ogre_1_1_resource}{Resource} can get into this state by having just been created by \hyperlink{class_ogre_1_1_resource_group_manager_af5c901bfb116d7f70f4542bd828784f4}{initialise\+Resource\+Group} (either from a script, or from a call to \hyperlink{class_ogre_1_1_resource_group_manager_a1c684fc288dcdeeeeee7c10971c3af43}{declare\+Resource}), by being created directly from code (\hyperlink{class_ogre_1_1_resource_manager_a700088a63eabb0f6cb1fac96686db464}{Resource\+Manager\+::create\+Resource}), or it may have previously been loaded and has been unloaded, either individually through \hyperlink{class_ogre_1_1_resource_aa31bef1bfaa87731622e56f11b548e27}{Resource\+::unload}, or as a group through \hyperlink{class_ogre_1_1_resource_group_manager_a01166a19f261e9b4fd2908c94c829d08}{unload\+Resource\+Group}. 
\item {\bfseries Loaded}The \hyperlink{class_ogre_1_1_resource}{Resource} instance is fully loaded. This may have happened implicitly because something used it, or it may have been loaded as part of a group. 
\end{DoxyEnumerate}
\end{DoxyParagraph}


\subsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_ae26eacec6d13149f46c47d88c7110625}\label{class_ogre_1_1_resource_group_manager_ae26eacec6d13149f46c47d88c7110625}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!Resource\+Declaration\+List@{Resource\+Declaration\+List}}
\index{Resource\+Declaration\+List@{Resource\+Declaration\+List}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{Resource\+Declaration\+List}{ResourceDeclarationList}}
{\footnotesize\ttfamily typedef std\+::list$<$\hyperlink{struct_ogre_1_1_resource_group_manager_1_1_resource_declaration}{Resource\+Declaration}$>$ \hyperlink{class_ogre_1_1_resource_group_manager_ae26eacec6d13149f46c47d88c7110625}{Ogre\+::\+Resource\+Group\+Manager\+::\+Resource\+Declaration\+List}}



List of resource declarations. 

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_abb6fa5b78ff9f77f35b69cefd9d50283}\label{class_ogre_1_1_resource_group_manager_abb6fa5b78ff9f77f35b69cefd9d50283}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!Resource\+Manager\+Map@{Resource\+Manager\+Map}}
\index{Resource\+Manager\+Map@{Resource\+Manager\+Map}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{Resource\+Manager\+Map}{ResourceManagerMap}}
{\footnotesize\ttfamily typedef std\+::map$<$\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}, \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}$\ast$$>$ \hyperlink{class_ogre_1_1_resource_group_manager_abb6fa5b78ff9f77f35b69cefd9d50283}{Ogre\+::\+Resource\+Group\+Manager\+::\+Resource\+Manager\+Map}}

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_af875db11dc5aba6ab72ec40296af9a5c}\label{class_ogre_1_1_resource_group_manager_af875db11dc5aba6ab72ec40296af9a5c}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!Resource\+Manager\+Iterator@{Resource\+Manager\+Iterator}}
\index{Resource\+Manager\+Iterator@{Resource\+Manager\+Iterator}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{Resource\+Manager\+Iterator}{ResourceManagerIterator}}
{\footnotesize\ttfamily typedef \hyperlink{class_ogre_1_1_map_iterator}{Map\+Iterator}$<$\hyperlink{class_ogre_1_1_resource_group_manager_abb6fa5b78ff9f77f35b69cefd9d50283}{Resource\+Manager\+Map}$>$ \hyperlink{class_ogre_1_1_resource_group_manager_af875db11dc5aba6ab72ec40296af9a5c}{Ogre\+::\+Resource\+Group\+Manager\+::\+Resource\+Manager\+Iterator}}

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a3961d693f8c5b8326b840f2ae1dd9f90}\label{class_ogre_1_1_resource_group_manager_a3961d693f8c5b8326b840f2ae1dd9f90}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!Location\+List@{Location\+List}}
\index{Location\+List@{Location\+List}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{Location\+List}{LocationList}}
{\footnotesize\ttfamily typedef std\+::vector$<$\hyperlink{struct_ogre_1_1_resource_group_manager_1_1_resource_location}{Resource\+Location}$>$ \hyperlink{class_ogre_1_1_resource_group_manager_a3961d693f8c5b8326b840f2ae1dd9f90}{Ogre\+::\+Resource\+Group\+Manager\+::\+Location\+List}}



List of possible file locations. 



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_ad843c3889b80ebd8e01aed9cf81b3769}\label{class_ogre_1_1_resource_group_manager_ad843c3889b80ebd8e01aed9cf81b3769}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!Resource\+Group\+Manager@{Resource\+Group\+Manager}}
\index{Resource\+Group\+Manager@{Resource\+Group\+Manager}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{Resource\+Group\+Manager()}{ResourceGroupManager()}}
{\footnotesize\ttfamily Ogre\+::\+Resource\+Group\+Manager\+::\+Resource\+Group\+Manager (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a5287a0923df2c8c4363d5527b81c7cd4}\label{class_ogre_1_1_resource_group_manager_a5287a0923df2c8c4363d5527b81c7cd4}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!````~Resource\+Group\+Manager@{$\sim$\+Resource\+Group\+Manager}}
\index{````~Resource\+Group\+Manager@{$\sim$\+Resource\+Group\+Manager}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{$\sim$\+Resource\+Group\+Manager()}{~ResourceGroupManager()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Resource\+Group\+Manager\+::$\sim$\+Resource\+Group\+Manager (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a9c1ba0f11d134d0b5614391ca836844c}\label{class_ogre_1_1_resource_group_manager_a9c1ba0f11d134d0b5614391ca836844c}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!create\+Resource\+Group@{create\+Resource\+Group}}
\index{create\+Resource\+Group@{create\+Resource\+Group}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{create\+Resource\+Group()}{createResourceGroup()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::create\+Resource\+Group (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{bool}]{in\+Global\+Pool = {\ttfamily !OGRE\+\_\+RESOURCEMANAGER\+\_\+STRICT} }\end{DoxyParamCaption})}



Create a resource group. 

\begin{DoxyRemark}{Remarks}
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 \hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}, which is typically used to hold all resources which do not need to be unloaded until shutdown. There is another predefined resource group called \hyperlink{class_ogre_1_1_resource_group_manager_a0f8745290121d5d9b612d9336c465f62}{I\+N\+T\+E\+R\+N\+A\+L\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME} too, which should be used by O\+G\+RE internal only, the resources created in this group aren\textquotesingle{}t supposed to modify, unload or remove by user. You can create additional ones so that you can control the life of your resources in whichever way you wish. There is one other predefined value, \hyperlink{class_ogre_1_1_resource_group_manager_a2a3698b4303d782938455e649b2e22a2}{A\+U\+T\+O\+D\+E\+T\+E\+C\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}; using this causes the group name to be derived at load time by searching for the resource in the resource locations of each group in turn. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
Once you have defined a resource group, resources which will be loaded as part of it are defined in one of 3 ways\+: 
\begin{DoxyEnumerate}
\item Manually through \hyperlink{class_ogre_1_1_resource_group_manager_a1c684fc288dcdeeeeee7c10971c3af43}{declare\+Resource()}; this is useful for scripted declarations since it is entirely generalised, and does not create \hyperlink{class_ogre_1_1_resource}{Resource} instances right away 
\item Through the use of scripts; some \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} subtypes have script formats (e.\+g. .material, .overlay) which can be used to declare resources 
\item By calling \hyperlink{class_ogre_1_1_resource_manager_a700088a63eabb0f6cb1fac96686db464}{Resource\+Manager\+::create\+Resource} to create a resource manually. This resource will go on the list for it\textquotesingle{}s group and will be loaded and unloaded with that group 
\end{DoxyEnumerate}You must remember to call \hyperlink{class_ogre_1_1_resource_group_manager_af5c901bfb116d7f70f4542bd828784f4}{initialise\+Resource\+Group} if you intend to use the first 2 types. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em name} & The name to give the resource group. \\
\hline
{\em in\+Global\+Pool} & if true the resource will be loaded even a different group was requested in the load method as a parameter. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_af5c901bfb116d7f70f4542bd828784f4}\label{class_ogre_1_1_resource_group_manager_af5c901bfb116d7f70f4542bd828784f4}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!initialise\+Resource\+Group@{initialise\+Resource\+Group}}
\index{initialise\+Resource\+Group@{initialise\+Resource\+Group}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{initialise\+Resource\+Group()}{initialiseResourceGroup()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::initialise\+Resource\+Group (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})}



Initialises a resource group. 

\begin{DoxyRemark}{Remarks}
After creating a resource group, adding some resource locations, and perhaps pre-\/declaring some resources using \hyperlink{class_ogre_1_1_resource_group_manager_a1c684fc288dcdeeeeee7c10971c3af43}{declare\+Resource}, 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\+: 
\begin{DoxyEnumerate}
\item Scripts for all resource types which support scripting are parsed from the resource locations, and resources within them are created (but not loaded yet). 
\item Creates all the resources which have just pre-\/declared using declare\+Resource (again, these are not loaded yet) 
\end{DoxyEnumerate}So what this essentially does is create a bunch of unloaded \hyperlink{class_ogre_1_1_resource}{Resource} entries in the respective Resource\+Managers based on scripts, and resources you\textquotesingle{}ve pre-\/declared. That means that code looking for these resources will find them, but they won\textquotesingle{}t be taking up much memory yet, until they are either used, or they are loaded in bulk using load\+Resource\+Group. Loading the resource group in bulk is entirely optional, but has the advantage of coming with progress reporting as resources are loaded. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
Failure to call this method means that \hyperlink{class_ogre_1_1_resource_group_manager_a3b1d27ae4ff8fe5b9ac48f6325b727e9}{load\+Resource\+Group} will do nothing, and any resources you define in scripts will not be found. Similarly, once you have called this method you won\textquotesingle{}t be able to pick up any new scripts or pre-\/declared resources, unless you call clear\+Resource\+Group, set up declared resources, and call this method again. 
\end{DoxyParagraph}
\begin{DoxyNote}{Note}
When you call \hyperlink{class_ogre_1_1_root_a6ab8f204bbfb150ad180eb6e78e4639c}{Root\+::initialise}, 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 \hyperlink{class_ogre_1_1_root_a6ab8f204bbfb150ad180eb6e78e4639c}{Root\+::initialise}. 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.
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em name} & The name of the resource group to initialise \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a3562a410d5854514d3b662b5968bab33}\label{class_ogre_1_1_resource_group_manager_a3562a410d5854514d3b662b5968bab33}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!initialise\+All\+Resource\+Groups@{initialise\+All\+Resource\+Groups}}
\index{initialise\+All\+Resource\+Groups@{initialise\+All\+Resource\+Groups}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{initialise\+All\+Resource\+Groups()}{initialiseAllResourceGroups()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::initialise\+All\+Resource\+Groups (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Initialise all resource groups which are yet to be initialised. 

\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_resource_group_manager_af5c901bfb116d7f70f4542bd828784f4}{initialise\+Resource\+Group} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a393b8f97afc33fa4404e03a6f6ef9b36}\label{class_ogre_1_1_resource_group_manager_a393b8f97afc33fa4404e03a6f6ef9b36}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!prepare\+Resource\+Group@{prepare\+Resource\+Group}}
\index{prepare\+Resource\+Group@{prepare\+Resource\+Group}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{prepare\+Resource\+Group()}{prepareResourceGroup()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::prepare\+Resource\+Group (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{bool}]{prepare\+Main\+Resources = {\ttfamily true},  }\item[{bool}]{prepare\+World\+Geom = {\ttfamily true} }\end{DoxyParamCaption})}



Prepares a resource group. 

\begin{DoxyRemark}{Remarks}
Prepares any created resources which are part of the named group. Note that resources must have already been created by calling \hyperlink{class_ogre_1_1_resource_manager_a700088a63eabb0f6cb1fac96686db464}{Resource\+Manager\+::create\+Resource}, or declared using \hyperlink{class_ogre_1_1_resource_group_manager_a1c684fc288dcdeeeeee7c10971c3af43}{declare\+Resource} or in a script (such as .material and .overlay). The latter requires that initialise\+Resource\+Group has been called.
\end{DoxyRemark}
When this method is called, this class will callback any \hyperlink{class_ogre_1_1_resource_group_listener}{Resource\+Group\+Listener} which have been registered to update them on progress. 
\begin{DoxyParams}{Parameters}
{\em name} & The name of the resource group to prepare. \\
\hline
{\em prepare\+Main\+Resources} & If true, prepares normal resources associated with the group (you might want to set this to false if you wanted to just prepare world geometry in bulk) \\
\hline
{\em prepare\+World\+Geom} & If true, prepares any linked world geometry \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_resource_group_manager_a632b4b36f47b6c6f88df62cca7e3d7b4}{link\+World\+Geometry\+To\+Resource\+Group} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a3b1d27ae4ff8fe5b9ac48f6325b727e9}\label{class_ogre_1_1_resource_group_manager_a3b1d27ae4ff8fe5b9ac48f6325b727e9}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!load\+Resource\+Group@{load\+Resource\+Group}}
\index{load\+Resource\+Group@{load\+Resource\+Group}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{load\+Resource\+Group()}{loadResourceGroup()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::load\+Resource\+Group (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{bool}]{load\+Main\+Resources = {\ttfamily true},  }\item[{bool}]{load\+World\+Geom = {\ttfamily true} }\end{DoxyParamCaption})}



Loads a resource group. 

\begin{DoxyRemark}{Remarks}
Loads any created resources which are part of the named group. Note that resources must have already been created by calling Resource\+Manager\+::create, or declared using \hyperlink{class_ogre_1_1_resource_group_manager_a1c684fc288dcdeeeeee7c10971c3af43}{declare\+Resource()} or in a script (such as .material and .overlay). The latter requires that initialise\+Resource\+Group has been called.
\end{DoxyRemark}
When this method is called, this class will callback any Resource\+Group\+Listeners which have been registered to update them on progress. 
\begin{DoxyParams}{Parameters}
{\em name} & The name of the resource group to load. \\
\hline
{\em load\+Main\+Resources} & 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) \\
\hline
{\em load\+World\+Geom} & If true, loads any linked world geometry \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_resource_group_manager_a632b4b36f47b6c6f88df62cca7e3d7b4}{link\+World\+Geometry\+To\+Resource\+Group} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a01166a19f261e9b4fd2908c94c829d08}\label{class_ogre_1_1_resource_group_manager_a01166a19f261e9b4fd2908c94c829d08}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!unload\+Resource\+Group@{unload\+Resource\+Group}}
\index{unload\+Resource\+Group@{unload\+Resource\+Group}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{unload\+Resource\+Group()}{unloadResourceGroup()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::unload\+Resource\+Group (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{bool}]{reloadable\+Only = {\ttfamily true} }\end{DoxyParamCaption})}



Unloads a resource group. 

\begin{DoxyRemark}{Remarks}
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 \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} classes, but will be in an unloaded state. If you want to remove them entirely, you should use clear\+Resource\+Group or destroy\+Resource\+Group. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em name} & The name to of the resource group to unload. \\
\hline
{\em reloadable\+Only} & If set to true, only unload the resource that is reloadable. Because some resources isn\textquotesingle{}t reloadable, they will be unloaded but can\textquotesingle{}t load them later. Thus, you might not want to them unloaded. Or, you might unload all of them, and then populate them manually later. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_resource_a8eb34a9034aab62fd537c021a79e3366}{Resource\+::is\+Reloadable} for resource is reloadable. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a03e3014b60337592bdfd01cffe8ff11f}\label{class_ogre_1_1_resource_group_manager_a03e3014b60337592bdfd01cffe8ff11f}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!unload\+Unreferenced\+Resources\+In\+Group@{unload\+Unreferenced\+Resources\+In\+Group}}
\index{unload\+Unreferenced\+Resources\+In\+Group@{unload\+Unreferenced\+Resources\+In\+Group}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{unload\+Unreferenced\+Resources\+In\+Group()}{unloadUnreferencedResourcesInGroup()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::unload\+Unreferenced\+Resources\+In\+Group (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{bool}]{reloadable\+Only = {\ttfamily true} }\end{DoxyParamCaption})}



Unload all resources which are not referenced by any other object. 

\begin{DoxyRemark}{Remarks}
This method behaves like unload\+Resource\+Group, except that it only unloads resources in the group which are not in use, ie not referenced by other objects. This allows you to free up some memory selectively whilst still keeping the group around (and the resources present, just not using much memory). 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em name} & The name of the group to check for unreferenced resources \\
\hline
{\em reloadable\+Only} & If true (the default), only unloads resources which can be subsequently automatically reloaded \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a7046808e2a8caf92e19907e5d9c310fd}\label{class_ogre_1_1_resource_group_manager_a7046808e2a8caf92e19907e5d9c310fd}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!clear\+Resource\+Group@{clear\+Resource\+Group}}
\index{clear\+Resource\+Group@{clear\+Resource\+Group}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{clear\+Resource\+Group()}{clearResourceGroup()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::clear\+Resource\+Group (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})}



Clears a resource group. 

\begin{DoxyRemark}{Remarks}
This method unloads all resources in the group, but in addition it removes all those resources from their Resource\+Managers, 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. \hyperlink{class_ogre_1_1_resource}{Resource} locations still persist though. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em name} & The name to of the resource group to clear. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a08332f26f6b6479361cc107e71146c66}\label{class_ogre_1_1_resource_group_manager_a08332f26f6b6479361cc107e71146c66}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!destroy\+Resource\+Group@{destroy\+Resource\+Group}}
\index{destroy\+Resource\+Group@{destroy\+Resource\+Group}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{destroy\+Resource\+Group()}{destroyResourceGroup()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::destroy\+Resource\+Group (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})}



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. 


\begin{DoxyParams}{Parameters}
{\em name} & The name of the resource group to destroy. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a5322d09568bbbbcff1739c4b85b61271}\label{class_ogre_1_1_resource_group_manager_a5322d09568bbbbcff1739c4b85b61271}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!is\+Resource\+Group\+Initialised@{is\+Resource\+Group\+Initialised}}
\index{is\+Resource\+Group\+Initialised@{is\+Resource\+Group\+Initialised}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{is\+Resource\+Group\+Initialised()}{isResourceGroupInitialised()}}
{\footnotesize\ttfamily bool Ogre\+::\+Resource\+Group\+Manager\+::is\+Resource\+Group\+Initialised (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption}) const}



Checks the status of a resource group. 

\begin{DoxyRemark}{Remarks}
Looks at the state of a resource group. If initialise\+Resource\+Group has been called for the resource group return true, otherwise return false. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em name} & The name to of the resource group to access. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a74712d8a24cf7ecee4a495db55212607}\label{class_ogre_1_1_resource_group_manager_a74712d8a24cf7ecee4a495db55212607}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!is\+Resource\+Group\+Loaded@{is\+Resource\+Group\+Loaded}}
\index{is\+Resource\+Group\+Loaded@{is\+Resource\+Group\+Loaded}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{is\+Resource\+Group\+Loaded()}{isResourceGroupLoaded()}}
{\footnotesize\ttfamily bool Ogre\+::\+Resource\+Group\+Manager\+::is\+Resource\+Group\+Loaded (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption}) const}



Checks the status of a resource group. 

\begin{DoxyRemark}{Remarks}
Looks at the state of a resource group. If load\+Resource\+Group has been called for the resource group return true, otherwise return false. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em name} & The name to of the resource group to access. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a3018eb45e2e8fc1f55dbe8e114404acf}\label{class_ogre_1_1_resource_group_manager_a3018eb45e2e8fc1f55dbe8e114404acf}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!resource\+Group\+Exists@{resource\+Group\+Exists}}
\index{resource\+Group\+Exists@{resource\+Group\+Exists}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{resource\+Group\+Exists()}{resourceGroupExists()}}
{\footnotesize\ttfamily bool Ogre\+::\+Resource\+Group\+Manager\+::resource\+Group\+Exists (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption}) const}

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a6ff0efec5d27cedb448cfba8b2b78c8d}\label{class_ogre_1_1_resource_group_manager_a6ff0efec5d27cedb448cfba8b2b78c8d}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!add\+Resource\+Location@{add\+Resource\+Location}}
\index{add\+Resource\+Location@{add\+Resource\+Location}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{add\+Resource\+Location()}{addResourceLocation()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::add\+Resource\+Location (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{loc\+Type,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{res\+Group = {\ttfamily \hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}},  }\item[{bool}]{recursive = {\ttfamily false},  }\item[{bool}]{read\+Only = {\ttfamily true} }\end{DoxyParamCaption})}



Adds a location to the list of searchable locations for a \hyperlink{class_ogre_1_1_resource}{Resource} type. 

\begin{DoxyRemark}{Remarks}
\hyperlink{class_ogre_1_1_resource}{Resource} files (textures, models etc) need to be loaded from specific locations. By calling this method, you add another search location to the list. Locations added first are preferred over locations added later. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
Locations can be folders, compressed archives, even perhaps remote locations. Facilities for loading from different locations are provided by plugins which provide implementations of the \hyperlink{class_ogre_1_1_archive}{Archive} class. All the application user has to do is specify a \textquotesingle{}loctype\textquotesingle{} string in order to indicate the type of location, which should map onto one of the provided plugins. \hyperlink{namespace_ogre}{Ogre} comes configured with the \textquotesingle{}File\+System\textquotesingle{} (folders) and \textquotesingle{}Zip\textquotesingle{} (archive compressed with the pkzip / Win\+Zip etc utilities) types. 
\end{DoxyParagraph}
\begin{DoxyParagraph}{}
You can also supply the name of a resource group which should have this location applied to it. The \hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME} group is the default, and one resource group which will always exist. You should consider defining resource groups for your more specific resources (e.\+g. per level) so that you can control loading / unloading better. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em name} & The name of the location, e.\+g. \textquotesingle{}./data\textquotesingle{} or \textquotesingle{}/compressed/gamedata.zip\textquotesingle{} \\
\hline
{\em loc\+Type} & A string identifying the location type, e.\+g. \textquotesingle{}File\+System\textquotesingle{} (for folders), \textquotesingle{}Zip\textquotesingle{} etc. Must map to a registered plugin which deals with this type (File\+System and Zip should always be available) \\
\hline
{\em res\+Group} & the resource group which this location should apply to; defaults to the General group which applies to all non-\/specific resources. \\
\hline
{\em recursive} & If the resource location has a concept of recursive directory traversal, enabling this option will mean you can load resources in subdirectories using only their unqualified name. The default is to disable this so that resources in subdirectories with the same name are still unique. \\
\hline
{\em read\+Only} & whether the \hyperlink{class_ogre_1_1_archive}{Archive} is read only \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_archive}{Archive} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a8eaa9df18f04d69402f7369dca5a4cca}\label{class_ogre_1_1_resource_group_manager_a8eaa9df18f04d69402f7369dca5a4cca}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!remove\+Resource\+Location@{remove\+Resource\+Location}}
\index{remove\+Resource\+Location@{remove\+Resource\+Location}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{remove\+Resource\+Location()}{removeResourceLocation()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::remove\+Resource\+Location (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{res\+Group = {\ttfamily \hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}} }\end{DoxyParamCaption})}



Removes a resource location from the search path. 

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_aebc185a7ef51b89887e941eed2cde64b}\label{class_ogre_1_1_resource_group_manager_aebc185a7ef51b89887e941eed2cde64b}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!resource\+Location\+Exists@{resource\+Location\+Exists}}
\index{resource\+Location\+Exists@{resource\+Location\+Exists}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{resource\+Location\+Exists()}{resourceLocationExists()}}
{\footnotesize\ttfamily bool Ogre\+::\+Resource\+Group\+Manager\+::resource\+Location\+Exists (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{res\+Group = {\ttfamily \hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}} }\end{DoxyParamCaption}) const}



Verify if a resource location exists for the given group. 

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a1c684fc288dcdeeeeee7c10971c3af43}\label{class_ogre_1_1_resource_group_manager_a1c684fc288dcdeeeeee7c10971c3af43}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!declare\+Resource@{declare\+Resource}}
\index{declare\+Resource@{declare\+Resource}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{declare\+Resource()}{declareResource()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::declare\+Resource (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{resource\+Type,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group\+Name = {\ttfamily \hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}},  }\item[{const \hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List} \&}]{load\+Parameters = {\ttfamily \hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}()} }\end{DoxyParamCaption})}



Declares a resource to be a part of a resource group, allowing you to load and unload it as part of the group. 

\begin{DoxyRemark}{Remarks}
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 (
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_resource_group_listener}{Resource\+Group\+Listener}). Note that another way of declaring resources is to use a script specific to the resource type, if available (e.\+g. .material). 
\end{DoxySeeAlso}
\begin{DoxyParagraph}{}
Declared resources are not created as \hyperlink{class_ogre_1_1_resource}{Resource} instances (and thus are not available through their \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}) until initialise\+Resource\+Group is called, at which point all declared resources will become created (but unloaded) \hyperlink{class_ogre_1_1_resource}{Resource} instances, along with any resources declared in scripts in resource locations associated with the group. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em name} & The resource name. \\
\hline
{\em resource\+Type} & The type of the resource. \hyperlink{namespace_ogre}{Ogre} comes preconfigured with a number of resource types\+: 
\begin{DoxyItemize}
\item \hyperlink{class_ogre_1_1_font}{Font} 
\item \hyperlink{class_ogre_1_1_gpu_program}{Gpu\+Program} 
\item \hyperlink{class_ogre_1_1_high_level_gpu_program}{High\+Level\+Gpu\+Program} 
\item \hyperlink{class_ogre_1_1_material}{Material} 
\item \hyperlink{class_ogre_1_1_mesh}{Mesh} 
\item \hyperlink{class_ogre_1_1_skeleton}{Skeleton} 
\item \hyperlink{class_ogre_1_1_texture}{Texture} 
\end{DoxyItemize}.. but more can be added by plugin \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} classes. \\
\hline
{\em group\+Name} & The name of the group to which it will belong. \\
\hline
{\em load\+Parameters} & 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. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_af88e3d5af3a2f1234d5f0c57a63ff605}\label{class_ogre_1_1_resource_group_manager_af88e3d5af3a2f1234d5f0c57a63ff605}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!declare\+Resource@{declare\+Resource}}
\index{declare\+Resource@{declare\+Resource}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{declare\+Resource()}{declareResource()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::declare\+Resource (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{resource\+Type,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group\+Name,  }\item[{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader} $\ast$}]{loader,  }\item[{const \hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List} \&}]{load\+Parameters = {\ttfamily \hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}()} }\end{DoxyParamCaption})}



Declares a resource to be a part of a resource group, allowing you to load and unload it as part of the group. 

\begin{DoxyRemark}{Remarks}
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 (
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_resource_group_listener}{Resource\+Group\+Listener}). Note that another way of declaring resources is to use a script specific to the resource type, if available (e.\+g. .material). 
\end{DoxySeeAlso}
\begin{DoxyParagraph}{}
Declared resources are not created as \hyperlink{class_ogre_1_1_resource}{Resource} instances (and thus are not available through their \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}) until initialise\+Resource\+Group is called, at which point all declared resources will become created (but unloaded) \hyperlink{class_ogre_1_1_resource}{Resource} instances, along with any resources declared in scripts in resource locations associated with the group. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em name} & The resource name. \\
\hline
{\em resource\+Type} & The type of the resource. \hyperlink{namespace_ogre}{Ogre} comes preconfigured with a number of resource types\+: 
\begin{DoxyItemize}
\item \hyperlink{class_ogre_1_1_font}{Font} 
\item \hyperlink{class_ogre_1_1_gpu_program}{Gpu\+Program} 
\item \hyperlink{class_ogre_1_1_high_level_gpu_program}{High\+Level\+Gpu\+Program} 
\item \hyperlink{class_ogre_1_1_material}{Material} 
\item \hyperlink{class_ogre_1_1_mesh}{Mesh} 
\item \hyperlink{class_ogre_1_1_skeleton}{Skeleton} 
\item \hyperlink{class_ogre_1_1_texture}{Texture} 
\end{DoxyItemize}.. but more can be added by plugin \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} classes. \\
\hline
{\em group\+Name} & The name of the group to which it will belong. \\
\hline
{\em load\+Parameters} & 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. \\
\hline
{\em loader} & Pointer to a \hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader} implementation which will be called when the \hyperlink{class_ogre_1_1_resource}{Resource} wishes to load. If supplied, the resource is manually loaded, otherwise it\textquotesingle{}ll loading from file automatic. \\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
We don\textquotesingle{}t support declare manually loaded resource without loader here, since it\textquotesingle{}s meaningless. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a90bbba7b33448bb46a58f0759faa657a}\label{class_ogre_1_1_resource_group_manager_a90bbba7b33448bb46a58f0759faa657a}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!undeclare\+Resource@{undeclare\+Resource}}
\index{undeclare\+Resource@{undeclare\+Resource}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{undeclare\+Resource()}{undeclareResource()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::undeclare\+Resource (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group\+Name }\end{DoxyParamCaption})}



Undeclare a resource. 

\begin{DoxyRemark}{Remarks}
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 initialise\+Resource\+Group has been called already. Only unload\+Resource\+Group / clear\+Resource\+Group / destroy\+Resource\+Group will do that. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em name} & The name of the resource. \\
\hline
{\em group\+Name} & The name of the group this resource was declared in. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a92d61f30f814fd265ff2f6e5f1c73501}\label{class_ogre_1_1_resource_group_manager_a92d61f30f814fd265ff2f6e5f1c73501}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!open\+Resource@{open\+Resource}}
\index{open\+Resource@{open\+Resource}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{open\+Resource()}{openResource()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr} Ogre\+::\+Resource\+Group\+Manager\+::open\+Resource (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{resource\+Name,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group\+Name = {\ttfamily \hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}},  }\item[{\hyperlink{class_ogre_1_1_resource}{Resource} $\ast$}]{resource\+Being\+Loaded = {\ttfamily NULL} }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Open a single resource by name and return a \hyperlink{class_ogre_1_1_data_stream}{Data\+Stream} pointing at the source of the data. 


\begin{DoxyParams}{Parameters}
{\em resource\+Name} & 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. \\
\hline
{\em group\+Name} & The name of the resource group; this determines which locations are searched. \\
\hline
{\em resource\+Being\+Loaded} & Optional pointer to the resource being loaded, which you should supply if you want \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Shared pointer to data stream containing the data, will be destroyed automatically when no longer referenced 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_ae7d6c2af0066f761a7c7e9ab17fe6bae}\label{class_ogre_1_1_resource_group_manager_ae7d6c2af0066f761a7c7e9ab17fe6bae}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!open\+Resource@{open\+Resource}}
\index{open\+Resource@{open\+Resource}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{open\+Resource()}{openResource()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr} Ogre\+::\+Resource\+Group\+Manager\+::open\+Resource (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{resource\+Name,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group\+Name,  }\item[{bool}]{search\+Groups\+If\+Not\+Found,  }\item[{\hyperlink{class_ogre_1_1_resource}{Resource} $\ast$}]{resource\+Being\+Loaded = {\ttfamily 0} }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}


\begin{DoxyParams}{Parameters}
{\em search\+Groups\+If\+Not\+Found} & If true, if the resource is not found in the group specified, other groups will be searched. If you\textquotesingle{}re loading a real \hyperlink{class_ogre_1_1_resource}{Resource} using this option, you {\bfseries must} also provide the resource\+Being\+Loaded parameter to enable the group membership to be changed \\
\hline
{\em resource\+Name} & 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. \\
\hline
{\em group\+Name} & The name of the resource group; this determines which locations are searched. \\
\hline
{\em resource\+Being\+Loaded} & Optional pointer to the resource being loaded, which you should supply if you want \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Shared pointer to data stream containing the data, will be destroyed automatically when no longer referenced 
\end{DoxyReturn}
\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000120}{Deprecated}]use A\+U\+T\+O\+D\+E\+T\+E\+C\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME instead of search\+Groups\+If\+Not\+Found \end{DoxyRefDesc}


References Ogre\+::\+B\+L\+A\+N\+K\+S\+T\+R\+I\+NG.

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a4a48f9d1cc26cfa72dadb246664f768d}\label{class_ogre_1_1_resource_group_manager_a4a48f9d1cc26cfa72dadb246664f768d}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!open\+Resources@{open\+Resources}}
\index{open\+Resources@{open\+Resources}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{open\+Resources()}{openResources()}}
{\footnotesize\ttfamily \hyperlink{group___resources_ga346c957ca4b71d80a4124c63542a9cd6}{Data\+Stream\+List} Ogre\+::\+Resource\+Group\+Manager\+::open\+Resources (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{pattern,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group\+Name = {\ttfamily \hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}} }\end{DoxyParamCaption}) const}



Open all resources matching a given pattern (which can contain the character \textquotesingle{}$\ast$\textquotesingle{} as a wildcard), and return a collection of \hyperlink{class_ogre_1_1_data_stream}{Data\+Stream} objects on them. 


\begin{DoxyParams}{Parameters}
{\em pattern} & 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. \\
\hline
{\em group\+Name} & The resource group; this determines which locations are searched. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Shared pointer to a data stream list , will be destroyed automatically when no longer referenced 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a8dd6791186bfa655584a2c91c3e18ee3}\label{class_ogre_1_1_resource_group_manager_a8dd6791186bfa655584a2c91c3e18ee3}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!list\+Resource\+Names@{list\+Resource\+Names}}
\index{list\+Resource\+Names@{list\+Resource\+Names}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{list\+Resource\+Names()}{listResourceNames()}}
{\footnotesize\ttfamily \hyperlink{group___general_gae6b84ceebcdcc285f37bf9fba216697d}{String\+Vector\+Ptr} Ogre\+::\+Resource\+Group\+Manager\+::list\+Resource\+Names (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group\+Name,  }\item[{bool}]{dirs = {\ttfamily false} }\end{DoxyParamCaption}) const}



List all file or directory names in a resource group. 

\begin{DoxyNote}{Note}
This method only returns filenames, you can also retrieve other information using list\+File\+Info. 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em group\+Name} & The name of the group \\
\hline
{\em dirs} & If true, directory names will be returned instead of file names \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A list of filenames matching the criteria, all are fully qualified 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a41031a4d772b6bf1b6c3095c9307d1ee}\label{class_ogre_1_1_resource_group_manager_a41031a4d772b6bf1b6c3095c9307d1ee}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!list\+Resource\+File\+Info@{list\+Resource\+File\+Info}}
\index{list\+Resource\+File\+Info@{list\+Resource\+File\+Info}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{list\+Resource\+File\+Info()}{listResourceFileInfo()}}
{\footnotesize\ttfamily \hyperlink{group___resources_ga98a851530d714bac278ff907738ac643}{File\+Info\+List\+Ptr} Ogre\+::\+Resource\+Group\+Manager\+::list\+Resource\+File\+Info (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group\+Name,  }\item[{bool}]{dirs = {\ttfamily false} }\end{DoxyParamCaption}) const}



List all files in a resource group with accompanying information. 


\begin{DoxyParams}{Parameters}
{\em group\+Name} & The name of the group \\
\hline
{\em dirs} & If true, directory names will be returned instead of file names \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A list of structures detailing quite a lot of information about all the files in the archive. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_ae8b0855faf84539b7979775c37efd590}\label{class_ogre_1_1_resource_group_manager_ae8b0855faf84539b7979775c37efd590}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!find\+Resource\+Names@{find\+Resource\+Names}}
\index{find\+Resource\+Names@{find\+Resource\+Names}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{find\+Resource\+Names()}{findResourceNames()}}
{\footnotesize\ttfamily \hyperlink{group___general_gae6b84ceebcdcc285f37bf9fba216697d}{String\+Vector\+Ptr} Ogre\+::\+Resource\+Group\+Manager\+::find\+Resource\+Names (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group\+Name,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{pattern,  }\item[{bool}]{dirs = {\ttfamily false} }\end{DoxyParamCaption}) const}



Find all file or directory names matching a given pattern in a resource group. 

\begin{DoxyNote}{Note}
This method only returns filenames, you can also retrieve other information using find\+File\+Info. 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em group\+Name} & The name of the group \\
\hline
{\em pattern} & The pattern to search for; wildcards ($\ast$) are allowed \\
\hline
{\em dirs} & Set to true if you want the directories to be listed instead of files \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A list of filenames matching the criteria, all are fully qualified 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_ab518acba863b43d7c920869e33b28c51}\label{class_ogre_1_1_resource_group_manager_ab518acba863b43d7c920869e33b28c51}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!resource\+Exists@{resource\+Exists}}
\index{resource\+Exists@{resource\+Exists}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{resource\+Exists()}{resourceExists()}}
{\footnotesize\ttfamily bool Ogre\+::\+Resource\+Group\+Manager\+::resource\+Exists (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{filename }\end{DoxyParamCaption}) const}



Find out if the named file exists in a group. 


\begin{DoxyParams}{Parameters}
{\em group} & The name of the resource group \\
\hline
{\em filename} & Fully qualified name of the file to test for \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_aded812a215c5be14bca70132f2eedaec}\label{class_ogre_1_1_resource_group_manager_aded812a215c5be14bca70132f2eedaec}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!resource\+Exists\+In\+Any\+Group@{resource\+Exists\+In\+Any\+Group}}
\index{resource\+Exists\+In\+Any\+Group@{resource\+Exists\+In\+Any\+Group}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{resource\+Exists\+In\+Any\+Group()}{resourceExistsInAnyGroup()}}
{\footnotesize\ttfamily bool Ogre\+::\+Resource\+Group\+Manager\+::resource\+Exists\+In\+Any\+Group (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{filename }\end{DoxyParamCaption}) const}



Find out if the named file exists in any group. 


\begin{DoxyParams}{Parameters}
{\em filename} & Fully qualified name of the file to test for \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_af58d1d8ed72fe78e7b6c9eaae15e360b}\label{class_ogre_1_1_resource_group_manager_af58d1d8ed72fe78e7b6c9eaae15e360b}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!find\+Group\+Containing\+Resource@{find\+Group\+Containing\+Resource}}
\index{find\+Group\+Containing\+Resource@{find\+Group\+Containing\+Resource}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{find\+Group\+Containing\+Resource()}{findGroupContainingResource()}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}\& Ogre\+::\+Resource\+Group\+Manager\+::find\+Group\+Containing\+Resource (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{filename }\end{DoxyParamCaption}) const}



Find the group in which a resource exists. 


\begin{DoxyParams}{Parameters}
{\em filename} & Fully qualified name of the file the resource should be found as \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Name of the resource group the resource was found in. An exception is thrown if the group could not be determined. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a662f68163310401718d3c3981a7baec4}\label{class_ogre_1_1_resource_group_manager_a662f68163310401718d3c3981a7baec4}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!find\+Resource\+File\+Info@{find\+Resource\+File\+Info}}
\index{find\+Resource\+File\+Info@{find\+Resource\+File\+Info}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{find\+Resource\+File\+Info()}{findResourceFileInfo()}}
{\footnotesize\ttfamily \hyperlink{group___resources_ga98a851530d714bac278ff907738ac643}{File\+Info\+List\+Ptr} Ogre\+::\+Resource\+Group\+Manager\+::find\+Resource\+File\+Info (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{pattern,  }\item[{bool}]{dirs = {\ttfamily false} }\end{DoxyParamCaption}) const}



Find all files or directories matching a given pattern in a group and get some detailed information about them. 


\begin{DoxyParams}{Parameters}
{\em group} & The name of the resource group \\
\hline
{\em pattern} & The pattern to search for; wildcards ($\ast$) are allowed \\
\hline
{\em dirs} & Set to true if you want the directories to be listed instead of files \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A list of file information structures for all files matching the criteria. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a6106f5b7ac997a8d52e8f52174295b5c}\label{class_ogre_1_1_resource_group_manager_a6106f5b7ac997a8d52e8f52174295b5c}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!resource\+Modified\+Time@{resource\+Modified\+Time}}
\index{resource\+Modified\+Time@{resource\+Modified\+Time}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{resource\+Modified\+Time()}{resourceModifiedTime()}}
{\footnotesize\ttfamily time\+\_\+t Ogre\+::\+Resource\+Group\+Manager\+::resource\+Modified\+Time (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{filename }\end{DoxyParamCaption}) const}



Retrieve the modification time of a given file. 

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a04e9d0f79805a91f1cf292d0feaa8322}\label{class_ogre_1_1_resource_group_manager_a04e9d0f79805a91f1cf292d0feaa8322}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!list\+Resource\+Locations@{list\+Resource\+Locations}}
\index{list\+Resource\+Locations@{list\+Resource\+Locations}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{list\+Resource\+Locations()}{listResourceLocations()}}
{\footnotesize\ttfamily \hyperlink{group___general_gae6b84ceebcdcc285f37bf9fba216697d}{String\+Vector\+Ptr} Ogre\+::\+Resource\+Group\+Manager\+::list\+Resource\+Locations (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group\+Name }\end{DoxyParamCaption}) const}



List all resource locations in a resource group. 


\begin{DoxyParams}{Parameters}
{\em group\+Name} & The name of the group \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A list of resource locations matching the criteria 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a201f606ef1ef24cc3790b698789da0ec}\label{class_ogre_1_1_resource_group_manager_a201f606ef1ef24cc3790b698789da0ec}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!find\+Resource\+Location@{find\+Resource\+Location}}
\index{find\+Resource\+Location@{find\+Resource\+Location}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{find\+Resource\+Location()}{findResourceLocation()}}
{\footnotesize\ttfamily \hyperlink{group___general_gae6b84ceebcdcc285f37bf9fba216697d}{String\+Vector\+Ptr} Ogre\+::\+Resource\+Group\+Manager\+::find\+Resource\+Location (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group\+Name,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{pattern }\end{DoxyParamCaption}) const}



Find all resource location names matching a given pattern in a resource group. 


\begin{DoxyParams}{Parameters}
{\em group\+Name} & The name of the group \\
\hline
{\em pattern} & The pattern to search for; wildcards ($\ast$) are allowed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A list of resource locations matching the criteria 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a4aaf597d2f54c9d96b7a8bf22fec1a40}\label{class_ogre_1_1_resource_group_manager_a4aaf597d2f54c9d96b7a8bf22fec1a40}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!create\+Resource@{create\+Resource}}
\index{create\+Resource@{create\+Resource}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{create\+Resource()}{createResource()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr} Ogre\+::\+Resource\+Group\+Manager\+::create\+Resource (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{filename,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group\+Name = {\ttfamily \hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}},  }\item[{bool}]{overwrite = {\ttfamily false},  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{location\+Pattern = {\ttfamily \hyperlink{group___general_gad842a4b416bd2f3245d2b44826a0aedc}{B\+L\+A\+N\+K\+S\+T\+R\+I\+NG}} }\end{DoxyParamCaption})}



Create a new resource file in a given group. 

\begin{DoxyRemark}{Remarks}
This method creates a new file in a resource group and passes you back a writeable stream. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em filename} & The name of the file to create \\
\hline
{\em group\+Name} & The name of the group in which to create the file \\
\hline
{\em overwrite} & If true, an existing file will be overwritten, if false an error will occur if the file already exists \\
\hline
{\em location\+Pattern} & If the resource group contains multiple locations, then usually the file will be created in the first writable location. If you want to be more specific, you can include a location pattern here and only locations which match that pattern (as determined by \hyperlink{class_ogre_1_1_string_util_a3005f863e31d14ad8e6502eb4d854709}{String\+Util\+::match}) will be considered candidates for creation. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a3d95100bdec0d08a7e0df75fece470f0}\label{class_ogre_1_1_resource_group_manager_a3d95100bdec0d08a7e0df75fece470f0}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!delete\+Resource@{delete\+Resource}}
\index{delete\+Resource@{delete\+Resource}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{delete\+Resource()}{deleteResource()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::delete\+Resource (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{filename,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group\+Name = {\ttfamily \hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}},  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{location\+Pattern = {\ttfamily \hyperlink{group___general_gad842a4b416bd2f3245d2b44826a0aedc}{B\+L\+A\+N\+K\+S\+T\+R\+I\+NG}} }\end{DoxyParamCaption})}



Delete a single resource file. 


\begin{DoxyParams}{Parameters}
{\em filename} & The name of the file to delete. \\
\hline
{\em group\+Name} & The name of the group in which to search \\
\hline
{\em location\+Pattern} & If the resource group contains multiple locations, then usually first matching file found in any location will be deleted. If you want to be more specific, you can include a location pattern here and only locations which match that pattern (as determined by \hyperlink{class_ogre_1_1_string_util_a3005f863e31d14ad8e6502eb4d854709}{String\+Util\+::match}) will be considered candidates for deletion. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a219ceadea859c051016f2ad6dca30f88}\label{class_ogre_1_1_resource_group_manager_a219ceadea859c051016f2ad6dca30f88}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!delete\+Matching\+Resources@{delete\+Matching\+Resources}}
\index{delete\+Matching\+Resources@{delete\+Matching\+Resources}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{delete\+Matching\+Resources()}{deleteMatchingResources()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::delete\+Matching\+Resources (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{file\+Pattern,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group\+Name = {\ttfamily \hyperlink{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}},  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{location\+Pattern = {\ttfamily \hyperlink{group___general_gad842a4b416bd2f3245d2b44826a0aedc}{B\+L\+A\+N\+K\+S\+T\+R\+I\+NG}} }\end{DoxyParamCaption})}



Delete all matching resource files. 


\begin{DoxyParams}{Parameters}
{\em file\+Pattern} & The pattern (see \hyperlink{class_ogre_1_1_string_util_a3005f863e31d14ad8e6502eb4d854709}{String\+Util\+::match}) of the files to delete. \\
\hline
{\em group\+Name} & The name of the group in which to search \\
\hline
{\em location\+Pattern} & If the resource group contains multiple locations, then usually all matching files in any location will be deleted. If you want to be more specific, you can include a location pattern here and only locations which match that pattern (as determined by \hyperlink{class_ogre_1_1_string_util_a3005f863e31d14ad8e6502eb4d854709}{String\+Util\+::match}) will be considered candidates for deletion. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a8f8027c8d44d25f2d3b18d0a8caaa42d}\label{class_ogre_1_1_resource_group_manager_a8f8027c8d44d25f2d3b18d0a8caaa42d}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!add\+Resource\+Group\+Listener@{add\+Resource\+Group\+Listener}}
\index{add\+Resource\+Group\+Listener@{add\+Resource\+Group\+Listener}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{add\+Resource\+Group\+Listener()}{addResourceGroupListener()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::add\+Resource\+Group\+Listener (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_resource_group_listener}{Resource\+Group\+Listener} $\ast$}]{l }\end{DoxyParamCaption})}



Adds a \hyperlink{class_ogre_1_1_resource_group_listener}{Resource\+Group\+Listener} which will be called back during resource loading events. 

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a9e7c5dfc9905d1eee64289d9dc0fa6a5}\label{class_ogre_1_1_resource_group_manager_a9e7c5dfc9905d1eee64289d9dc0fa6a5}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!remove\+Resource\+Group\+Listener@{remove\+Resource\+Group\+Listener}}
\index{remove\+Resource\+Group\+Listener@{remove\+Resource\+Group\+Listener}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{remove\+Resource\+Group\+Listener()}{removeResourceGroupListener()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::remove\+Resource\+Group\+Listener (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_resource_group_listener}{Resource\+Group\+Listener} $\ast$}]{l }\end{DoxyParamCaption})}



Removes a \hyperlink{class_ogre_1_1_resource_group_listener}{Resource\+Group\+Listener}. 

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a407415b99c1df3b275e2609e16e8b39f}\label{class_ogre_1_1_resource_group_manager_a407415b99c1df3b275e2609e16e8b39f}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!set\+World\+Resource\+Group\+Name@{set\+World\+Resource\+Group\+Name}}
\index{set\+World\+Resource\+Group\+Name@{set\+World\+Resource\+Group\+Name}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{set\+World\+Resource\+Group\+Name()}{setWorldResourceGroupName()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::set\+World\+Resource\+Group\+Name (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets the resource group that \textquotesingle{}world\textquotesingle{} resources will use. 

\begin{DoxyRemark}{Remarks}
This is the group which should be used by Scene\+Managers implementing world geometry when looking for their resources. Defaults to the D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME but this can be altered. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a53a403981769caf6c9357aa8dddde90f}\label{class_ogre_1_1_resource_group_manager_a53a403981769caf6c9357aa8dddde90f}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!get\+World\+Resource\+Group\+Name@{get\+World\+Resource\+Group\+Name}}
\index{get\+World\+Resource\+Group\+Name@{get\+World\+Resource\+Group\+Name}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{get\+World\+Resource\+Group\+Name()}{getWorldResourceGroupName()}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}\& Ogre\+::\+Resource\+Group\+Manager\+::get\+World\+Resource\+Group\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the resource group that \textquotesingle{}world\textquotesingle{} resources will use. 

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a632b4b36f47b6c6f88df62cca7e3d7b4}\label{class_ogre_1_1_resource_group_manager_a632b4b36f47b6c6f88df62cca7e3d7b4}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!link\+World\+Geometry\+To\+Resource\+Group@{link\+World\+Geometry\+To\+Resource\+Group}}
\index{link\+World\+Geometry\+To\+Resource\+Group@{link\+World\+Geometry\+To\+Resource\+Group}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{link\+World\+Geometry\+To\+Resource\+Group()}{linkWorldGeometryToResourceGroup()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::link\+World\+Geometry\+To\+Resource\+Group (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{world\+Geometry,  }\item[{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager} $\ast$}]{scene\+Manager }\end{DoxyParamCaption})}



Associates some world geometry with a resource group, causing it to be loaded / unloaded with the resource group. 

\begin{DoxyRemark}{Remarks}
You would use this method to essentially defer a call to \hyperlink{class_ogre_1_1_scene_manager_accb0fdfbd1f61aa4d3d6e1f4625e1f9c}{Scene\+Manager\+::set\+World\+Geometry} 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. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em group} & The name of the resource group \\
\hline
{\em world\+Geometry} & The parameter which should be passed to set\+World\+Geometry \\
\hline
{\em scene\+Manager} & The \hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager} which should be called \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a365755132ea7380ea97cc2da51bb5651}\label{class_ogre_1_1_resource_group_manager_a365755132ea7380ea97cc2da51bb5651}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!unlink\+World\+Geometry\+From\+Resource\+Group@{unlink\+World\+Geometry\+From\+Resource\+Group}}
\index{unlink\+World\+Geometry\+From\+Resource\+Group@{unlink\+World\+Geometry\+From\+Resource\+Group}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{unlink\+World\+Geometry\+From\+Resource\+Group()}{unlinkWorldGeometryFromResourceGroup()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::unlink\+World\+Geometry\+From\+Resource\+Group (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group }\end{DoxyParamCaption})}



Clear any link to world geometry from a resource group. 

\begin{DoxyRemark}{Remarks}
Basically undoes a previous call to \hyperlink{class_ogre_1_1_resource_group_manager_a632b4b36f47b6c6f88df62cca7e3d7b4}{link\+World\+Geometry\+To\+Resource\+Group}. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_ab05122c94423565cf5e83b1dc2afefa1}\label{class_ogre_1_1_resource_group_manager_ab05122c94423565cf5e83b1dc2afefa1}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!is\+Resource\+Group\+In\+Global\+Pool@{is\+Resource\+Group\+In\+Global\+Pool}}
\index{is\+Resource\+Group\+In\+Global\+Pool@{is\+Resource\+Group\+In\+Global\+Pool}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{is\+Resource\+Group\+In\+Global\+Pool()}{isResourceGroupInGlobalPool()}}
{\footnotesize\ttfamily bool Ogre\+::\+Resource\+Group\+Manager\+::is\+Resource\+Group\+In\+Global\+Pool (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption}) const}



Checks the status of a resource group. 

\begin{DoxyRemark}{Remarks}
Looks at the state of a resource group. If load\+Resource\+Group has been called for the resource group return true, otherwise return false. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em name} & The name to of the resource group to access. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_acb9bf6a75143b0ce49a0af7d05b213fe}\label{class_ogre_1_1_resource_group_manager_acb9bf6a75143b0ce49a0af7d05b213fe}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!shutdown\+All@{shutdown\+All}}
\index{shutdown\+All@{shutdown\+All}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{shutdown\+All()}{shutdownAll()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::shutdown\+All (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Shutdown all Resource\+Managers, performed as part of clean-\/up. 

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a791bfb9582a3ce16425371e66b899128}\label{class_ogre_1_1_resource_group_manager_a791bfb9582a3ce16425371e66b899128}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!\+\_\+register\+Resource\+Manager@{\+\_\+register\+Resource\+Manager}}
\index{\+\_\+register\+Resource\+Manager@{\+\_\+register\+Resource\+Manager}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+register\+Resource\+Manager()}{\_registerResourceManager()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::\+\_\+register\+Resource\+Manager (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{resource\+Type,  }\item[{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} $\ast$}]{rm }\end{DoxyParamCaption})}



Internal method for registering a \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} (which should be a singleton). 

Creators of plugins can register new Resource\+Managers this way if they wish. \begin{DoxyRemark}{Remarks}
Resource\+Managers that wish to parse scripts must also call \+\_\+register\+Script\+Loader. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em resource\+Type} & String identifying the resource type, must be unique. \\
\hline
{\em rm} & Pointer to the \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} instance. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a7b09da95b6e1dcecdee14a9e37a6c555}\label{class_ogre_1_1_resource_group_manager_a7b09da95b6e1dcecdee14a9e37a6c555}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!\+\_\+unregister\+Resource\+Manager@{\+\_\+unregister\+Resource\+Manager}}
\index{\+\_\+unregister\+Resource\+Manager@{\+\_\+unregister\+Resource\+Manager}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+unregister\+Resource\+Manager()}{\_unregisterResourceManager()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::\+\_\+unregister\+Resource\+Manager (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{resource\+Type }\end{DoxyParamCaption})}



Internal method for unregistering a \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}. 

\begin{DoxyRemark}{Remarks}
Resource\+Managers that wish to parse scripts must also call \+\_\+unregister\+Script\+Loader. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em resource\+Type} & String identifying the resource type. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a7e64ea1228280465675f0b1438d21e4a}\label{class_ogre_1_1_resource_group_manager_a7e64ea1228280465675f0b1438d21e4a}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!get\+Resource\+Manager\+Iterator@{get\+Resource\+Manager\+Iterator}}
\index{get\+Resource\+Manager\+Iterator@{get\+Resource\+Manager\+Iterator}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{get\+Resource\+Manager\+Iterator()}{getResourceManagerIterator()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_resource_group_manager_af875db11dc5aba6ab72ec40296af9a5c}{Resource\+Manager\+Iterator} Ogre\+::\+Resource\+Group\+Manager\+::get\+Resource\+Manager\+Iterator (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Get an iterator over the registered resource managers. 

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_aafd69be90e1774f2a4b34c4e6dcaa38a}\label{class_ogre_1_1_resource_group_manager_aafd69be90e1774f2a4b34c4e6dcaa38a}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!\+\_\+register\+Script\+Loader@{\+\_\+register\+Script\+Loader}}
\index{\+\_\+register\+Script\+Loader@{\+\_\+register\+Script\+Loader}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+register\+Script\+Loader()}{\_registerScriptLoader()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::\+\_\+register\+Script\+Loader (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_script_loader}{Script\+Loader} $\ast$}]{su }\end{DoxyParamCaption})}



Internal method for registering a \hyperlink{class_ogre_1_1_script_loader}{Script\+Loader}. 

\begin{DoxyRemark}{Remarks}
Script\+Loaders parse scripts when resource groups are initialised. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em su} & Pointer to the \hyperlink{class_ogre_1_1_script_loader}{Script\+Loader} instance. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a9b4ec48c9f25a6e37fa7d4cb5eac5520}\label{class_ogre_1_1_resource_group_manager_a9b4ec48c9f25a6e37fa7d4cb5eac5520}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!\+\_\+unregister\+Script\+Loader@{\+\_\+unregister\+Script\+Loader}}
\index{\+\_\+unregister\+Script\+Loader@{\+\_\+unregister\+Script\+Loader}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+unregister\+Script\+Loader()}{\_unregisterScriptLoader()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::\+\_\+unregister\+Script\+Loader (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_script_loader}{Script\+Loader} $\ast$}]{su }\end{DoxyParamCaption})}



Internal method for unregistering a \hyperlink{class_ogre_1_1_script_loader}{Script\+Loader}. 


\begin{DoxyParams}{Parameters}
{\em su} & Pointer to the \hyperlink{class_ogre_1_1_script_loader}{Script\+Loader} instance. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a90f6b62c616cf35b0c19ef8ace2f4016}\label{class_ogre_1_1_resource_group_manager_a90f6b62c616cf35b0c19ef8ace2f4016}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!\+\_\+find\+Script\+Loader@{\+\_\+find\+Script\+Loader}}
\index{\+\_\+find\+Script\+Loader@{\+\_\+find\+Script\+Loader}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+find\+Script\+Loader()}{\_findScriptLoader()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_script_loader}{Script\+Loader}$\ast$ Ogre\+::\+Resource\+Group\+Manager\+::\+\_\+find\+Script\+Loader (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{pattern }\end{DoxyParamCaption}) const}



Method used to directly query for registered script loaders. 


\begin{DoxyParams}{Parameters}
{\em pattern} & The specific script pattern (e.\+g. $\ast$.material) the script loader handles \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_afd68888cf4b9fa0cb4a0de65fc1ae0ce}\label{class_ogre_1_1_resource_group_manager_afd68888cf4b9fa0cb4a0de65fc1ae0ce}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!\+\_\+get\+Resource\+Manager@{\+\_\+get\+Resource\+Manager}}
\index{\+\_\+get\+Resource\+Manager@{\+\_\+get\+Resource\+Manager}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+get\+Resource\+Manager()}{\_getResourceManager()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}$\ast$ Ogre\+::\+Resource\+Group\+Manager\+::\+\_\+get\+Resource\+Manager (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{resource\+Type }\end{DoxyParamCaption}) const}



Internal method for getting a registered \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}. 


\begin{DoxyParams}{Parameters}
{\em resource\+Type} & String identifying the resource type. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a048c71d9a1a0a999ba69bcfc8163997e}\label{class_ogre_1_1_resource_group_manager_a048c71d9a1a0a999ba69bcfc8163997e}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!\+\_\+notify\+Resource\+Created@{\+\_\+notify\+Resource\+Created}}
\index{\+\_\+notify\+Resource\+Created@{\+\_\+notify\+Resource\+Created}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+notify\+Resource\+Created()}{\_notifyResourceCreated()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::\+\_\+notify\+Resource\+Created (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr} \&}]{res }\end{DoxyParamCaption}) const}



Internal method called by \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} when a resource is created. 


\begin{DoxyParams}{Parameters}
{\em res} & Weak reference to resource \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a0b26ed9ea53ed93caa6b9d8936fe368b}\label{class_ogre_1_1_resource_group_manager_a0b26ed9ea53ed93caa6b9d8936fe368b}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!\+\_\+notify\+Resource\+Removed@{\+\_\+notify\+Resource\+Removed}}
\index{\+\_\+notify\+Resource\+Removed@{\+\_\+notify\+Resource\+Removed}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+notify\+Resource\+Removed()}{\_notifyResourceRemoved()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::\+\_\+notify\+Resource\+Removed (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr} \&}]{res }\end{DoxyParamCaption}) const}



Internal method called by \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} when a resource is removed. 


\begin{DoxyParams}{Parameters}
{\em res} & Weak reference to resource \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a3808397e9d3a0f53399b587b4db147d2}\label{class_ogre_1_1_resource_group_manager_a3808397e9d3a0f53399b587b4db147d2}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!\+\_\+notify\+Resource\+Group\+Changed@{\+\_\+notify\+Resource\+Group\+Changed}}
\index{\+\_\+notify\+Resource\+Group\+Changed@{\+\_\+notify\+Resource\+Group\+Changed}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+notify\+Resource\+Group\+Changed()}{\_notifyResourceGroupChanged()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::\+\_\+notify\+Resource\+Group\+Changed (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{old\+Group,  }\item[{\hyperlink{class_ogre_1_1_resource}{Resource} $\ast$}]{res }\end{DoxyParamCaption}) const}



Internal method to notify the group manager that a resource has changed group (only applicable for autodetect group) 

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a72f578fb499ad7d384c5c7bdbb49e0fb}\label{class_ogre_1_1_resource_group_manager_a72f578fb499ad7d384c5c7bdbb49e0fb}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!\+\_\+notify\+All\+Resources\+Removed@{\+\_\+notify\+All\+Resources\+Removed}}
\index{\+\_\+notify\+All\+Resources\+Removed@{\+\_\+notify\+All\+Resources\+Removed}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+notify\+All\+Resources\+Removed()}{\_notifyAllResourcesRemoved()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::\+\_\+notify\+All\+Resources\+Removed (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} $\ast$}]{manager }\end{DoxyParamCaption}) const}



Internal method called by \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} when all resources for that manager are removed. 


\begin{DoxyParams}{Parameters}
{\em manager} & Pointer to the manager for which all resources are being removed \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_afdbf8437d285d89c7a6daae90228b87f}\label{class_ogre_1_1_resource_group_manager_afdbf8437d285d89c7a6daae90228b87f}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!\+\_\+notify\+World\+Geometry\+Stage\+Started@{\+\_\+notify\+World\+Geometry\+Stage\+Started}}
\index{\+\_\+notify\+World\+Geometry\+Stage\+Started@{\+\_\+notify\+World\+Geometry\+Stage\+Started}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+notify\+World\+Geometry\+Stage\+Started()}{\_notifyWorldGeometryStageStarted()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::\+\_\+notify\+World\+Geometry\+Stage\+Started (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{description }\end{DoxyParamCaption}) const}



Notify this manager that one stage of world geometry loading has been started. 

\begin{DoxyRemark}{Remarks}
Custom Scene\+Managers which load custom world geometry should call this method the number of times equal to the value they return from \hyperlink{class_ogre_1_1_scene_manager_a1257fd328d54908eeb45398b3191f92b}{Scene\+Manager\+::estimate\+World\+Geometry} while loading their geometry. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a231461d5adcc7e6264ef968f6b7ba91b}\label{class_ogre_1_1_resource_group_manager_a231461d5adcc7e6264ef968f6b7ba91b}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!\+\_\+notify\+World\+Geometry\+Stage\+Ended@{\+\_\+notify\+World\+Geometry\+Stage\+Ended}}
\index{\+\_\+notify\+World\+Geometry\+Stage\+Ended@{\+\_\+notify\+World\+Geometry\+Stage\+Ended}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+notify\+World\+Geometry\+Stage\+Ended()}{\_notifyWorldGeometryStageEnded()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::\+\_\+notify\+World\+Geometry\+Stage\+Ended (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Notify this manager that one stage of world geometry loading has been completed. 

\begin{DoxyRemark}{Remarks}
Custom Scene\+Managers which load custom world geometry should call this method the number of times equal to the value they return from \hyperlink{class_ogre_1_1_scene_manager_a1257fd328d54908eeb45398b3191f92b}{Scene\+Manager\+::estimate\+World\+Geometry} while loading their geometry. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_ae91a1f693e5f2954e4b352886ddde669}\label{class_ogre_1_1_resource_group_manager_ae91a1f693e5f2954e4b352886ddde669}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!get\+Resource\+Groups@{get\+Resource\+Groups}}
\index{get\+Resource\+Groups@{get\+Resource\+Groups}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{get\+Resource\+Groups()}{getResourceGroups()}}
{\footnotesize\ttfamily \hyperlink{group___general_ga783e5227595f351519627abfb740ec85}{String\+Vector} Ogre\+::\+Resource\+Group\+Manager\+::get\+Resource\+Groups (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get a list of the currently defined resource groups. 

\begin{DoxyNote}{Note}
This method intentionally returns a copy rather than a reference in order to avoid any contention issues in multithreaded applications. 
\end{DoxyNote}
\begin{DoxyReturn}{Returns}
A copy of list of currently defined groups. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_afdf17a57c9a47226e42625e8046f6b49}\label{class_ogre_1_1_resource_group_manager_afdf17a57c9a47226e42625e8046f6b49}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!get\+Resource\+Declaration\+List@{get\+Resource\+Declaration\+List}}
\index{get\+Resource\+Declaration\+List@{get\+Resource\+Declaration\+List}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{get\+Resource\+Declaration\+List()}{getResourceDeclarationList()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_resource_group_manager_ae26eacec6d13149f46c47d88c7110625}{Resource\+Declaration\+List} Ogre\+::\+Resource\+Group\+Manager\+::get\+Resource\+Declaration\+List (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group\+Name }\end{DoxyParamCaption}) const}



Get the list of resource declarations for the specified group name. 

\begin{DoxyNote}{Note}
This method intentionally returns a copy rather than a reference in order to avoid any contention issues in multithreaded applications. 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em group\+Name} & The name of the group \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A copy of list of currently defined resources. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_aee39a0d3e4ce64f698bf62240494f573}\label{class_ogre_1_1_resource_group_manager_aee39a0d3e4ce64f698bf62240494f573}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!get\+Resource\+Location\+List@{get\+Resource\+Location\+List}}
\index{get\+Resource\+Location\+List@{get\+Resource\+Location\+List}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{get\+Resource\+Location\+List()}{getResourceLocationList()}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_resource_group_manager_a3961d693f8c5b8326b840f2ae1dd9f90}{Location\+List}\& Ogre\+::\+Resource\+Group\+Manager\+::get\+Resource\+Location\+List (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group\+Name }\end{DoxyParamCaption}) const}



Get the list of resource locations for the specified group name. 


\begin{DoxyParams}{Parameters}
{\em group\+Name} & The name of the group \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The list of resource locations associated with the given group. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_acd4fe53cc4f0ab2800d7675fc4cba9b2}\label{class_ogre_1_1_resource_group_manager_acd4fe53cc4f0ab2800d7675fc4cba9b2}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!set\+Loading\+Listener@{set\+Loading\+Listener}}
\index{set\+Loading\+Listener@{set\+Loading\+Listener}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{set\+Loading\+Listener()}{setLoadingListener()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Group\+Manager\+::set\+Loading\+Listener (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_resource_loading_listener}{Resource\+Loading\+Listener} $\ast$}]{listener }\end{DoxyParamCaption})}



Sets a new loading listener. 

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a5fb312ac6430c45f6ba733dc2bf136de}\label{class_ogre_1_1_resource_group_manager_a5fb312ac6430c45f6ba733dc2bf136de}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!get\+Loading\+Listener@{get\+Loading\+Listener}}
\index{get\+Loading\+Listener@{get\+Loading\+Listener}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{get\+Loading\+Listener()}{getLoadingListener()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_resource_loading_listener}{Resource\+Loading\+Listener}$\ast$ Ogre\+::\+Resource\+Group\+Manager\+::get\+Loading\+Listener (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Returns the current loading listener. 

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a45101333f0f9ff132fc381dd5c4a1d60}\label{class_ogre_1_1_resource_group_manager_a45101333f0f9ff132fc381dd5c4a1d60}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!get\+Singleton@{get\+Singleton}}
\index{get\+Singleton@{get\+Singleton}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{get\+Singleton()}{getSingleton()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_resource_group_manager}{Resource\+Group\+Manager}\& Ogre\+::\+Resource\+Group\+Manager\+::get\+Singleton (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get the singleton instance. 

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a375aaff7929cfb5560d69b0056363aa0}\label{class_ogre_1_1_resource_group_manager_a375aaff7929cfb5560d69b0056363aa0}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!get\+Singleton\+Ptr@{get\+Singleton\+Ptr}}
\index{get\+Singleton\+Ptr@{get\+Singleton\+Ptr}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{get\+Singleton\+Ptr()}{getSingletonPtr()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_resource_group_manager}{Resource\+Group\+Manager}$\ast$ Ogre\+::\+Resource\+Group\+Manager\+::get\+Singleton\+Ptr (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get the singleton instance. 



\subsection{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a9bd3977c7aa43e245b522a9f9bd6c279}\label{class_ogre_1_1_resource_group_manager_a9bd3977c7aa43e245b522a9f9bd6c279}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX@{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}}
\index{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX@{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}{OGRE\_AUTO\_MUTEX}}
{\footnotesize\ttfamily Ogre\+::\+Resource\+Group\+Manager\+::\+O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}\label{class_ogre_1_1_resource_group_manager_a3c7d7dc6bb59e43db49e77cd3d8a44c4}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME@{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}}
\index{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME@{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}{DEFAULT\_RESOURCE\_GROUP\_NAME}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} Ogre\+::\+Resource\+Group\+Manager\+::\+D\+E\+F\+A\+U\+L\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME\hspace{0.3cm}{\ttfamily [static]}}



Default resource group name. 



Referenced by Ogre\+::\+Manual\+Object\+::\+\_\+release\+Manual\+Hardware\+Resources(), Ogre\+::\+Root\+::create\+Scene\+Manager(), Ogre\+::\+External\+Texture\+Source\+Manager\+::get\+Current\+Plug\+In(), Ogre\+::\+External\+Texture\+Source\+::get\+Dictionary\+String\+Name(), and Ogre\+::\+Manual\+Object\+::get\+Dynamic().

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a0f8745290121d5d9b612d9336c465f62}\label{class_ogre_1_1_resource_group_manager_a0f8745290121d5d9b612d9336c465f62}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!I\+N\+T\+E\+R\+N\+A\+L\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME@{I\+N\+T\+E\+R\+N\+A\+L\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}}
\index{I\+N\+T\+E\+R\+N\+A\+L\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME@{I\+N\+T\+E\+R\+N\+A\+L\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{I\+N\+T\+E\+R\+N\+A\+L\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}{INTERNAL\_RESOURCE\_GROUP\_NAME}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} Ogre\+::\+Resource\+Group\+Manager\+::\+I\+N\+T\+E\+R\+N\+A\+L\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME\hspace{0.3cm}{\ttfamily [static]}}



Internal resource group name (should be used by O\+G\+RE internal only) 

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a2a3698b4303d782938455e649b2e22a2}\label{class_ogre_1_1_resource_group_manager_a2a3698b4303d782938455e649b2e22a2}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!A\+U\+T\+O\+D\+E\+T\+E\+C\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME@{A\+U\+T\+O\+D\+E\+T\+E\+C\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}}
\index{A\+U\+T\+O\+D\+E\+T\+E\+C\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME@{A\+U\+T\+O\+D\+E\+T\+E\+C\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{A\+U\+T\+O\+D\+E\+T\+E\+C\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME}{AUTODETECT\_RESOURCE\_GROUP\_NAME}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} Ogre\+::\+Resource\+Group\+Manager\+::\+A\+U\+T\+O\+D\+E\+T\+E\+C\+T\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+R\+O\+U\+P\+\_\+\+N\+A\+ME\hspace{0.3cm}{\ttfamily [static]}}



Special resource group name which causes resource group to be automatically determined based on searching for the resource in all groups. 



Referenced by Ogre\+::\+Scene\+Manager\+::\+\_\+get\+Lights\+Dirty\+Counter(), Ogre\+::\+Scene\+Manager\+::\+\_\+queue\+Skies\+For\+Rendering(), Ogre\+::\+Manual\+Object\+::\+Manual\+Object\+Section\+::get\+Material\+Group(), Ogre\+::\+Billboard\+Chain\+::get\+Material\+Name(), Ogre\+::\+Scene\+Manager\+::get\+Sky\+Box\+Gen\+Parameters(), Ogre\+::\+Scene\+Manager\+::get\+Sky\+Plane\+Gen\+Parameters(), and Ogre\+::\+Entity\+::get\+Sub\+Entities().

\mbox{\Hypertarget{class_ogre_1_1_resource_group_manager_a2eef2e76177e38f6a9f02cb9646bf42f}\label{class_ogre_1_1_resource_group_manager_a2eef2e76177e38f6a9f02cb9646bf42f}} 
\index{Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}!R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+S\+Y\+S\+T\+E\+M\+\_\+\+N\+U\+M\+\_\+\+R\+E\+F\+E\+R\+E\+N\+C\+E\+\_\+\+C\+O\+U\+N\+TS@{R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+S\+Y\+S\+T\+E\+M\+\_\+\+N\+U\+M\+\_\+\+R\+E\+F\+E\+R\+E\+N\+C\+E\+\_\+\+C\+O\+U\+N\+TS}}
\index{R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+S\+Y\+S\+T\+E\+M\+\_\+\+N\+U\+M\+\_\+\+R\+E\+F\+E\+R\+E\+N\+C\+E\+\_\+\+C\+O\+U\+N\+TS@{R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+S\+Y\+S\+T\+E\+M\+\_\+\+N\+U\+M\+\_\+\+R\+E\+F\+E\+R\+E\+N\+C\+E\+\_\+\+C\+O\+U\+N\+TS}!Ogre\+::\+Resource\+Group\+Manager@{Ogre\+::\+Resource\+Group\+Manager}}
\subsubsection{\texorpdfstring{R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+S\+Y\+S\+T\+E\+M\+\_\+\+N\+U\+M\+\_\+\+R\+E\+F\+E\+R\+E\+N\+C\+E\+\_\+\+C\+O\+U\+N\+TS}{RESOURCE\_SYSTEM\_NUM\_REFERENCE\_COUNTS}}
{\footnotesize\ttfamily const long Ogre\+::\+Resource\+Group\+Manager\+::\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+S\+Y\+S\+T\+E\+M\+\_\+\+N\+U\+M\+\_\+\+R\+E\+F\+E\+R\+E\+N\+C\+E\+\_\+\+C\+O\+U\+N\+TS\hspace{0.3cm}{\ttfamily [static]}}



The number of reference counts held per resource by the resource system. 



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_resource_group_manager_8h}{Ogre\+Resource\+Group\+Manager.\+h}\end{DoxyCompactItemize}
