\hypertarget{class_ogre_1_1_scene_loader_manager}{}\section{Ogre\+:\+:Scene\+Loader\+Manager Class Reference}
\label{class_ogre_1_1_scene_loader_manager}\index{Ogre\+::\+Scene\+Loader\+Manager@{Ogre\+::\+Scene\+Loader\+Manager}}


This class defines an interface for registering and using Scene\+Loaders.  




{\ttfamily \#include $<$Ogre\+Scene\+Loader\+Manager.\+h$>$}



Inheritance diagram for Ogre\+:\+:Scene\+Loader\+Manager\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=245pt]{class_ogre_1_1_scene_loader_manager__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_scene_loader_manager_ad394316d8fde10e29de2c4b317edf775}{Scene\+Loader\+Manager} ()
\item 
virtual \hyperlink{class_ogre_1_1_scene_loader_manager_a72d62b0df5bd9c4d0e84c43e23c715f7}{$\sim$\+Scene\+Loader\+Manager} ()
\item 
\hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader} $\ast$ \hyperlink{class_ogre_1_1_scene_loader_manager_abfc1a2581d883fd5949f23f419c0990b}{\+\_\+get\+Scene\+Loader} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name) const
\item 
void \hyperlink{class_ogre_1_1_scene_loader_manager_a42e94999437af0603f5722bfcce13373}{load} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&filename, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group\+Name, \hyperlink{class_ogre_1_1_scene_node}{Scene\+Node} $\ast$root\+Node)
\begin{DoxyCompactList}\small\item\em Load a scene from a \hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_scene_loader_manager_a32c7a5a5178cebaceaf30a8323ad67b8}{load} (\hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr} \&stream, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group\+Name, \hyperlink{class_ogre_1_1_scene_node}{Scene\+Node} $\ast$root\+Node)
\begin{DoxyCompactList}\small\item\em Load a scene from a \hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_scene_loader_manager_a6a600b24d7a0bbf7267d73e0b9c23e5a}{register\+Scene\+Loader} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, const \hyperlink{group___general_ga783e5227595f351519627abfb740ec85}{String\+Vector} \&ext, \hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader} $\ast$sl)
\begin{DoxyCompactList}\small\item\em Register a new \hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_scene_loader_manager_a1b64750dabd826f5ff323bba6deb9d47}{unregister\+Scene\+Loader} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{class_ogre_1_1_scene_loader_manager}{Scene\+Loader\+Manager} \& \hyperlink{class_ogre_1_1_scene_loader_manager_aff67e2bb4d52de8d5bf3444b83ec6335}{get\+Singleton} (void)
\begin{DoxyCompactList}\small\item\em Get the singleton instance. \end{DoxyCompactList}\item 
static \hyperlink{class_ogre_1_1_scene_loader_manager}{Scene\+Loader\+Manager} $\ast$ \hyperlink{class_ogre_1_1_scene_loader_manager_a3facfbff0d7ce83759f0262881d6b008}{get\+Singleton\+Ptr} (void)
\begin{DoxyCompactList}\small\item\em Get the singleton instance. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This class defines an interface for registering and using Scene\+Loaders. 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_scene_loader_manager_ad394316d8fde10e29de2c4b317edf775}\label{class_ogre_1_1_scene_loader_manager_ad394316d8fde10e29de2c4b317edf775}} 
\index{Ogre\+::\+Scene\+Loader\+Manager@{Ogre\+::\+Scene\+Loader\+Manager}!Scene\+Loader\+Manager@{Scene\+Loader\+Manager}}
\index{Scene\+Loader\+Manager@{Scene\+Loader\+Manager}!Ogre\+::\+Scene\+Loader\+Manager@{Ogre\+::\+Scene\+Loader\+Manager}}
\subsubsection{\texorpdfstring{Scene\+Loader\+Manager()}{SceneLoaderManager()}}
{\footnotesize\ttfamily Ogre\+::\+Scene\+Loader\+Manager\+::\+Scene\+Loader\+Manager (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

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



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_scene_loader_manager_a6a600b24d7a0bbf7267d73e0b9c23e5a}\label{class_ogre_1_1_scene_loader_manager_a6a600b24d7a0bbf7267d73e0b9c23e5a}} 
\index{Ogre\+::\+Scene\+Loader\+Manager@{Ogre\+::\+Scene\+Loader\+Manager}!register\+Scene\+Loader@{register\+Scene\+Loader}}
\index{register\+Scene\+Loader@{register\+Scene\+Loader}!Ogre\+::\+Scene\+Loader\+Manager@{Ogre\+::\+Scene\+Loader\+Manager}}
\subsubsection{\texorpdfstring{register\+Scene\+Loader()}{registerSceneLoader()}}
{\footnotesize\ttfamily void Ogre\+::\+Scene\+Loader\+Manager\+::register\+Scene\+Loader (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{const \hyperlink{group___general_ga783e5227595f351519627abfb740ec85}{String\+Vector} \&}]{ext,  }\item[{\hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader} $\ast$}]{sl }\end{DoxyParamCaption})}



Register a new \hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader}. 


\begin{DoxyParams}{Parameters}
{\em name} & The name for the \hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader} for lookup. \\
\hline
{\em ext} & A String\+Vector containing the supported extensions for the \hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader} being registered. \\
\hline
{\em sl} & Pointer to the \hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader} instance. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_scene_loader_manager_a1b64750dabd826f5ff323bba6deb9d47}\label{class_ogre_1_1_scene_loader_manager_a1b64750dabd826f5ff323bba6deb9d47}} 
\index{Ogre\+::\+Scene\+Loader\+Manager@{Ogre\+::\+Scene\+Loader\+Manager}!unregister\+Scene\+Loader@{unregister\+Scene\+Loader}}
\index{unregister\+Scene\+Loader@{unregister\+Scene\+Loader}!Ogre\+::\+Scene\+Loader\+Manager@{Ogre\+::\+Scene\+Loader\+Manager}}
\subsubsection{\texorpdfstring{unregister\+Scene\+Loader()}{unregisterSceneLoader()}}
{\footnotesize\ttfamily void Ogre\+::\+Scene\+Loader\+Manager\+::unregister\+Scene\+Loader (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_scene_loader_manager_abfc1a2581d883fd5949f23f419c0990b}\label{class_ogre_1_1_scene_loader_manager_abfc1a2581d883fd5949f23f419c0990b}} 
\index{Ogre\+::\+Scene\+Loader\+Manager@{Ogre\+::\+Scene\+Loader\+Manager}!\+\_\+get\+Scene\+Loader@{\+\_\+get\+Scene\+Loader}}
\index{\+\_\+get\+Scene\+Loader@{\+\_\+get\+Scene\+Loader}!Ogre\+::\+Scene\+Loader\+Manager@{Ogre\+::\+Scene\+Loader\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+get\+Scene\+Loader()}{\_getSceneLoader()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader}$\ast$ Ogre\+::\+Scene\+Loader\+Manager\+::\+\_\+get\+Scene\+Loader (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_scene_loader_manager_a42e94999437af0603f5722bfcce13373}\label{class_ogre_1_1_scene_loader_manager_a42e94999437af0603f5722bfcce13373}} 
\index{Ogre\+::\+Scene\+Loader\+Manager@{Ogre\+::\+Scene\+Loader\+Manager}!load@{load}}
\index{load@{load}!Ogre\+::\+Scene\+Loader\+Manager@{Ogre\+::\+Scene\+Loader\+Manager}}
\subsubsection{\texorpdfstring{load()}{load()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Scene\+Loader\+Manager\+::load (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{filename,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group\+Name,  }\item[{\hyperlink{class_ogre_1_1_scene_node}{Scene\+Node} $\ast$}]{root\+Node }\end{DoxyParamCaption})}



Load a scene from a \hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader}. 


\begin{DoxyParams}{Parameters}
{\em filename} & The name (and path) of the file to be loaded. This is also used to determine the \hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader} to use by the file extension. \\
\hline
{\em group\+Name} & The name of a resource group which should be used if any resources are created during the parse of this script. \\
\hline
{\em root\+Node} & The root node for the scene being loaded. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_scene_loader_manager_a32c7a5a5178cebaceaf30a8323ad67b8}\label{class_ogre_1_1_scene_loader_manager_a32c7a5a5178cebaceaf30a8323ad67b8}} 
\index{Ogre\+::\+Scene\+Loader\+Manager@{Ogre\+::\+Scene\+Loader\+Manager}!load@{load}}
\index{load@{load}!Ogre\+::\+Scene\+Loader\+Manager@{Ogre\+::\+Scene\+Loader\+Manager}}
\subsubsection{\texorpdfstring{load()}{load()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Scene\+Loader\+Manager\+::load (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr} \&}]{stream,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group\+Name,  }\item[{\hyperlink{class_ogre_1_1_scene_node}{Scene\+Node} $\ast$}]{root\+Node }\end{DoxyParamCaption})}



Load a scene from a \hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader}. 


\begin{DoxyParams}{Parameters}
{\em stream} & Weak reference to a data stream which is the source of the scene. This is also used to determine the \hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader} to use by the file extension. \\
\hline
{\em group\+Name} & The name of a resource group which should be used if any resources are created during the parse of this script. \\
\hline
{\em root\+Node} & The root node for the scene being loaded. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_scene_loader_manager_aff67e2bb4d52de8d5bf3444b83ec6335}\label{class_ogre_1_1_scene_loader_manager_aff67e2bb4d52de8d5bf3444b83ec6335}} 
\index{Ogre\+::\+Scene\+Loader\+Manager@{Ogre\+::\+Scene\+Loader\+Manager}!get\+Singleton@{get\+Singleton}}
\index{get\+Singleton@{get\+Singleton}!Ogre\+::\+Scene\+Loader\+Manager@{Ogre\+::\+Scene\+Loader\+Manager}}
\subsubsection{\texorpdfstring{get\+Singleton()}{getSingleton()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_scene_loader_manager}{Scene\+Loader\+Manager}\& Ogre\+::\+Scene\+Loader\+Manager\+::get\+Singleton (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get the singleton instance. 

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



Get the singleton instance. 



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