\hypertarget{classRenderManager}{}\section{Render\+Manager Class Reference}
\label{classRenderManager}\index{Render\+Manager@{Render\+Manager}}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{classRenderManager_aab943f2660a09791809a1dd819d02110}{renderer\+Exists} (Q\+String \+\_\+name)
\begin{DoxyCompactList}\small\item\em Check if a renderer with the given name exists. \end{DoxyCompactList}\item 
\hyperlink{classRendererInfo}{Renderer\+Info} $\ast$ \hyperlink{classRenderManager_a4ac9c1ac5e1fc3642d0e462a46da2722}{new\+Renderer} (Q\+String \+\_\+name)
\begin{DoxyCompactList}\small\item\em Get a new renderer Instance. \end{DoxyCompactList}\item 
int \hyperlink{classRenderManager_a6324c30c4022378e95798a46e9bcd714}{get\+Renderer\+Id} (Q\+String \+\_\+name)
\begin{DoxyCompactList}\small\item\em get renderer id with the given name \end{DoxyCompactList}\item 
\hyperlink{classRendererInfo}{Renderer\+Info} $\ast$ \hyperlink{classRenderManager_ad12efd61a5f7ad065310628a38315701}{get\+Renderer} (Q\+String \+\_\+name)
\begin{DoxyCompactList}\small\item\em get renderer with the given name \end{DoxyCompactList}\item 
int \hyperlink{classRenderManager_a0309abfbc23cbcf4a5cf881c18d80548}{count\+Renderers} (\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode} \+\_\+mode)
\begin{DoxyCompactList}\small\item\em count renderers for a Draw\+Mode (excluding the default renderer) \end{DoxyCompactList}\item 
\hyperlink{classRendererInfo}{Renderer\+Info} $\ast$ \hyperlink{classRenderManager_a774ae5d5307c6119ce86a8f99843c9b1}{operator\mbox{[}$\,$\mbox{]}} (unsigned int \+\_\+id)
\begin{DoxyCompactList}\small\item\em Get the renderer with the given id. \end{DoxyCompactList}\item 
size\+\_\+t \hyperlink{classRenderManager_a7b0ff81efd62e88bec650328c0422da2}{available} ()
\begin{DoxyCompactList}\small\item\em number of available renderers \end{DoxyCompactList}\item 
void \hyperlink{classRenderManager_a18ef9bdab1420763787d56a619fd92c5}{set\+Active} (unsigned int \+\_\+active, int \+\_\+id)
\begin{DoxyCompactList}\small\item\em set the active renderer \end{DoxyCompactList}\item 
void \hyperlink{classRenderManager_a2228cc6b3df64293e6916a3757e6ba9c}{set\+Active} (Q\+String \+\_\+active, int \+\_\+id)
\begin{DoxyCompactList}\small\item\em set the active renderer \end{DoxyCompactList}\item 
\hyperlink{classRendererInfo}{Renderer\+Info} $\ast$ \hyperlink{classRenderManager_a1ee611767534af1d451d9d5239625cc3}{active} (int \+\_\+id)
\begin{DoxyCompactList}\small\item\em Get the current active renderer. \end{DoxyCompactList}\item 
unsigned int \hyperlink{classRenderManager_a9c0b8ef7ee5cc489256e17ace4c814c1}{active\+Id} (int \+\_\+id)
\begin{DoxyCompactList}\small\item\em Get the id of the active renderer. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classRenderManager_aefc567aca672a036280ff4f5bd0becb6}\label{classRenderManager_aefc567aca672a036280ff4f5bd0becb6}} 
std\+::vector$<$ \hyperlink{classRendererInfo}{Renderer\+Info} $>$ \hyperlink{classRenderManager_aefc567aca672a036280ff4f5bd0becb6}{available\+Renderers\+\_\+}
\begin{DoxyCompactList}\small\item\em Vector holding all available renderers. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classRenderManager_a4fea61f2b4444817136892d0367af1a4}\label{classRenderManager_a4fea61f2b4444817136892d0367af1a4}} 
std\+::vector$<$ unsigned int $>$ \hyperlink{classRenderManager_a4fea61f2b4444817136892d0367af1a4}{active\+Renderers\+\_\+}
\begin{DoxyCompactList}\small\item\em The currently active renderer ids. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 83 of file Renderer\+Info.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classRenderManager_a1ee611767534af1d451d9d5239625cc3}\label{classRenderManager_a1ee611767534af1d451d9d5239625cc3}} 
\index{Render\+Manager@{Render\+Manager}!active@{active}}
\index{active@{active}!Render\+Manager@{Render\+Manager}}
\subsubsection{\texorpdfstring{active()}{active()}}
{\footnotesize\ttfamily \hyperlink{classRendererInfo}{Renderer\+Info} $\ast$ Render\+Manager\+::active (\begin{DoxyParamCaption}\item[{int}]{\+\_\+id }\end{DoxyParamCaption})}



Get the current active renderer. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & viewer id \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{classRenderer}{Renderer} 
\end{DoxyReturn}


Definition at line 182 of file Renderer\+Info.\+cc.

\mbox{\Hypertarget{classRenderManager_a9c0b8ef7ee5cc489256e17ace4c814c1}\label{classRenderManager_a9c0b8ef7ee5cc489256e17ace4c814c1}} 
\index{Render\+Manager@{Render\+Manager}!active\+Id@{active\+Id}}
\index{active\+Id@{active\+Id}!Render\+Manager@{Render\+Manager}}
\subsubsection{\texorpdfstring{active\+Id()}{activeId()}}
{\footnotesize\ttfamily unsigned int Render\+Manager\+::active\+Id (\begin{DoxyParamCaption}\item[{int}]{\+\_\+id }\end{DoxyParamCaption})}



Get the id of the active renderer. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & viewer id \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
renderer id 
\end{DoxyReturn}


Definition at line 195 of file Renderer\+Info.\+cc.

\mbox{\Hypertarget{classRenderManager_a7b0ff81efd62e88bec650328c0422da2}\label{classRenderManager_a7b0ff81efd62e88bec650328c0422da2}} 
\index{Render\+Manager@{Render\+Manager}!available@{available}}
\index{available@{available}!Render\+Manager@{Render\+Manager}}
\subsubsection{\texorpdfstring{available()}{available()}}
{\footnotesize\ttfamily size\+\_\+t Render\+Manager\+::available (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



number of available renderers 

\begin{DoxyReturn}{Returns}
number of available renderers 
\end{DoxyReturn}


Definition at line 140 of file Renderer\+Info.\+cc.

\mbox{\Hypertarget{classRenderManager_a0309abfbc23cbcf4a5cf881c18d80548}\label{classRenderManager_a0309abfbc23cbcf4a5cf881c18d80548}} 
\index{Render\+Manager@{Render\+Manager}!count\+Renderers@{count\+Renderers}}
\index{count\+Renderers@{count\+Renderers}!Render\+Manager@{Render\+Manager}}
\subsubsection{\texorpdfstring{count\+Renderers()}{countRenderers()}}
{\footnotesize\ttfamily int Render\+Manager\+::count\+Renderers (\begin{DoxyParamCaption}\item[{\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode}}]{\+\_\+mode }\end{DoxyParamCaption})}



count renderers for a Draw\+Mode (excluding the default renderer) 

Checks in the list of renderers how many support the given draw mode combination. The combination is checked as one complete block.


\begin{DoxyParams}{Parameters}
{\em \+\_\+mode} & The mode that should be checked. \\
\hline
\end{DoxyParams}


Definition at line 119 of file Renderer\+Info.\+cc.

\mbox{\Hypertarget{classRenderManager_ad12efd61a5f7ad065310628a38315701}\label{classRenderManager_ad12efd61a5f7ad065310628a38315701}} 
\index{Render\+Manager@{Render\+Manager}!get\+Renderer@{get\+Renderer}}
\index{get\+Renderer@{get\+Renderer}!Render\+Manager@{Render\+Manager}}
\subsubsection{\texorpdfstring{get\+Renderer()}{getRenderer()}}
{\footnotesize\ttfamily \hyperlink{classRendererInfo}{Renderer\+Info} $\ast$ Render\+Manager\+::get\+Renderer (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+name }\end{DoxyParamCaption})}



get renderer with the given name 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the renderer \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
pointer or 0 if it does not exist 
\end{DoxyReturn}


Definition at line 101 of file Renderer\+Info.\+cc.

\mbox{\Hypertarget{classRenderManager_a6324c30c4022378e95798a46e9bcd714}\label{classRenderManager_a6324c30c4022378e95798a46e9bcd714}} 
\index{Render\+Manager@{Render\+Manager}!get\+Renderer\+Id@{get\+Renderer\+Id}}
\index{get\+Renderer\+Id@{get\+Renderer\+Id}!Render\+Manager@{Render\+Manager}}
\subsubsection{\texorpdfstring{get\+Renderer\+Id()}{getRendererId()}}
{\footnotesize\ttfamily int Render\+Manager\+::get\+Renderer\+Id (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+name }\end{DoxyParamCaption})}



get renderer id with the given name 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the renderer \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Id of the renderer or -\/1 if it does not exist 
\end{DoxyReturn}


Definition at line 110 of file Renderer\+Info.\+cc.

\mbox{\Hypertarget{classRenderManager_a4ac9c1ac5e1fc3642d0e462a46da2722}\label{classRenderManager_a4ac9c1ac5e1fc3642d0e462a46da2722}} 
\index{Render\+Manager@{Render\+Manager}!new\+Renderer@{new\+Renderer}}
\index{new\+Renderer@{new\+Renderer}!Render\+Manager@{Render\+Manager}}
\subsubsection{\texorpdfstring{new\+Renderer()}{newRenderer()}}
{\footnotesize\ttfamily \hyperlink{classRendererInfo}{Renderer\+Info} $\ast$ Render\+Manager\+::new\+Renderer (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+name }\end{DoxyParamCaption})}



Get a new renderer Instance. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the new renderer\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Pointer to renderer. If it exists, the existing one is returned! 
\end{DoxyReturn}


Definition at line 89 of file Renderer\+Info.\+cc.

\mbox{\Hypertarget{classRenderManager_a774ae5d5307c6119ce86a8f99843c9b1}\label{classRenderManager_a774ae5d5307c6119ce86a8f99843c9b1}} 
\index{Render\+Manager@{Render\+Manager}!operator\mbox{[}\mbox{]}@{operator[]}}
\index{operator\mbox{[}\mbox{]}@{operator[]}!Render\+Manager@{Render\+Manager}}
\subsubsection{\texorpdfstring{operator[]()}{operator[]()}}
{\footnotesize\ttfamily \hyperlink{classRendererInfo}{Renderer\+Info} $\ast$ Render\+Manager\+::operator\mbox{[}$\,$\mbox{]} (\begin{DoxyParamCaption}\item[{unsigned int}]{\+\_\+id }\end{DoxyParamCaption})}



Get the renderer with the given id. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & Id of the renderer \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 131 of file Renderer\+Info.\+cc.

\mbox{\Hypertarget{classRenderManager_aab943f2660a09791809a1dd819d02110}\label{classRenderManager_aab943f2660a09791809a1dd819d02110}} 
\index{Render\+Manager@{Render\+Manager}!renderer\+Exists@{renderer\+Exists}}
\index{renderer\+Exists@{renderer\+Exists}!Render\+Manager@{Render\+Manager}}
\subsubsection{\texorpdfstring{renderer\+Exists()}{rendererExists()}}
{\footnotesize\ttfamily bool Render\+Manager\+::renderer\+Exists (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+name }\end{DoxyParamCaption})}



Check if a renderer with the given name exists. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the renderer \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
exists or not 
\end{DoxyReturn}


Definition at line 79 of file Renderer\+Info.\+cc.

\mbox{\Hypertarget{classRenderManager_a18ef9bdab1420763787d56a619fd92c5}\label{classRenderManager_a18ef9bdab1420763787d56a619fd92c5}} 
\index{Render\+Manager@{Render\+Manager}!set\+Active@{set\+Active}}
\index{set\+Active@{set\+Active}!Render\+Manager@{Render\+Manager}}
\subsubsection{\texorpdfstring{set\+Active()}{setActive()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Render\+Manager\+::set\+Active (\begin{DoxyParamCaption}\item[{unsigned int}]{\+\_\+active,  }\item[{int}]{\+\_\+id }\end{DoxyParamCaption})}



set the active renderer 


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & viewer id \\
\hline
{\em \+\_\+active} & id of the renderer \\
\hline
\end{DoxyParams}


Definition at line 145 of file Renderer\+Info.\+cc.

\mbox{\Hypertarget{classRenderManager_a2228cc6b3df64293e6916a3757e6ba9c}\label{classRenderManager_a2228cc6b3df64293e6916a3757e6ba9c}} 
\index{Render\+Manager@{Render\+Manager}!set\+Active@{set\+Active}}
\index{set\+Active@{set\+Active}!Render\+Manager@{Render\+Manager}}
\subsubsection{\texorpdfstring{set\+Active()}{setActive()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Render\+Manager\+::set\+Active (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+active,  }\item[{int}]{\+\_\+id }\end{DoxyParamCaption})}



set the active renderer 


\begin{DoxyParams}{Parameters}
{\em \+\_\+active} & name of the renderer \\
\hline
{\em \+\_\+id} & viewer id \\
\hline
\end{DoxyParams}


Definition at line 162 of file Renderer\+Info.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/common/Renderer\+Info.\+hh\item 
Open\+Flipper/common/Renderer\+Info.\+cc\end{DoxyCompactItemize}
