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


Manages \mbox{\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}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef std\+::map$<$ \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}, \mbox{\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}} $\ast$ $>$ \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a96a3fbe3bce8a70cbedd1b6705106cdd}{Element\+Map}}
\item 
typedef std\+::map$<$ \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}, \mbox{\hyperlink{class_ogre_1_1_overlay_element_factory}{Overlay\+Element\+Factory}} $\ast$ $>$ \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a47343d4ae891d8e1bf676c8c39104be4}{Factory\+Map}}
\item 
typedef std\+::map$<$ \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}, \mbox{\hyperlink{class_ogre_1_1_overlay}{Overlay}} $\ast$ $>$ \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a1def2dea3aa2479b850b699c2c73e025}{Overlay\+Map}}
\item 
typedef \mbox{\hyperlink{class_ogre_1_1_map_iterator}{Map\+Iterator}}$<$ \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a1def2dea3aa2479b850b699c2c73e025}{Overlay\+Map}} $>$ \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a1d38898d1d08e945f186e2043444588d}{Overlay\+Map\+Iterator}}
\item 
typedef \mbox{\hyperlink{class_ogre_1_1_map_iterator}{Map\+Iterator}}$<$ \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a96a3fbe3bce8a70cbedd1b6705106cdd}{Element\+Map}} $>$ \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a8121ac9b766f9055bf52f5a30d52bd42}{Template\+Iterator}}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_overlay_manager_af2079b7b61e8df96d67f852aa6de7dac}{Overlay\+Manager}} ()
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a1cd64a87fb0ab23c3163af27989d8005}{$\sim$\+Overlay\+Manager}} ()
\item 
void \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a1a73ce8b360346d2174a7be61d2ead7d}{\+\_\+queue\+Overlays\+For\+Rendering}} (\mbox{\hyperlink{class_ogre_1_1_camera}{Camera}} $\ast$cam, \mbox{\hyperlink{class_ogre_1_1_render_queue}{Render\+Queue}} $\ast$p\+Queue, \mbox{\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 \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a8d755456d249ff80d469e9c3944d22ed}{add\+Overlay\+Element\+Factory}} (\mbox{\hyperlink{class_ogre_1_1_overlay_element_factory}{Overlay\+Element\+Factory}} $\ast$elem\+Factory)
\begin{DoxyCompactList}\small\item\em Registers a new \mbox{\hyperlink{class_ogre_1_1_overlay_element_factory}{Overlay\+Element\+Factory}} with this manager. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_overlay_manager_aef7dbde8bb2ecf9b8c44bd8974735c9f}{clone\+Overlay\+Element\+From\+Template}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&template\+Name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&instance\+Name)
\item 
\mbox{\hyperlink{class_ogre_1_1_overlay}{Overlay}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_overlay_manager_ab6eb3dcc484ba5b06904ab2fb6b1aa23}{create}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Create a new \mbox{\hyperlink{class_ogre_1_1_overlay}{Overlay}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a58166a773d27c22437323e8ef710406b}{create\+Overlay\+Element}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&type\+Name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&instance\+Name, bool \mbox{\hyperlink{class_ogre_1_1_overlay_manager_ac508df4466addea8c59376e8f035e5ae}{is\+Template}}=false)
\begin{DoxyCompactList}\small\item\em Creates a new \mbox{\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}} of the type requested. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a093ac041b9750ba4d915b6c548d278aa}{create\+Overlay\+Element\+From\+Factory}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&type\+Name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&instance\+Name)
\item 
\mbox{\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a242cf57b312d0d77e4023ce71be9aca1}{create\+Overlay\+Element\+From\+Template}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&template\+Name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&type\+Name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&instance\+Name, bool \mbox{\hyperlink{class_ogre_1_1_overlay_manager_ac508df4466addea8c59376e8f035e5ae}{is\+Template}}=false)
\item 
void \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a490ccc24cd1eda279e0bf349273598e8}{destroy}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Destroys an existing overlay by name. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a9bb21fa10ec0c6e77b5eff13a9dccbe8}{destroy}} (\mbox{\hyperlink{class_ogre_1_1_overlay}{Overlay}} $\ast$overlay)
\begin{DoxyCompactList}\small\item\em Destroys an existing overlay. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_overlay_manager_ae3677704d31fd65c47e8f1f27c38fae3}{destroy\+All}} (void)
\begin{DoxyCompactList}\small\item\em Destroys all existing overlays. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a24f13f48bd25f6792da795fe1c358bef}{destroy\+All\+Overlay\+Elements}} (bool \mbox{\hyperlink{class_ogre_1_1_overlay_manager_ac508df4466addea8c59376e8f035e5ae}{is\+Template}}=false)
\begin{DoxyCompactList}\small\item\em Destroys all the \mbox{\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}} created so far. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a05a2779ad3df1e83ce3bac230312e6ae}{destroy\+Overlay\+Element}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&instance\+Name, bool \mbox{\hyperlink{class_ogre_1_1_overlay_manager_ac508df4466addea8c59376e8f035e5ae}{is\+Template}}=false)
\begin{DoxyCompactList}\small\item\em Destroys a \mbox{\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a016873becb2951e90e8870203f036621}{destroy\+Overlay\+Element}} (\mbox{\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}} $\ast$p\+Instance, bool \mbox{\hyperlink{class_ogre_1_1_overlay_manager_ac508df4466addea8c59376e8f035e5ae}{is\+Template}}=false)
\begin{DoxyCompactList}\small\item\em Destroys a \mbox{\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_overlay}{Overlay}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a7d3ddc6d094b72e4b6d0f74376a118a3}{get\+By\+Name}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Retrieve an \mbox{\hyperlink{class_ogre_1_1_overlay}{Overlay}} by name. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_overlay_manager_afcece7239c9ef7cb83e55d05870f797d}{get\+Overlay\+Element}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, bool \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a47343d4ae891d8e1bf676c8c39104be4}{Factory\+Map}} \& \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}} factories. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_overlay_manager_a1d38898d1d08e945f186e2043444588d}{Overlay\+Map\+Iterator}} \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a140ab8e9bc0e307c28b335406e45cef6}{get\+Overlay\+Iterator}} (void)
\item 
const \mbox{\hyperlink{group___general_ga783e5227595f351519627abfb740ec85}{String\+Vector}} \& \mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_overlay_manager_a8121ac9b766f9055bf52f5a30d52bd42}{Template\+Iterator}} \mbox{\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 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_overlay_manager_abe6a61b3eb7d445f0024d031e2783a11}{get\+Viewport\+Aspect\+Ratio}} (void) const
\item 
int \mbox{\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 
\mbox{\hyperlink{group___math_ga86b4672dfa02cea53b10a52bd6344305}{Orientation\+Mode}} \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_overlay_manager_ac0393ce7d5f905fa81ab0bfd9e56655c}{has\+Overlay\+Element}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, bool \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_overlay_manager_ac508df4466addea8c59376e8f035e5ae}{is\+Template}} (\mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} str\+Name) const
\item 
void \mbox{\hyperlink{class_ogre_1_1_overlay_manager_aceba4bfe36019ec756be252be387defc}{parse\+Script}} (\mbox{\hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr}} \&stream, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group\+Name)
\begin{DoxyCompactList}\small\item\em Parse a script file. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{class_ogre_1_1_overlay_manager}{Overlay\+Manager}} \& \mbox{\hyperlink{class_ogre_1_1_overlay_manager_ade527bdaf5edb3d9d080f3cf292cfca5}{get\+Singleton}} (void)
\begin{DoxyCompactList}\small\item\em Override standard \mbox{\hyperlink{class_ogre_1_1_singleton}{Singleton}} retrieval. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{class_ogre_1_1_overlay_manager}{Overlay\+Manager}} $\ast$ \mbox{\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}


\doxysubsection{Detailed Description}
Manages \mbox{\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. 

\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a1def2dea3aa2479b850b699c2c73e025}\label{class_ogre_1_1_overlay_manager_a1def2dea3aa2479b850b699c2c73e025}} 
\index{Ogre::OverlayManager@{Ogre::OverlayManager}!OverlayMap@{OverlayMap}}
\index{OverlayMap@{OverlayMap}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{OverlayMap}{OverlayMap}}
{\footnotesize\ttfamily typedef std\+::map$<$\mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}, \mbox{\hyperlink{class_ogre_1_1_overlay}{Overlay}}$\ast$$>$ \mbox{\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::OverlayManager@{Ogre::OverlayManager}!ElementMap@{ElementMap}}
\index{ElementMap@{ElementMap}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{ElementMap}{ElementMap}}
{\footnotesize\ttfamily typedef std\+::map$<$\mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}, \mbox{\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}}$\ast$$>$ \mbox{\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::OverlayManager@{Ogre::OverlayManager}!FactoryMap@{FactoryMap}}
\index{FactoryMap@{FactoryMap}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{FactoryMap}{FactoryMap}}
{\footnotesize\ttfamily typedef std\+::map$<$\mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}, \mbox{\hyperlink{class_ogre_1_1_overlay_element_factory}{Overlay\+Element\+Factory}}$\ast$$>$ \mbox{\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::OverlayManager@{Ogre::OverlayManager}!OverlayMapIterator@{OverlayMapIterator}}
\index{OverlayMapIterator@{OverlayMapIterator}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{OverlayMapIterator}{OverlayMapIterator}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{class_ogre_1_1_map_iterator}{Map\+Iterator}}$<$\mbox{\hyperlink{class_ogre_1_1_overlay_manager_a1def2dea3aa2479b850b699c2c73e025}{Overlay\+Map}}$>$ \mbox{\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::OverlayManager@{Ogre::OverlayManager}!TemplateIterator@{TemplateIterator}}
\index{TemplateIterator@{TemplateIterator}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{TemplateIterator}{TemplateIterator}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{class_ogre_1_1_map_iterator}{Map\+Iterator}}$<$\mbox{\hyperlink{class_ogre_1_1_overlay_manager_a96a3fbe3bce8a70cbedd1b6705106cdd}{Element\+Map}}$>$ \mbox{\hyperlink{class_ogre_1_1_overlay_manager_a8121ac9b766f9055bf52f5a30d52bd42}{Ogre\+::\+Overlay\+Manager\+::\+Template\+Iterator}}}



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



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_overlay_manager_a6f4c5ea14ae145edcdac623ea1c80f8e}\label{class_ogre_1_1_overlay_manager_a6f4c5ea14ae145edcdac623ea1c80f8e}} 
\index{Ogre::OverlayManager@{Ogre::OverlayManager}!\_releaseManualHardwareResources@{\_releaseManualHardwareResources}}
\index{\_releaseManualHardwareResources@{\_releaseManualHardwareResources}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{\_releaseManualHardwareResources()}{\_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::OverlayManager@{Ogre::OverlayManager}!\_restoreManualHardwareResources@{\_restoreManualHardwareResources}}
\index{\_restoreManualHardwareResources@{\_restoreManualHardwareResources}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{\_restoreManualHardwareResources()}{\_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::OverlayManager@{Ogre::OverlayManager}!getScriptPatterns@{getScriptPatterns}}
\index{getScriptPatterns@{getScriptPatterns}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{getScriptPatterns()}{getScriptPatterns()}}
{\footnotesize\ttfamily const \mbox{\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 \mbox{\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 \mbox{\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::OverlayManager@{Ogre::OverlayManager}!parseScript@{parseScript}}
\index{parseScript@{parseScript}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{parseScript()}{parseScript()}}
{\footnotesize\ttfamily void Ogre\+::\+Overlay\+Manager\+::parse\+Script (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr}} \&}]{stream,  }\item[{const \mbox{\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 \mbox{\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::OverlayManager@{Ogre::OverlayManager}!getLoadingOrder@{getLoadingOrder}}
\index{getLoadingOrder@{getLoadingOrder}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{getLoadingOrder()}{getLoadingOrder()}}
{\footnotesize\ttfamily \mbox{\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 \mbox{\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::OverlayManager@{Ogre::OverlayManager}!create@{create}}
\index{create@{create}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{create()}{create()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_overlay}{Overlay}}$\ast$ Ogre\+::\+Overlay\+Manager\+::create (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})}



Create a new \mbox{\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::OverlayManager@{Ogre::OverlayManager}!getByName@{getByName}}
\index{getByName@{getByName}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{getByName()}{getByName()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_overlay}{Overlay}}$\ast$ Ogre\+::\+Overlay\+Manager\+::get\+By\+Name (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})}



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

\begin{DoxyReturn}{Returns}
A pointer to the \mbox{\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::OverlayManager@{Ogre::OverlayManager}!destroy@{destroy}}
\index{destroy@{destroy}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{destroy()}{destroy()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Overlay\+Manager\+::destroy (\begin{DoxyParamCaption}\item[{const \mbox{\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::OverlayManager@{Ogre::OverlayManager}!destroy@{destroy}}
\index{destroy@{destroy}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{destroy()}{destroy()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Overlay\+Manager\+::destroy (\begin{DoxyParamCaption}\item[{\mbox{\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::OverlayManager@{Ogre::OverlayManager}!destroyAll@{destroyAll}}
\index{destroyAll@{destroyAll}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{destroyAll()}{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::OverlayManager@{Ogre::OverlayManager}!getOverlayIterator@{getOverlayIterator}}
\index{getOverlayIterator@{getOverlayIterator}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{getOverlayIterator()}{getOverlayIterator()}}
{\footnotesize\ttfamily \mbox{\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::OverlayManager@{Ogre::OverlayManager}!\_queueOverlaysForRendering@{\_queueOverlaysForRendering}}
\index{\_queueOverlaysForRendering@{\_queueOverlaysForRendering}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{\_queueOverlaysForRendering()}{\_queueOverlaysForRendering()}}
{\footnotesize\ttfamily void Ogre\+::\+Overlay\+Manager\+::\+\_\+queue\+Overlays\+For\+Rendering (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_camera}{Camera}} $\ast$}]{cam,  }\item[{\mbox{\hyperlink{class_ogre_1_1_render_queue}{Render\+Queue}} $\ast$}]{p\+Queue,  }\item[{\mbox{\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::OverlayManager@{Ogre::OverlayManager}!getViewportHeight@{getViewportHeight}}
\index{getViewportHeight@{getViewportHeight}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{getViewportHeight()}{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::OverlayManager@{Ogre::OverlayManager}!getViewportWidth@{getViewportWidth}}
\index{getViewportWidth@{getViewportWidth}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{getViewportWidth()}{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::OverlayManager@{Ogre::OverlayManager}!getViewportAspectRatio@{getViewportAspectRatio}}
\index{getViewportAspectRatio@{getViewportAspectRatio}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{getViewportAspectRatio()}{getViewportAspectRatio()}}
{\footnotesize\ttfamily \mbox{\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::OverlayManager@{Ogre::OverlayManager}!getViewportOrientationMode@{getViewportOrientationMode}}
\index{getViewportOrientationMode@{getViewportOrientationMode}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{getViewportOrientationMode()}{getViewportOrientationMode()}}
{\footnotesize\ttfamily \mbox{\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::OverlayManager@{Ogre::OverlayManager}!createOverlayElement@{createOverlayElement}}
\index{createOverlayElement@{createOverlayElement}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{createOverlayElement()}{createOverlayElement()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}}$\ast$ Ogre\+::\+Overlay\+Manager\+::create\+Overlay\+Element (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{type\+Name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{instance\+Name,  }\item[{bool}]{is\+Template = {\ttfamily false} }\end{DoxyParamCaption})}



Creates a new \mbox{\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::OverlayManager@{Ogre::OverlayManager}!getOverlayElement@{getOverlayElement}}
\index{getOverlayElement@{getOverlayElement}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{getOverlayElement()}{getOverlayElement()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}}$\ast$ Ogre\+::\+Overlay\+Manager\+::get\+Overlay\+Element (\begin{DoxyParamCaption}\item[{const \mbox{\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::OverlayManager@{Ogre::OverlayManager}!hasOverlayElement@{hasOverlayElement}}
\index{hasOverlayElement@{hasOverlayElement}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{hasOverlayElement()}{hasOverlayElement()}}
{\footnotesize\ttfamily bool Ogre\+::\+Overlay\+Manager\+::has\+Overlay\+Element (\begin{DoxyParamCaption}\item[{const \mbox{\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::OverlayManager@{Ogre::OverlayManager}!destroyOverlayElement@{destroyOverlayElement}}
\index{destroyOverlayElement@{destroyOverlayElement}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{destroyOverlayElement()}{destroyOverlayElement()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Overlay\+Manager\+::destroy\+Overlay\+Element (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{instance\+Name,  }\item[{bool}]{is\+Template = {\ttfamily false} }\end{DoxyParamCaption})}



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

\begin{DoxyRemark}{Remarks}
Make sure you\textquotesingle{}re not still using this in an \mbox{\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::OverlayManager@{Ogre::OverlayManager}!destroyOverlayElement@{destroyOverlayElement}}
\index{destroyOverlayElement@{destroyOverlayElement}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{destroyOverlayElement()}{destroyOverlayElement()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Overlay\+Manager\+::destroy\+Overlay\+Element (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}} $\ast$}]{p\+Instance,  }\item[{bool}]{is\+Template = {\ttfamily false} }\end{DoxyParamCaption})}



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

\begin{DoxyRemark}{Remarks}
Make sure you\textquotesingle{}re not still using this in an \mbox{\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::OverlayManager@{Ogre::OverlayManager}!destroyAllOverlayElements@{destroyAllOverlayElements}}
\index{destroyAllOverlayElements@{destroyAllOverlayElements}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{destroyAllOverlayElements()}{destroyAllOverlayElements()}}
{\footnotesize\ttfamily void Ogre\+::\+Overlay\+Manager\+::destroy\+All\+Overlay\+Elements (\begin{DoxyParamCaption}\item[{bool}]{is\+Template = {\ttfamily false} }\end{DoxyParamCaption})}



Destroys all the \mbox{\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::OverlayManager@{Ogre::OverlayManager}!addOverlayElementFactory@{addOverlayElementFactory}}
\index{addOverlayElementFactory@{addOverlayElementFactory}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{addOverlayElementFactory()}{addOverlayElementFactory()}}
{\footnotesize\ttfamily void Ogre\+::\+Overlay\+Manager\+::add\+Overlay\+Element\+Factory (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_overlay_element_factory}{Overlay\+Element\+Factory}} $\ast$}]{elem\+Factory }\end{DoxyParamCaption})}



Registers a new \mbox{\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 \mbox{\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::OverlayManager@{Ogre::OverlayManager}!getOverlayElementFactoryMap@{getOverlayElementFactoryMap}}
\index{getOverlayElementFactoryMap@{getOverlayElementFactoryMap}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{getOverlayElementFactoryMap()}{getOverlayElementFactoryMap()}}
{\footnotesize\ttfamily const \mbox{\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 \mbox{\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::OverlayManager@{Ogre::OverlayManager}!createOverlayElementFromTemplate@{createOverlayElementFromTemplate}}
\index{createOverlayElementFromTemplate@{createOverlayElementFromTemplate}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{createOverlayElementFromTemplate()}{createOverlayElementFromTemplate()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}}$\ast$ Ogre\+::\+Overlay\+Manager\+::create\+Overlay\+Element\+From\+Template (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{template\+Name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{type\+Name,  }\item[{const \mbox{\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::OverlayManager@{Ogre::OverlayManager}!cloneOverlayElementFromTemplate@{cloneOverlayElementFromTemplate}}
\index{cloneOverlayElementFromTemplate@{cloneOverlayElementFromTemplate}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{cloneOverlayElementFromTemplate()}{cloneOverlayElementFromTemplate()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}}$\ast$ Ogre\+::\+Overlay\+Manager\+::clone\+Overlay\+Element\+From\+Template (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{template\+Name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{instance\+Name }\end{DoxyParamCaption})}

\begin{DoxyRemark}{Remarks}
Creates a new \mbox{\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::OverlayManager@{Ogre::OverlayManager}!createOverlayElementFromFactory@{createOverlayElementFromFactory}}
\index{createOverlayElementFromFactory@{createOverlayElementFromFactory}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{createOverlayElementFromFactory()}{createOverlayElementFromFactory()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_overlay_element}{Overlay\+Element}}$\ast$ Ogre\+::\+Overlay\+Manager\+::create\+Overlay\+Element\+From\+Factory (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{type\+Name,  }\item[{const \mbox{\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::OverlayManager@{Ogre::OverlayManager}!getTemplateIterator@{getTemplateIterator}}
\index{getTemplateIterator@{getTemplateIterator}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{getTemplateIterator()}{getTemplateIterator()}}
{\footnotesize\ttfamily \mbox{\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::OverlayManager@{Ogre::OverlayManager}!isTemplate@{isTemplate}}
\index{isTemplate@{isTemplate}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{isTemplate()}{isTemplate()}}
{\footnotesize\ttfamily bool Ogre\+::\+Overlay\+Manager\+::is\+Template (\begin{DoxyParamCaption}\item[{\mbox{\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::OverlayManager@{Ogre::OverlayManager}!getSingleton@{getSingleton}}
\index{getSingleton@{getSingleton}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{getSingleton()}{getSingleton()}}
{\footnotesize\ttfamily static \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_singleton}{Singleton}} retrieval. 

\begin{DoxyRemark}{Remarks}
Why do we do this? Well, it\textquotesingle{}s because the \mbox{\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 \mbox{\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 \mbox{\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::OverlayManager@{Ogre::OverlayManager}!getSingletonPtr@{getSingletonPtr}}
\index{getSingletonPtr@{getSingletonPtr}!Ogre::OverlayManager@{Ogre::OverlayManager}}
\doxysubsubsection{\texorpdfstring{getSingletonPtr()}{getSingletonPtr()}}
{\footnotesize\ttfamily static \mbox{\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 
\mbox{\hyperlink{_ogre_overlay_manager_8h}{Ogre\+Overlay\+Manager.\+h}}\end{DoxyCompactItemize}
