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


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}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_scene_loader_manager_ad394316d8fde10e29de2c4b317edf775}{Scene\+Loader\+Manager}} ()
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_scene_loader_manager_a72d62b0df5bd9c4d0e84c43e23c715f7}{$\sim$\+Scene\+Loader\+Manager}} ()
\item 
\mbox{\hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_scene_loader_manager_abfc1a2581d883fd5949f23f419c0990b}{\+\_\+get\+Scene\+Loader}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name) const
\item 
void \mbox{\hyperlink{class_ogre_1_1_scene_loader_manager_a42e94999437af0603f5722bfcce13373}{load}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&filename, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group\+Name, \mbox{\hyperlink{class_ogre_1_1_scene_node}{Scene\+Node}} $\ast$root\+Node)
\begin{DoxyCompactList}\small\item\em Load a scene from a \mbox{\hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_scene_loader_manager_a32c7a5a5178cebaceaf30a8323ad67b8}{load}} (\mbox{\hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr}} \&stream, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group\+Name, \mbox{\hyperlink{class_ogre_1_1_scene_node}{Scene\+Node}} $\ast$root\+Node)
\begin{DoxyCompactList}\small\item\em Load a scene from a \mbox{\hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_scene_loader_manager_a6a600b24d7a0bbf7267d73e0b9c23e5a}{register\+Scene\+Loader}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{group___general_ga783e5227595f351519627abfb740ec85}{String\+Vector}} \&ext, \mbox{\hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader}} $\ast$sl)
\begin{DoxyCompactList}\small\item\em Register a new \mbox{\hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_scene_loader_manager_a1b64750dabd826f5ff323bba6deb9d47}{unregister\+Scene\+Loader}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{class_ogre_1_1_scene_loader_manager}{Scene\+Loader\+Manager}} \& \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_scene_loader_manager}{Scene\+Loader\+Manager}} $\ast$ \mbox{\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}


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

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_scene_loader_manager_ad394316d8fde10e29de2c4b317edf775}\label{class_ogre_1_1_scene_loader_manager_ad394316d8fde10e29de2c4b317edf775}} 
\index{Ogre::SceneLoaderManager@{Ogre::SceneLoaderManager}!SceneLoaderManager@{SceneLoaderManager}}
\index{SceneLoaderManager@{SceneLoaderManager}!Ogre::SceneLoaderManager@{Ogre::SceneLoaderManager}}
\doxysubsubsection{\texorpdfstring{SceneLoaderManager()}{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::SceneLoaderManager@{Ogre::SceneLoaderManager}!````~SceneLoaderManager@{$\sim$SceneLoaderManager}}
\index{````~SceneLoaderManager@{$\sim$SceneLoaderManager}!Ogre::SceneLoaderManager@{Ogre::SceneLoaderManager}}
\doxysubsubsection{\texorpdfstring{$\sim$SceneLoaderManager()}{~SceneLoaderManager()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Scene\+Loader\+Manager\+::$\sim$\+Scene\+Loader\+Manager (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



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



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


\begin{DoxyParams}{Parameters}
{\em name} & The name for the \mbox{\hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader}} for lookup. \\
\hline
{\em ext} & A String\+Vector containing the supported extensions for the \mbox{\hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader}} being registered. \\
\hline
{\em sl} & Pointer to the \mbox{\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::SceneLoaderManager@{Ogre::SceneLoaderManager}!unregisterSceneLoader@{unregisterSceneLoader}}
\index{unregisterSceneLoader@{unregisterSceneLoader}!Ogre::SceneLoaderManager@{Ogre::SceneLoaderManager}}
\doxysubsubsection{\texorpdfstring{unregisterSceneLoader()}{unregisterSceneLoader()}}
{\footnotesize\ttfamily void Ogre\+::\+Scene\+Loader\+Manager\+::unregister\+Scene\+Loader (\begin{DoxyParamCaption}\item[{const \mbox{\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::SceneLoaderManager@{Ogre::SceneLoaderManager}!\_getSceneLoader@{\_getSceneLoader}}
\index{\_getSceneLoader@{\_getSceneLoader}!Ogre::SceneLoaderManager@{Ogre::SceneLoaderManager}}
\doxysubsubsection{\texorpdfstring{\_getSceneLoader()}{\_getSceneLoader()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_scene_loader}{Scene\+Loader}}$\ast$ Ogre\+::\+Scene\+Loader\+Manager\+::\+\_\+get\+Scene\+Loader (\begin{DoxyParamCaption}\item[{const \mbox{\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::SceneLoaderManager@{Ogre::SceneLoaderManager}!load@{load}}
\index{load@{load}!Ogre::SceneLoaderManager@{Ogre::SceneLoaderManager}}
\doxysubsubsection{\texorpdfstring{load()}{load()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Scene\+Loader\+Manager\+::load (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{filename,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group\+Name,  }\item[{\mbox{\hyperlink{class_ogre_1_1_scene_node}{Scene\+Node}} $\ast$}]{root\+Node }\end{DoxyParamCaption})}



Load a scene from a \mbox{\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 \mbox{\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::SceneLoaderManager@{Ogre::SceneLoaderManager}!load@{load}}
\index{load@{load}!Ogre::SceneLoaderManager@{Ogre::SceneLoaderManager}}
\doxysubsubsection{\texorpdfstring{load()}{load()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Scene\+Loader\+Manager\+::load (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr}} \&}]{stream,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group\+Name,  }\item[{\mbox{\hyperlink{class_ogre_1_1_scene_node}{Scene\+Node}} $\ast$}]{root\+Node }\end{DoxyParamCaption})}



Load a scene from a \mbox{\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 \mbox{\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::SceneLoaderManager@{Ogre::SceneLoaderManager}!getSingleton@{getSingleton}}
\index{getSingleton@{getSingleton}!Ogre::SceneLoaderManager@{Ogre::SceneLoaderManager}}
\doxysubsubsection{\texorpdfstring{getSingleton()}{getSingleton()}}
{\footnotesize\ttfamily static \mbox{\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::SceneLoaderManager@{Ogre::SceneLoaderManager}!getSingletonPtr@{getSingletonPtr}}
\index{getSingletonPtr@{getSingletonPtr}!Ogre::SceneLoaderManager@{Ogre::SceneLoaderManager}}
\doxysubsubsection{\texorpdfstring{getSingletonPtr()}{getSingletonPtr()}}
{\footnotesize\ttfamily static \mbox{\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 
\mbox{\hyperlink{_ogre_scene_loader_manager_8h}{Ogre\+Scene\+Loader\+Manager.\+h}}\end{DoxyCompactItemize}
