\hypertarget{class_ogre_1_1_overlay_manager}{}\section{Ogre\+:\+:Overlay\+Manager Class Reference}
\label{class_ogre_1_1_overlay_manager}\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}


Manages \hyperlink{class_ogre_1_1_overlay}{Overlay} objects, parsing them from .overlay files and storing a lookup library of them.  




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



Inheritance diagram for Ogre\+:\+:Overlay\+Manager\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_ogre_1_1_overlay_manager__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef std\+::map$<$ \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}, \hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element} $\ast$ $>$ \hyperlink{class_ogre_1_1_overlay_manager_a96a3fbe3bce8a70cbedd1b6705106cdd}{Element\+Map}
\item 
typedef std\+::map$<$ \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}, \hyperlink{class_ogre_1_1_overlay_element_factory}{Overlay\+Element\+Factory} $\ast$ $>$ \hyperlink{class_ogre_1_1_overlay_manager_a47343d4ae891d8e1bf676c8c39104be4}{Factory\+Map}
\item 
typedef std\+::map$<$ \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}, \hyperlink{class_ogre_1_1_overlay}{Overlay} $\ast$ $>$ \hyperlink{class_ogre_1_1_overlay_manager_a1def2dea3aa2479b850b699c2c73e025}{Overlay\+Map}
\item 
typedef \hyperlink{class_ogre_1_1_map_iterator}{Map\+Iterator}$<$ \hyperlink{class_ogre_1_1_overlay_manager_a1def2dea3aa2479b850b699c2c73e025}{Overlay\+Map} $>$ \hyperlink{class_ogre_1_1_overlay_manager_a1d38898d1d08e945f186e2043444588d}{Overlay\+Map\+Iterator}
\item 
typedef \hyperlink{class_ogre_1_1_map_iterator}{Map\+Iterator}$<$ \hyperlink{class_ogre_1_1_overlay_manager_a96a3fbe3bce8a70cbedd1b6705106cdd}{Element\+Map} $>$ \hyperlink{class_ogre_1_1_overlay_manager_a8121ac9b766f9055bf52f5a30d52bd42}{Template\+Iterator}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_overlay_manager_af2079b7b61e8df96d67f852aa6de7dac}{Overlay\+Manager} ()
\item 
virtual \hyperlink{class_ogre_1_1_overlay_manager_a1cd64a87fb0ab23c3163af27989d8005}{$\sim$\+Overlay\+Manager} ()
\item 
void \hyperlink{class_ogre_1_1_overlay_manager_a1a73ce8b360346d2174a7be61d2ead7d}{\+\_\+queue\+Overlays\+For\+Rendering} (\hyperlink{class_ogre_1_1_camera}{Camera} $\ast$cam, \hyperlink{class_ogre_1_1_render_queue}{Render\+Queue} $\ast$p\+Queue, \hyperlink{class_ogre_1_1_viewport}{Viewport} $\ast$vp)
\begin{DoxyCompactList}\small\item\em Internal method for queueing the visible overlays for rendering. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_overlay_manager_a6f4c5ea14ae145edcdac623ea1c80f8e}{\+\_\+release\+Manual\+Hardware\+Resources} ()
\begin{DoxyCompactList}\small\item\em Notifies that hardware resources were lost. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_overlay_manager_a4b74d07681568ba1ab0f891e07338aee}{\+\_\+restore\+Manual\+Hardware\+Resources} ()
\begin{DoxyCompactList}\small\item\em Notifies that hardware resources should be restored. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_overlay_manager_a8d755456d249ff80d469e9c3944d22ed}{add\+Overlay\+Element\+Factory} (\hyperlink{class_ogre_1_1_overlay_element_factory}{Overlay\+Element\+Factory} $\ast$elem\+Factory)
\begin{DoxyCompactList}\small\item\em Registers a new \hyperlink{class_ogre_1_1_overlay_element_factory}{Overlay\+Element\+Factory} with this manager. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element} $\ast$ \hyperlink{class_ogre_1_1_overlay_manager_aef7dbde8bb2ecf9b8c44bd8974735c9f}{clone\+Overlay\+Element\+From\+Template} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&template\+Name, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&instance\+Name)
\item 
\hyperlink{class_ogre_1_1_overlay}{Overlay} $\ast$ \hyperlink{class_ogre_1_1_overlay_manager_ab6eb3dcc484ba5b06904ab2fb6b1aa23}{create} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\begin{DoxyCompactList}\small\item\em Create a new \hyperlink{class_ogre_1_1_overlay}{Overlay}. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element} $\ast$ \hyperlink{class_ogre_1_1_overlay_manager_a58166a773d27c22437323e8ef710406b}{create\+Overlay\+Element} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&type\+Name, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&instance\+Name, bool \hyperlink{class_ogre_1_1_overlay_manager_ac508df4466addea8c59376e8f035e5ae}{is\+Template}=false)
\begin{DoxyCompactList}\small\item\em Creates a new \hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element} of the type requested. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element} $\ast$ \hyperlink{class_ogre_1_1_overlay_manager_a093ac041b9750ba4d915b6c548d278aa}{create\+Overlay\+Element\+From\+Factory} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&type\+Name, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&instance\+Name)
\item 
\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element} $\ast$ \hyperlink{class_ogre_1_1_overlay_manager_a242cf57b312d0d77e4023ce71be9aca1}{create\+Overlay\+Element\+From\+Template} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&template\+Name, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&type\+Name, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&instance\+Name, bool \hyperlink{class_ogre_1_1_overlay_manager_ac508df4466addea8c59376e8f035e5ae}{is\+Template}=false)
\item 
void \hyperlink{class_ogre_1_1_overlay_manager_a490ccc24cd1eda279e0bf349273598e8}{destroy} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\begin{DoxyCompactList}\small\item\em Destroys an existing overlay by name. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_overlay_manager_a9bb21fa10ec0c6e77b5eff13a9dccbe8}{destroy} (\hyperlink{class_ogre_1_1_overlay}{Overlay} $\ast$overlay)
\begin{DoxyCompactList}\small\item\em Destroys an existing overlay. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_overlay_manager_ae3677704d31fd65c47e8f1f27c38fae3}{destroy\+All} (void)
\begin{DoxyCompactList}\small\item\em Destroys all existing overlays. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_overlay_manager_a24f13f48bd25f6792da795fe1c358bef}{destroy\+All\+Overlay\+Elements} (bool \hyperlink{class_ogre_1_1_overlay_manager_ac508df4466addea8c59376e8f035e5ae}{is\+Template}=false)
\begin{DoxyCompactList}\small\item\em Destroys all the \hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element} created so far. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_overlay_manager_a05a2779ad3df1e83ce3bac230312e6ae}{destroy\+Overlay\+Element} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&instance\+Name, bool \hyperlink{class_ogre_1_1_overlay_manager_ac508df4466addea8c59376e8f035e5ae}{is\+Template}=false)
\begin{DoxyCompactList}\small\item\em Destroys a \hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_overlay_manager_a016873becb2951e90e8870203f036621}{destroy\+Overlay\+Element} (\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element} $\ast$p\+Instance, bool \hyperlink{class_ogre_1_1_overlay_manager_ac508df4466addea8c59376e8f035e5ae}{is\+Template}=false)
\begin{DoxyCompactList}\small\item\em Destroys a \hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_overlay}{Overlay} $\ast$ \hyperlink{class_ogre_1_1_overlay_manager_a7d3ddc6d094b72e4b6d0f74376a118a3}{get\+By\+Name} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\begin{DoxyCompactList}\small\item\em Retrieve an \hyperlink{class_ogre_1_1_overlay}{Overlay} by name. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_overlay_manager_a3ed238d301f586507ac958827fab17b1}{get\+Loading\+Order} (void) const
\begin{DoxyCompactList}\small\item\em Gets the relative loading order of scripts of this type. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element} $\ast$ \hyperlink{class_ogre_1_1_overlay_manager_afcece7239c9ef7cb83e55d05870f797d}{get\+Overlay\+Element} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, bool \hyperlink{class_ogre_1_1_overlay_manager_ac508df4466addea8c59376e8f035e5ae}{is\+Template}=false)
\begin{DoxyCompactList}\small\item\em Gets a reference to an existing element. \end{DoxyCompactList}\item 
const \hyperlink{class_ogre_1_1_overlay_manager_a47343d4ae891d8e1bf676c8c39104be4}{Factory\+Map} \& \hyperlink{class_ogre_1_1_overlay_manager_ac0997c0cba431ee8a22e0a869ed4cb00}{get\+Overlay\+Element\+Factory\+Map} () const
\begin{DoxyCompactList}\small\item\em Get const access to the list of registered \hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element} factories. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_overlay_manager_a1d38898d1d08e945f186e2043444588d}{Overlay\+Map\+Iterator} \hyperlink{class_ogre_1_1_overlay_manager_a140ab8e9bc0e307c28b335406e45cef6}{get\+Overlay\+Iterator} (void)
\item 
const \hyperlink{group___general_ga783e5227595f351519627abfb740ec85}{String\+Vector} \& \hyperlink{class_ogre_1_1_overlay_manager_ae061c863d6304494157218125b484cc4}{get\+Script\+Patterns} (void) const
\begin{DoxyCompactList}\small\item\em Gets the file patterns which should be used to find scripts for this class. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_overlay_manager_a8121ac9b766f9055bf52f5a30d52bd42}{Template\+Iterator} \hyperlink{class_ogre_1_1_overlay_manager_a9e6ec516d1d52c5291d5f943fc843ab2}{get\+Template\+Iterator} ()
\begin{DoxyCompactList}\small\item\em Returns an iterator over all templates in this manager. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_overlay_manager_abe6a61b3eb7d445f0024d031e2783a11}{get\+Viewport\+Aspect\+Ratio} (void) const
\item 
int \hyperlink{class_ogre_1_1_overlay_manager_add848786d9b85650df1655b4918d583f}{get\+Viewport\+Height} (void) const
\begin{DoxyCompactList}\small\item\em Gets the height of the destination viewport in pixels. \end{DoxyCompactList}\item 
\hyperlink{group___math_ga86b4672dfa02cea53b10a52bd6344305}{Orientation\+Mode} \hyperlink{class_ogre_1_1_overlay_manager_ac02a7887059e5eb7b5b74c69d701858e}{get\+Viewport\+Orientation\+Mode} (void) const
\begin{DoxyCompactList}\small\item\em Gets the orientation mode of the destination viewport. \end{DoxyCompactList}\item 
int \hyperlink{class_ogre_1_1_overlay_manager_a13e54818ef3e17df61103a4aecfc801e}{get\+Viewport\+Width} (void) const
\begin{DoxyCompactList}\small\item\em Gets the width of the destination viewport in pixels. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_overlay_manager_ac0393ce7d5f905fa81ab0bfd9e56655c}{has\+Overlay\+Element} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, bool \hyperlink{class_ogre_1_1_overlay_manager_ac508df4466addea8c59376e8f035e5ae}{is\+Template}=false)
\begin{DoxyCompactList}\small\item\em Tests if an element exists. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_overlay_manager_ac508df4466addea8c59376e8f035e5ae}{is\+Template} (\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} str\+Name) const
\item 
void \hyperlink{class_ogre_1_1_overlay_manager_aceba4bfe36019ec756be252be387defc}{parse\+Script} (\hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr} \&stream, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group\+Name)
\begin{DoxyCompactList}\small\item\em Parse a script file. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{class_ogre_1_1_overlay_manager}{Overlay\+Manager} \& \hyperlink{class_ogre_1_1_overlay_manager_ade527bdaf5edb3d9d080f3cf292cfca5}{get\+Singleton} (void)
\begin{DoxyCompactList}\small\item\em Override standard \hyperlink{class_ogre_1_1_singleton}{Singleton} retrieval. \end{DoxyCompactList}\item 
static \hyperlink{class_ogre_1_1_overlay_manager}{Overlay\+Manager} $\ast$ \hyperlink{class_ogre_1_1_overlay_manager_ace76368f6fa68ae0dad4547c7f4be25c}{get\+Singleton\+Ptr} (void)
\begin{DoxyCompactList}\small\item\em Get the singleton instance. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Manages \hyperlink{class_ogre_1_1_overlay}{Overlay} objects, parsing them from .overlay files and storing a lookup library of them. 

Also manages the creation of Overlay\+Containers and Overlay\+Elements, used for non-\/interactive 2D elements such as H\+U\+Ds. 

\subsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a1def2dea3aa2479b850b699c2c73e025}\label{class_ogre_1_1_overlay_manager_a1def2dea3aa2479b850b699c2c73e025}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!Overlay\+Map@{Overlay\+Map}}
\index{Overlay\+Map@{Overlay\+Map}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{Overlay\+Map}{OverlayMap}}
{\footnotesize\ttfamily typedef std\+::map$<$\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}, \hyperlink{class_ogre_1_1_overlay}{Overlay}$\ast$$>$ \hyperlink{class_ogre_1_1_overlay_manager_a1def2dea3aa2479b850b699c2c73e025}{Ogre\+::\+Overlay\+Manager\+::\+Overlay\+Map}}

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a96a3fbe3bce8a70cbedd1b6705106cdd}\label{class_ogre_1_1_overlay_manager_a96a3fbe3bce8a70cbedd1b6705106cdd}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!Element\+Map@{Element\+Map}}
\index{Element\+Map@{Element\+Map}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{Element\+Map}{ElementMap}}
{\footnotesize\ttfamily typedef std\+::map$<$\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}, \hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}$\ast$$>$ \hyperlink{class_ogre_1_1_overlay_manager_a96a3fbe3bce8a70cbedd1b6705106cdd}{Ogre\+::\+Overlay\+Manager\+::\+Element\+Map}}

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a47343d4ae891d8e1bf676c8c39104be4}\label{class_ogre_1_1_overlay_manager_a47343d4ae891d8e1bf676c8c39104be4}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!Factory\+Map@{Factory\+Map}}
\index{Factory\+Map@{Factory\+Map}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{Factory\+Map}{FactoryMap}}
{\footnotesize\ttfamily typedef std\+::map$<$\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}, \hyperlink{class_ogre_1_1_overlay_element_factory}{Overlay\+Element\+Factory}$\ast$$>$ \hyperlink{class_ogre_1_1_overlay_manager_a47343d4ae891d8e1bf676c8c39104be4}{Ogre\+::\+Overlay\+Manager\+::\+Factory\+Map}}

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a1d38898d1d08e945f186e2043444588d}\label{class_ogre_1_1_overlay_manager_a1d38898d1d08e945f186e2043444588d}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!Overlay\+Map\+Iterator@{Overlay\+Map\+Iterator}}
\index{Overlay\+Map\+Iterator@{Overlay\+Map\+Iterator}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{Overlay\+Map\+Iterator}{OverlayMapIterator}}
{\footnotesize\ttfamily typedef \hyperlink{class_ogre_1_1_map_iterator}{Map\+Iterator}$<$\hyperlink{class_ogre_1_1_overlay_manager_a1def2dea3aa2479b850b699c2c73e025}{Overlay\+Map}$>$ \hyperlink{class_ogre_1_1_overlay_manager_a1d38898d1d08e945f186e2043444588d}{Ogre\+::\+Overlay\+Manager\+::\+Overlay\+Map\+Iterator}}

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a8121ac9b766f9055bf52f5a30d52bd42}\label{class_ogre_1_1_overlay_manager_a8121ac9b766f9055bf52f5a30d52bd42}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!Template\+Iterator@{Template\+Iterator}}
\index{Template\+Iterator@{Template\+Iterator}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{Template\+Iterator}{TemplateIterator}}
{\footnotesize\ttfamily typedef \hyperlink{class_ogre_1_1_map_iterator}{Map\+Iterator}$<$\hyperlink{class_ogre_1_1_overlay_manager_a96a3fbe3bce8a70cbedd1b6705106cdd}{Element\+Map}$>$ \hyperlink{class_ogre_1_1_overlay_manager_a8121ac9b766f9055bf52f5a30d52bd42}{Ogre\+::\+Overlay\+Manager\+::\+Template\+Iterator}}



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_af2079b7b61e8df96d67f852aa6de7dac}\label{class_ogre_1_1_overlay_manager_af2079b7b61e8df96d67f852aa6de7dac}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!Overlay\+Manager@{Overlay\+Manager}}
\index{Overlay\+Manager@{Overlay\+Manager}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{Overlay\+Manager()}{OverlayManager()}}
{\footnotesize\ttfamily Ogre\+::\+Overlay\+Manager\+::\+Overlay\+Manager (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

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



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a6f4c5ea14ae145edcdac623ea1c80f8e}\label{class_ogre_1_1_overlay_manager_a6f4c5ea14ae145edcdac623ea1c80f8e}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!\+\_\+release\+Manual\+Hardware\+Resources@{\+\_\+release\+Manual\+Hardware\+Resources}}
\index{\+\_\+release\+Manual\+Hardware\+Resources@{\+\_\+release\+Manual\+Hardware\+Resources}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+release\+Manual\+Hardware\+Resources()}{\_releaseManualHardwareResources()}}
{\footnotesize\ttfamily void Ogre\+::\+Overlay\+Manager\+::\+\_\+release\+Manual\+Hardware\+Resources (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Notifies that hardware resources were lost. 

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a4b74d07681568ba1ab0f891e07338aee}\label{class_ogre_1_1_overlay_manager_a4b74d07681568ba1ab0f891e07338aee}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!\+\_\+restore\+Manual\+Hardware\+Resources@{\+\_\+restore\+Manual\+Hardware\+Resources}}
\index{\+\_\+restore\+Manual\+Hardware\+Resources@{\+\_\+restore\+Manual\+Hardware\+Resources}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+restore\+Manual\+Hardware\+Resources()}{\_restoreManualHardwareResources()}}
{\footnotesize\ttfamily void Ogre\+::\+Overlay\+Manager\+::\+\_\+restore\+Manual\+Hardware\+Resources (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Notifies that hardware resources should be restored. 

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_ae061c863d6304494157218125b484cc4}\label{class_ogre_1_1_overlay_manager_ae061c863d6304494157218125b484cc4}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!get\+Script\+Patterns@{get\+Script\+Patterns}}
\index{get\+Script\+Patterns@{get\+Script\+Patterns}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{get\+Script\+Patterns()}{getScriptPatterns()}}
{\footnotesize\ttfamily const \hyperlink{group___general_ga783e5227595f351519627abfb740ec85}{String\+Vector}\& Ogre\+::\+Overlay\+Manager\+::get\+Script\+Patterns (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Gets the file patterns which should be used to find scripts for this class. 

\begin{DoxyRemark}{Remarks}
This method is called when a resource group is loaded if you use \hyperlink{class_ogre_1_1_resource_group_manager_aafd69be90e1774f2a4b34c4e6dcaa38a}{Resource\+Group\+Manager\+::\+\_\+register\+Script\+Loader}. 
\end{DoxyRemark}
\begin{DoxyReturn}{Returns}
A list of file patterns, in the order they should be searched in. 
\end{DoxyReturn}


Implements \hyperlink{class_ogre_1_1_script_loader_a78189fd757a233f34d5d272f76f6abf6}{Ogre\+::\+Script\+Loader}.

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_aceba4bfe36019ec756be252be387defc}\label{class_ogre_1_1_overlay_manager_aceba4bfe36019ec756be252be387defc}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!parse\+Script@{parse\+Script}}
\index{parse\+Script@{parse\+Script}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{parse\+Script()}{parseScript()}}
{\footnotesize\ttfamily void Ogre\+::\+Overlay\+Manager\+::parse\+Script (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr} \&}]{stream,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Parse a script file. 


\begin{DoxyParams}{Parameters}
{\em stream} & Weak reference to a data stream which is the source of the script \\
\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
\end{DoxyParams}


Implements \hyperlink{class_ogre_1_1_script_loader_a6bd73a15503c5cb29ed8b7e264e12293}{Ogre\+::\+Script\+Loader}.

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a3ed238d301f586507ac958827fab17b1}\label{class_ogre_1_1_overlay_manager_a3ed238d301f586507ac958827fab17b1}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!get\+Loading\+Order@{get\+Loading\+Order}}
\index{get\+Loading\+Order@{get\+Loading\+Order}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{get\+Loading\+Order()}{getLoadingOrder()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Overlay\+Manager\+::get\+Loading\+Order (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Gets the relative loading order of scripts of this type. 

\begin{DoxyRemark}{Remarks}
There are dependencies between some kinds of scripts, and to enforce this all implementors of this interface must define a loading order. 
\end{DoxyRemark}
\begin{DoxyReturn}{Returns}
A value representing the relative loading order of these scripts compared to other script users, where higher values load later. 
\end{DoxyReturn}


Implements \hyperlink{class_ogre_1_1_script_loader_a12af311e1399d48c02c57bb545b50497}{Ogre\+::\+Script\+Loader}.

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_ab6eb3dcc484ba5b06904ab2fb6b1aa23}\label{class_ogre_1_1_overlay_manager_ab6eb3dcc484ba5b06904ab2fb6b1aa23}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!create@{create}}
\index{create@{create}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{create()}{create()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_overlay}{Overlay}$\ast$ Ogre\+::\+Overlay\+Manager\+::create (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})}



Create a new \hyperlink{class_ogre_1_1_overlay}{Overlay}. 

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a7d3ddc6d094b72e4b6d0f74376a118a3}\label{class_ogre_1_1_overlay_manager_a7d3ddc6d094b72e4b6d0f74376a118a3}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!get\+By\+Name@{get\+By\+Name}}
\index{get\+By\+Name@{get\+By\+Name}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{get\+By\+Name()}{getByName()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_overlay}{Overlay}$\ast$ Ogre\+::\+Overlay\+Manager\+::get\+By\+Name (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})}



Retrieve an \hyperlink{class_ogre_1_1_overlay}{Overlay} by name. 

\begin{DoxyReturn}{Returns}
A pointer to the \hyperlink{class_ogre_1_1_overlay}{Overlay}, or 0 if not found 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a490ccc24cd1eda279e0bf349273598e8}\label{class_ogre_1_1_overlay_manager_a490ccc24cd1eda279e0bf349273598e8}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!destroy@{destroy}}
\index{destroy@{destroy}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{destroy()}{destroy()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Overlay\+Manager\+::destroy (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})}



Destroys an existing overlay by name. 

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a9bb21fa10ec0c6e77b5eff13a9dccbe8}\label{class_ogre_1_1_overlay_manager_a9bb21fa10ec0c6e77b5eff13a9dccbe8}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!destroy@{destroy}}
\index{destroy@{destroy}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{destroy()}{destroy()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Overlay\+Manager\+::destroy (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_overlay}{Overlay} $\ast$}]{overlay }\end{DoxyParamCaption})}



Destroys an existing overlay. 

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_ae3677704d31fd65c47e8f1f27c38fae3}\label{class_ogre_1_1_overlay_manager_ae3677704d31fd65c47e8f1f27c38fae3}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!destroy\+All@{destroy\+All}}
\index{destroy\+All@{destroy\+All}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{destroy\+All()}{destroyAll()}}
{\footnotesize\ttfamily void Ogre\+::\+Overlay\+Manager\+::destroy\+All (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Destroys all existing overlays. 

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a140ab8e9bc0e307c28b335406e45cef6}\label{class_ogre_1_1_overlay_manager_a140ab8e9bc0e307c28b335406e45cef6}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!get\+Overlay\+Iterator@{get\+Overlay\+Iterator}}
\index{get\+Overlay\+Iterator@{get\+Overlay\+Iterator}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{get\+Overlay\+Iterator()}{getOverlayIterator()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_overlay_manager_a1d38898d1d08e945f186e2043444588d}{Overlay\+Map\+Iterator} Ogre\+::\+Overlay\+Manager\+::get\+Overlay\+Iterator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a1a73ce8b360346d2174a7be61d2ead7d}\label{class_ogre_1_1_overlay_manager_a1a73ce8b360346d2174a7be61d2ead7d}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!\+\_\+queue\+Overlays\+For\+Rendering@{\+\_\+queue\+Overlays\+For\+Rendering}}
\index{\+\_\+queue\+Overlays\+For\+Rendering@{\+\_\+queue\+Overlays\+For\+Rendering}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+queue\+Overlays\+For\+Rendering()}{\_queueOverlaysForRendering()}}
{\footnotesize\ttfamily void Ogre\+::\+Overlay\+Manager\+::\+\_\+queue\+Overlays\+For\+Rendering (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_camera}{Camera} $\ast$}]{cam,  }\item[{\hyperlink{class_ogre_1_1_render_queue}{Render\+Queue} $\ast$}]{p\+Queue,  }\item[{\hyperlink{class_ogre_1_1_viewport}{Viewport} $\ast$}]{vp }\end{DoxyParamCaption})}



Internal method for queueing the visible overlays for rendering. 

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_add848786d9b85650df1655b4918d583f}\label{class_ogre_1_1_overlay_manager_add848786d9b85650df1655b4918d583f}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!get\+Viewport\+Height@{get\+Viewport\+Height}}
\index{get\+Viewport\+Height@{get\+Viewport\+Height}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{get\+Viewport\+Height()}{getViewportHeight()}}
{\footnotesize\ttfamily int Ogre\+::\+Overlay\+Manager\+::get\+Viewport\+Height (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the height of the destination viewport in pixels. 

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a13e54818ef3e17df61103a4aecfc801e}\label{class_ogre_1_1_overlay_manager_a13e54818ef3e17df61103a4aecfc801e}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!get\+Viewport\+Width@{get\+Viewport\+Width}}
\index{get\+Viewport\+Width@{get\+Viewport\+Width}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{get\+Viewport\+Width()}{getViewportWidth()}}
{\footnotesize\ttfamily int Ogre\+::\+Overlay\+Manager\+::get\+Viewport\+Width (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the width of the destination viewport in pixels. 

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_abe6a61b3eb7d445f0024d031e2783a11}\label{class_ogre_1_1_overlay_manager_abe6a61b3eb7d445f0024d031e2783a11}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!get\+Viewport\+Aspect\+Ratio@{get\+Viewport\+Aspect\+Ratio}}
\index{get\+Viewport\+Aspect\+Ratio@{get\+Viewport\+Aspect\+Ratio}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{get\+Viewport\+Aspect\+Ratio()}{getViewportAspectRatio()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Overlay\+Manager\+::get\+Viewport\+Aspect\+Ratio (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_ac02a7887059e5eb7b5b74c69d701858e}\label{class_ogre_1_1_overlay_manager_ac02a7887059e5eb7b5b74c69d701858e}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!get\+Viewport\+Orientation\+Mode@{get\+Viewport\+Orientation\+Mode}}
\index{get\+Viewport\+Orientation\+Mode@{get\+Viewport\+Orientation\+Mode}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{get\+Viewport\+Orientation\+Mode()}{getViewportOrientationMode()}}
{\footnotesize\ttfamily \hyperlink{group___math_ga86b4672dfa02cea53b10a52bd6344305}{Orientation\+Mode} Ogre\+::\+Overlay\+Manager\+::get\+Viewport\+Orientation\+Mode (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the orientation mode of the destination viewport. 

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a58166a773d27c22437323e8ef710406b}\label{class_ogre_1_1_overlay_manager_a58166a773d27c22437323e8ef710406b}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!create\+Overlay\+Element@{create\+Overlay\+Element}}
\index{create\+Overlay\+Element@{create\+Overlay\+Element}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{create\+Overlay\+Element()}{createOverlayElement()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}$\ast$ Ogre\+::\+Overlay\+Manager\+::create\+Overlay\+Element (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{type\+Name,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{instance\+Name,  }\item[{bool}]{is\+Template = {\ttfamily false} }\end{DoxyParamCaption})}



Creates a new \hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element} of the type requested. 

\begin{DoxyRemark}{Remarks}
The type of element to create is passed in as a string because this allows plugins to register new types of component. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em type\+Name} & The type of element to create. \\
\hline
{\em instance\+Name} & The name to give the new instance. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_afcece7239c9ef7cb83e55d05870f797d}\label{class_ogre_1_1_overlay_manager_afcece7239c9ef7cb83e55d05870f797d}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!get\+Overlay\+Element@{get\+Overlay\+Element}}
\index{get\+Overlay\+Element@{get\+Overlay\+Element}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{get\+Overlay\+Element()}{getOverlayElement()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}$\ast$ Ogre\+::\+Overlay\+Manager\+::get\+Overlay\+Element (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{bool}]{is\+Template = {\ttfamily false} }\end{DoxyParamCaption})}



Gets a reference to an existing element. 

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_ac0393ce7d5f905fa81ab0bfd9e56655c}\label{class_ogre_1_1_overlay_manager_ac0393ce7d5f905fa81ab0bfd9e56655c}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!has\+Overlay\+Element@{has\+Overlay\+Element}}
\index{has\+Overlay\+Element@{has\+Overlay\+Element}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{has\+Overlay\+Element()}{hasOverlayElement()}}
{\footnotesize\ttfamily bool Ogre\+::\+Overlay\+Manager\+::has\+Overlay\+Element (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{bool}]{is\+Template = {\ttfamily false} }\end{DoxyParamCaption})}



Tests if an element exists. 

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a05a2779ad3df1e83ce3bac230312e6ae}\label{class_ogre_1_1_overlay_manager_a05a2779ad3df1e83ce3bac230312e6ae}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!destroy\+Overlay\+Element@{destroy\+Overlay\+Element}}
\index{destroy\+Overlay\+Element@{destroy\+Overlay\+Element}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{destroy\+Overlay\+Element()}{destroyOverlayElement()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Overlay\+Manager\+::destroy\+Overlay\+Element (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{instance\+Name,  }\item[{bool}]{is\+Template = {\ttfamily false} }\end{DoxyParamCaption})}



Destroys a \hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}. 

\begin{DoxyRemark}{Remarks}
Make sure you\textquotesingle{}re not still using this in an \hyperlink{class_ogre_1_1_overlay}{Overlay}. If in doubt, let O\+G\+RE destroy elements on shutdown. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a016873becb2951e90e8870203f036621}\label{class_ogre_1_1_overlay_manager_a016873becb2951e90e8870203f036621}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!destroy\+Overlay\+Element@{destroy\+Overlay\+Element}}
\index{destroy\+Overlay\+Element@{destroy\+Overlay\+Element}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{destroy\+Overlay\+Element()}{destroyOverlayElement()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Overlay\+Manager\+::destroy\+Overlay\+Element (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element} $\ast$}]{p\+Instance,  }\item[{bool}]{is\+Template = {\ttfamily false} }\end{DoxyParamCaption})}



Destroys a \hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}. 

\begin{DoxyRemark}{Remarks}
Make sure you\textquotesingle{}re not still using this in an \hyperlink{class_ogre_1_1_overlay}{Overlay}. If in doubt, let O\+G\+RE destroy elements on shutdown. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a24f13f48bd25f6792da795fe1c358bef}\label{class_ogre_1_1_overlay_manager_a24f13f48bd25f6792da795fe1c358bef}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!destroy\+All\+Overlay\+Elements@{destroy\+All\+Overlay\+Elements}}
\index{destroy\+All\+Overlay\+Elements@{destroy\+All\+Overlay\+Elements}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{destroy\+All\+Overlay\+Elements()}{destroyAllOverlayElements()}}
{\footnotesize\ttfamily void Ogre\+::\+Overlay\+Manager\+::destroy\+All\+Overlay\+Elements (\begin{DoxyParamCaption}\item[{bool}]{is\+Template = {\ttfamily false} }\end{DoxyParamCaption})}



Destroys all the \hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element} created so far. 

\begin{DoxyRemark}{Remarks}
Best to leave this to the engine to call internally, there should rarely be a need to call it yourself. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a8d755456d249ff80d469e9c3944d22ed}\label{class_ogre_1_1_overlay_manager_a8d755456d249ff80d469e9c3944d22ed}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!add\+Overlay\+Element\+Factory@{add\+Overlay\+Element\+Factory}}
\index{add\+Overlay\+Element\+Factory@{add\+Overlay\+Element\+Factory}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{add\+Overlay\+Element\+Factory()}{addOverlayElementFactory()}}
{\footnotesize\ttfamily void Ogre\+::\+Overlay\+Manager\+::add\+Overlay\+Element\+Factory (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_overlay_element_factory}{Overlay\+Element\+Factory} $\ast$}]{elem\+Factory }\end{DoxyParamCaption})}



Registers a new \hyperlink{class_ogre_1_1_overlay_element_factory}{Overlay\+Element\+Factory} with this manager. 

\begin{DoxyRemark}{Remarks}
Should be used by plugins or other apps wishing to provide a new \hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element} subclass. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_ac0997c0cba431ee8a22e0a869ed4cb00}\label{class_ogre_1_1_overlay_manager_ac0997c0cba431ee8a22e0a869ed4cb00}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!get\+Overlay\+Element\+Factory\+Map@{get\+Overlay\+Element\+Factory\+Map}}
\index{get\+Overlay\+Element\+Factory\+Map@{get\+Overlay\+Element\+Factory\+Map}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{get\+Overlay\+Element\+Factory\+Map()}{getOverlayElementFactoryMap()}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_overlay_manager_a47343d4ae891d8e1bf676c8c39104be4}{Factory\+Map}\& Ogre\+::\+Overlay\+Manager\+::get\+Overlay\+Element\+Factory\+Map (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get const access to the list of registered \hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element} factories. 

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a242cf57b312d0d77e4023ce71be9aca1}\label{class_ogre_1_1_overlay_manager_a242cf57b312d0d77e4023ce71be9aca1}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!create\+Overlay\+Element\+From\+Template@{create\+Overlay\+Element\+From\+Template}}
\index{create\+Overlay\+Element\+From\+Template@{create\+Overlay\+Element\+From\+Template}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{create\+Overlay\+Element\+From\+Template()}{createOverlayElementFromTemplate()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}$\ast$ Ogre\+::\+Overlay\+Manager\+::create\+Overlay\+Element\+From\+Template (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{template\+Name,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{type\+Name,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{instance\+Name,  }\item[{bool}]{is\+Template = {\ttfamily false} }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_aef7dbde8bb2ecf9b8c44bd8974735c9f}\label{class_ogre_1_1_overlay_manager_aef7dbde8bb2ecf9b8c44bd8974735c9f}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!clone\+Overlay\+Element\+From\+Template@{clone\+Overlay\+Element\+From\+Template}}
\index{clone\+Overlay\+Element\+From\+Template@{clone\+Overlay\+Element\+From\+Template}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{clone\+Overlay\+Element\+From\+Template()}{cloneOverlayElementFromTemplate()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}$\ast$ Ogre\+::\+Overlay\+Manager\+::clone\+Overlay\+Element\+From\+Template (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{template\+Name,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{instance\+Name }\end{DoxyParamCaption})}

\begin{DoxyRemark}{Remarks}
Creates a new \hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element} object from the specified template name. The new object\textquotesingle{}s name, and all of it\textquotesingle{}s children, will be instance\+Name/orignal\+Name. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a093ac041b9750ba4d915b6c548d278aa}\label{class_ogre_1_1_overlay_manager_a093ac041b9750ba4d915b6c548d278aa}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!create\+Overlay\+Element\+From\+Factory@{create\+Overlay\+Element\+From\+Factory}}
\index{create\+Overlay\+Element\+From\+Factory@{create\+Overlay\+Element\+From\+Factory}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{create\+Overlay\+Element\+From\+Factory()}{createOverlayElementFromFactory()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}$\ast$ Ogre\+::\+Overlay\+Manager\+::create\+Overlay\+Element\+From\+Factory (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{type\+Name,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{instance\+Name }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a9e6ec516d1d52c5291d5f943fc843ab2}\label{class_ogre_1_1_overlay_manager_a9e6ec516d1d52c5291d5f943fc843ab2}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!get\+Template\+Iterator@{get\+Template\+Iterator}}
\index{get\+Template\+Iterator@{get\+Template\+Iterator}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{get\+Template\+Iterator()}{getTemplateIterator()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_overlay_manager_a8121ac9b766f9055bf52f5a30d52bd42}{Template\+Iterator} Ogre\+::\+Overlay\+Manager\+::get\+Template\+Iterator (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Returns an iterator over all templates in this manager. 

\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_ac508df4466addea8c59376e8f035e5ae}\label{class_ogre_1_1_overlay_manager_ac508df4466addea8c59376e8f035e5ae}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!is\+Template@{is\+Template}}
\index{is\+Template@{is\+Template}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{is\+Template()}{isTemplate()}}
{\footnotesize\ttfamily bool Ogre\+::\+Overlay\+Manager\+::is\+Template (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}]{str\+Name }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

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



Override standard \hyperlink{class_ogre_1_1_singleton}{Singleton} retrieval. 

\begin{DoxyRemark}{Remarks}
Why do we do this? Well, it\textquotesingle{}s because the \hyperlink{class_ogre_1_1_singleton}{Singleton} implementation is in a .h file, which means it gets compiled into anybody who includes it. This is needed for the \hyperlink{class_ogre_1_1_singleton}{Singleton} template to work, but we actually only want it compiled into the implementation of the class based on the \hyperlink{class_ogre_1_1_singleton}{Singleton}, not all of them. If we don\textquotesingle{}t change this, we get link errors when trying to use the Singleton-\/based class from an outside dll. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
This method just delegates to the template version anyway, but the implementation stays in this single compilation unit, preventing link errors. 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_ace76368f6fa68ae0dad4547c7f4be25c}\label{class_ogre_1_1_overlay_manager_ace76368f6fa68ae0dad4547c7f4be25c}} 
\index{Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}!get\+Singleton\+Ptr@{get\+Singleton\+Ptr}}
\index{get\+Singleton\+Ptr@{get\+Singleton\+Ptr}!Ogre\+::\+Overlay\+Manager@{Ogre\+::\+Overlay\+Manager}}
\subsubsection{\texorpdfstring{get\+Singleton\+Ptr()}{getSingletonPtr()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_overlay_manager}{Overlay\+Manager}$\ast$ Ogre\+::\+Overlay\+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_overlay_manager_8h}{Ogre\+Overlay\+Manager.\+h}\end{DoxyCompactItemize}
