\hypertarget{class_ogre_1_1_lod_strategy_manager}{}\section{Ogre\+:\+:Lod\+Strategy\+Manager Class Reference}
\label{class_ogre_1_1_lod_strategy_manager}\index{Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}}


Manager for L\+OD strategies.  




{\ttfamily \#include $<$Ogre\+Lod\+Strategy\+Manager.\+h$>$}



Inheritance diagram for Ogre\+:\+:Lod\+Strategy\+Manager\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=318pt]{class_ogre_1_1_lod_strategy_manager__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_lod_strategy_manager_a9075bfbb3b06ab96f575b06572ddaef6}{Lod\+Strategy\+Manager} ()
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_lod_strategy_manager_a1de70275e59bb1f4f44d43a206662be0}{$\sim$\+Lod\+Strategy\+Manager} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_lod_strategy_manager_ae0e46b7b70199f285a5520f2de34e483}{add\+Strategy} (\hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy} $\ast$strategy)
\begin{DoxyCompactList}\small\item\em Add a strategy to the manager. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy} $\ast$ \hyperlink{class_ogre_1_1_lod_strategy_manager_ab026fd169f21089e9f46e4c9a52656a2}{get\+Default\+Strategy} ()
\begin{DoxyCompactList}\small\item\em Get the current default strategy. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_map_iterator}{Map\+Iterator}$<$ Strategy\+Map $>$ \hyperlink{class_ogre_1_1_lod_strategy_manager_ac76befbdcec821cfdaef18e003db6a20}{get\+Iterator} ()
\begin{DoxyCompactList}\small\item\em Get an iterator for all contained strategies. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy} $\ast$ \hyperlink{class_ogre_1_1_lod_strategy_manager_afd17cbfa1e8d4dbc13288bde43b04b12}{get\+Strategy} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\begin{DoxyCompactList}\small\item\em Get the strategy with the specified name. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_lod_strategy_manager_afba001a67e39b1e2537cfe772e6235ec}{remove\+All\+Strategies} ()
\begin{DoxyCompactList}\small\item\em Remove and delete all strategies from the manager. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy} $\ast$ \hyperlink{class_ogre_1_1_lod_strategy_manager_a6d44c74b5079b3e5b4246b093f477561}{remove\+Strategy} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\begin{DoxyCompactList}\small\item\em Remove a strategy from the manager with a specified name. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_lod_strategy_manager_ae533e1c38e38eb12b377a534363262f6}{set\+Default\+Strategy} (\hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy} $\ast$strategy)
\begin{DoxyCompactList}\small\item\em Set the default strategy. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_lod_strategy_manager_ae6200e09fc9abc18e90ccba210931f3e}{set\+Default\+Strategy} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\begin{DoxyCompactList}\small\item\em Set the default strategy by name. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{class_ogre_1_1_lod_strategy_manager}{Lod\+Strategy\+Manager} \& \hyperlink{class_ogre_1_1_lod_strategy_manager_aab422d81f11f6da60aae68ba6fe7f518}{get\+Singleton} (void)
\begin{DoxyCompactList}\small\item\em Get the singleton instance. \end{DoxyCompactList}\item 
static \hyperlink{class_ogre_1_1_lod_strategy_manager}{Lod\+Strategy\+Manager} $\ast$ \hyperlink{class_ogre_1_1_lod_strategy_manager_ae1c307853cfa3a52383d24a76f253834}{get\+Singleton\+Ptr} (void)
\begin{DoxyCompactList}\small\item\em Get the singleton instance. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Manager for L\+OD strategies. 



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_lod_strategy_manager_a9075bfbb3b06ab96f575b06572ddaef6}\label{class_ogre_1_1_lod_strategy_manager_a9075bfbb3b06ab96f575b06572ddaef6}} 
\index{Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}!Lod\+Strategy\+Manager@{Lod\+Strategy\+Manager}}
\index{Lod\+Strategy\+Manager@{Lod\+Strategy\+Manager}!Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}}
\subsubsection{\texorpdfstring{Lod\+Strategy\+Manager()}{LodStrategyManager()}}
{\footnotesize\ttfamily Ogre\+::\+Lod\+Strategy\+Manager\+::\+Lod\+Strategy\+Manager (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Default constructor. 

\mbox{\Hypertarget{class_ogre_1_1_lod_strategy_manager_a1de70275e59bb1f4f44d43a206662be0}\label{class_ogre_1_1_lod_strategy_manager_a1de70275e59bb1f4f44d43a206662be0}} 
\index{Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}!````~Lod\+Strategy\+Manager@{$\sim$\+Lod\+Strategy\+Manager}}
\index{````~Lod\+Strategy\+Manager@{$\sim$\+Lod\+Strategy\+Manager}!Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}}
\subsubsection{\texorpdfstring{$\sim$\+Lod\+Strategy\+Manager()}{~LodStrategyManager()}}
{\footnotesize\ttfamily Ogre\+::\+Lod\+Strategy\+Manager\+::$\sim$\+Lod\+Strategy\+Manager (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Destructor. 



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_lod_strategy_manager_ae0e46b7b70199f285a5520f2de34e483}\label{class_ogre_1_1_lod_strategy_manager_ae0e46b7b70199f285a5520f2de34e483}} 
\index{Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}!add\+Strategy@{add\+Strategy}}
\index{add\+Strategy@{add\+Strategy}!Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}}
\subsubsection{\texorpdfstring{add\+Strategy()}{addStrategy()}}
{\footnotesize\ttfamily void Ogre\+::\+Lod\+Strategy\+Manager\+::add\+Strategy (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy} $\ast$}]{strategy }\end{DoxyParamCaption})}



Add a strategy to the manager. 

\mbox{\Hypertarget{class_ogre_1_1_lod_strategy_manager_a6d44c74b5079b3e5b4246b093f477561}\label{class_ogre_1_1_lod_strategy_manager_a6d44c74b5079b3e5b4246b093f477561}} 
\index{Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}!remove\+Strategy@{remove\+Strategy}}
\index{remove\+Strategy@{remove\+Strategy}!Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}}
\subsubsection{\texorpdfstring{remove\+Strategy()}{removeStrategy()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy}$\ast$ Ogre\+::\+Lod\+Strategy\+Manager\+::remove\+Strategy (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})}



Remove a strategy from the manager with a specified name. 

\begin{DoxyRemark}{Remarks}
The removed strategy is returned so the user can control how it is destroyed. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_lod_strategy_manager_afba001a67e39b1e2537cfe772e6235ec}\label{class_ogre_1_1_lod_strategy_manager_afba001a67e39b1e2537cfe772e6235ec}} 
\index{Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}!remove\+All\+Strategies@{remove\+All\+Strategies}}
\index{remove\+All\+Strategies@{remove\+All\+Strategies}!Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}}
\subsubsection{\texorpdfstring{remove\+All\+Strategies()}{removeAllStrategies()}}
{\footnotesize\ttfamily void Ogre\+::\+Lod\+Strategy\+Manager\+::remove\+All\+Strategies (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Remove and delete all strategies from the manager. 

\begin{DoxyRemark}{Remarks}
All strategies are deleted. If finer control is required over strategy destruction, use remove\+Strategy. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_lod_strategy_manager_afd17cbfa1e8d4dbc13288bde43b04b12}\label{class_ogre_1_1_lod_strategy_manager_afd17cbfa1e8d4dbc13288bde43b04b12}} 
\index{Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}!get\+Strategy@{get\+Strategy}}
\index{get\+Strategy@{get\+Strategy}!Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}}
\subsubsection{\texorpdfstring{get\+Strategy()}{getStrategy()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy}$\ast$ Ogre\+::\+Lod\+Strategy\+Manager\+::get\+Strategy (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})}



Get the strategy with the specified name. 

\mbox{\Hypertarget{class_ogre_1_1_lod_strategy_manager_ae533e1c38e38eb12b377a534363262f6}\label{class_ogre_1_1_lod_strategy_manager_ae533e1c38e38eb12b377a534363262f6}} 
\index{Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}!set\+Default\+Strategy@{set\+Default\+Strategy}}
\index{set\+Default\+Strategy@{set\+Default\+Strategy}!Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}}
\subsubsection{\texorpdfstring{set\+Default\+Strategy()}{setDefaultStrategy()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Lod\+Strategy\+Manager\+::set\+Default\+Strategy (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy} $\ast$}]{strategy }\end{DoxyParamCaption})}



Set the default strategy. 

\mbox{\Hypertarget{class_ogre_1_1_lod_strategy_manager_ae6200e09fc9abc18e90ccba210931f3e}\label{class_ogre_1_1_lod_strategy_manager_ae6200e09fc9abc18e90ccba210931f3e}} 
\index{Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}!set\+Default\+Strategy@{set\+Default\+Strategy}}
\index{set\+Default\+Strategy@{set\+Default\+Strategy}!Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}}
\subsubsection{\texorpdfstring{set\+Default\+Strategy()}{setDefaultStrategy()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Lod\+Strategy\+Manager\+::set\+Default\+Strategy (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})}



Set the default strategy by name. 

\mbox{\Hypertarget{class_ogre_1_1_lod_strategy_manager_ab026fd169f21089e9f46e4c9a52656a2}\label{class_ogre_1_1_lod_strategy_manager_ab026fd169f21089e9f46e4c9a52656a2}} 
\index{Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}!get\+Default\+Strategy@{get\+Default\+Strategy}}
\index{get\+Default\+Strategy@{get\+Default\+Strategy}!Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}}
\subsubsection{\texorpdfstring{get\+Default\+Strategy()}{getDefaultStrategy()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy}$\ast$ Ogre\+::\+Lod\+Strategy\+Manager\+::get\+Default\+Strategy (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Get the current default strategy. 

\mbox{\Hypertarget{class_ogre_1_1_lod_strategy_manager_ac76befbdcec821cfdaef18e003db6a20}\label{class_ogre_1_1_lod_strategy_manager_ac76befbdcec821cfdaef18e003db6a20}} 
\index{Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}!get\+Iterator@{get\+Iterator}}
\index{get\+Iterator@{get\+Iterator}!Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}}
\subsubsection{\texorpdfstring{get\+Iterator()}{getIterator()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_map_iterator}{Map\+Iterator}$<$Strategy\+Map$>$ Ogre\+::\+Lod\+Strategy\+Manager\+::get\+Iterator (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Get an iterator for all contained strategies. 

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



Get the singleton instance. 

\mbox{\Hypertarget{class_ogre_1_1_lod_strategy_manager_ae1c307853cfa3a52383d24a76f253834}\label{class_ogre_1_1_lod_strategy_manager_ae1c307853cfa3a52383d24a76f253834}} 
\index{Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}!get\+Singleton\+Ptr@{get\+Singleton\+Ptr}}
\index{get\+Singleton\+Ptr@{get\+Singleton\+Ptr}!Ogre\+::\+Lod\+Strategy\+Manager@{Ogre\+::\+Lod\+Strategy\+Manager}}
\subsubsection{\texorpdfstring{get\+Singleton\+Ptr()}{getSingletonPtr()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_lod_strategy_manager}{Lod\+Strategy\+Manager}$\ast$ Ogre\+::\+Lod\+Strategy\+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_lod_strategy_manager_8h}{Ogre\+Lod\+Strategy\+Manager.\+h}\end{DoxyCompactItemize}
