\hypertarget{class_ogre_1_1_lod_work_queue_injector}{}\doxysection{Ogre\+::Lod\+Work\+Queue\+Injector Class Reference}
\label{class_ogre_1_1_lod_work_queue_injector}\index{Ogre::LodWorkQueueInjector@{Ogre::LodWorkQueueInjector}}


Injects the output of a request to the mesh in a thread safe way.  




{\ttfamily \#include $<$Ogre\+Lod\+Work\+Queue\+Injector.\+h$>$}



Inheritance diagram for Ogre\+::Lod\+Work\+Queue\+Injector\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_ogre_1_1_lod_work_queue_injector__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_lod_work_queue_injector_a6049861b8c6bf30b8d3b1f14bcfe3881}{Lod\+Work\+Queue\+Injector}} ()
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_lod_work_queue_injector_a46ca1b862cdddcf63a27e0e9c14b6464}{$\sim$\+Lod\+Work\+Queue\+Injector}} ()
\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_work_queue_1_1_response_handler_a7a2fabae7f92bed384f100526055a899}{can\+Handle\+Response}} (const Response $\ast$res, const \mbox{\hyperlink{class_ogre_1_1_work_queue}{Work\+Queue}} $\ast$srcQ)
\begin{DoxyCompactList}\small\item\em Return whether this handler can process a given response. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_lod_work_queue_injector_listener}{Lod\+Work\+Queue\+Injector\+Listener}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_lod_work_queue_injector_a206a2153b1e00b4b41059aec398c671c}{get\+Injector\+Listener}} ()
\item 
void \mbox{\hyperlink{class_ogre_1_1_lod_work_queue_injector_ac016c12d9604068347b8b560e353c3be}{handle\+Response}} (const \mbox{\hyperlink{struct_ogre_1_1_work_queue_1_1_response}{Work\+Queue\+::\+Response}} $\ast$res, const \mbox{\hyperlink{class_ogre_1_1_work_queue}{Work\+Queue}} $\ast$srcQ)
\begin{DoxyCompactList}\small\item\em The handler method every subclass must implement. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_lod_work_queue_injector_a43a8af0d287a3b3ae49a7d6db4a0c63b}{remove\+Injector\+Listener}} ()
\item 
void \mbox{\hyperlink{class_ogre_1_1_lod_work_queue_injector_a2e3ae23a2cf781f282737ccb023dacc8}{set\+Injector\+Listener}} (\mbox{\hyperlink{class_ogre_1_1_lod_work_queue_injector_listener}{Lod\+Work\+Queue\+Injector\+Listener}} $\ast$injector\+Listener)
\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{class_ogre_1_1_lod_work_queue_injector}{Lod\+Work\+Queue\+Injector}} \& \mbox{\hyperlink{class_ogre_1_1_lod_work_queue_injector_a9b26c31cdc62dee0b55e586a667a78b6}{get\+Singleton}} ()
\item 
static \mbox{\hyperlink{class_ogre_1_1_lod_work_queue_injector}{Lod\+Work\+Queue\+Injector}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_lod_work_queue_injector_aea8248ab636b1c316453703f9798561b}{get\+Singleton\+Ptr}} ()
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Injects the output of a request to the mesh in a thread safe way. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_lod_work_queue_injector_a6049861b8c6bf30b8d3b1f14bcfe3881}\label{class_ogre_1_1_lod_work_queue_injector_a6049861b8c6bf30b8d3b1f14bcfe3881}} 
\index{Ogre::LodWorkQueueInjector@{Ogre::LodWorkQueueInjector}!LodWorkQueueInjector@{LodWorkQueueInjector}}
\index{LodWorkQueueInjector@{LodWorkQueueInjector}!Ogre::LodWorkQueueInjector@{Ogre::LodWorkQueueInjector}}
\doxysubsubsection{\texorpdfstring{LodWorkQueueInjector()}{LodWorkQueueInjector()}}
{\footnotesize\ttfamily Ogre\+::\+Lod\+Work\+Queue\+Injector\+::\+Lod\+Work\+Queue\+Injector (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_lod_work_queue_injector_a46ca1b862cdddcf63a27e0e9c14b6464}\label{class_ogre_1_1_lod_work_queue_injector_a46ca1b862cdddcf63a27e0e9c14b6464}} 
\index{Ogre::LodWorkQueueInjector@{Ogre::LodWorkQueueInjector}!````~LodWorkQueueInjector@{$\sim$LodWorkQueueInjector}}
\index{````~LodWorkQueueInjector@{$\sim$LodWorkQueueInjector}!Ogre::LodWorkQueueInjector@{Ogre::LodWorkQueueInjector}}
\doxysubsubsection{\texorpdfstring{$\sim$LodWorkQueueInjector()}{~LodWorkQueueInjector()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Lod\+Work\+Queue\+Injector\+::$\sim$\+Lod\+Work\+Queue\+Injector (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_lod_work_queue_injector_aea8248ab636b1c316453703f9798561b}\label{class_ogre_1_1_lod_work_queue_injector_aea8248ab636b1c316453703f9798561b}} 
\index{Ogre::LodWorkQueueInjector@{Ogre::LodWorkQueueInjector}!getSingletonPtr@{getSingletonPtr}}
\index{getSingletonPtr@{getSingletonPtr}!Ogre::LodWorkQueueInjector@{Ogre::LodWorkQueueInjector}}
\doxysubsubsection{\texorpdfstring{getSingletonPtr()}{getSingletonPtr()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{class_ogre_1_1_lod_work_queue_injector}{Lod\+Work\+Queue\+Injector}}$\ast$ Ogre\+::\+Lod\+Work\+Queue\+Injector\+::get\+Singleton\+Ptr (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_lod_work_queue_injector_a9b26c31cdc62dee0b55e586a667a78b6}\label{class_ogre_1_1_lod_work_queue_injector_a9b26c31cdc62dee0b55e586a667a78b6}} 
\index{Ogre::LodWorkQueueInjector@{Ogre::LodWorkQueueInjector}!getSingleton@{getSingleton}}
\index{getSingleton@{getSingleton}!Ogre::LodWorkQueueInjector@{Ogre::LodWorkQueueInjector}}
\doxysubsubsection{\texorpdfstring{getSingleton()}{getSingleton()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{class_ogre_1_1_lod_work_queue_injector}{Lod\+Work\+Queue\+Injector}}\& Ogre\+::\+Lod\+Work\+Queue\+Injector\+::get\+Singleton (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_lod_work_queue_injector_ac016c12d9604068347b8b560e353c3be}\label{class_ogre_1_1_lod_work_queue_injector_ac016c12d9604068347b8b560e353c3be}} 
\index{Ogre::LodWorkQueueInjector@{Ogre::LodWorkQueueInjector}!handleResponse@{handleResponse}}
\index{handleResponse@{handleResponse}!Ogre::LodWorkQueueInjector@{Ogre::LodWorkQueueInjector}}
\doxysubsubsection{\texorpdfstring{handleResponse()}{handleResponse()}}
{\footnotesize\ttfamily void Ogre\+::\+Lod\+Work\+Queue\+Injector\+::handle\+Response (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{struct_ogre_1_1_work_queue_1_1_response}{Work\+Queue\+::\+Response}} $\ast$}]{res,  }\item[{const \mbox{\hyperlink{class_ogre_1_1_work_queue}{Work\+Queue}} $\ast$}]{srcQ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



The handler method every subclass must implement. 


\begin{DoxyParams}{Parameters}
{\em res} & The Response structure. The caller is responsible for deleting this after the call is made, none of the data contained (except pointers to structures in user \mbox{\hyperlink{class_ogre_1_1_any}{Any}} data) will persist after this call is returned. \\
\hline
{\em srcQ} & The work queue that this request originated from \\
\hline
\end{DoxyParams}


Implements \mbox{\hyperlink{class_ogre_1_1_work_queue_1_1_response_handler_a8fab0334551e482042df078a5945f5de}{Ogre\+::\+Work\+Queue\+::\+Response\+Handler}}.

\mbox{\Hypertarget{class_ogre_1_1_lod_work_queue_injector_a2e3ae23a2cf781f282737ccb023dacc8}\label{class_ogre_1_1_lod_work_queue_injector_a2e3ae23a2cf781f282737ccb023dacc8}} 
\index{Ogre::LodWorkQueueInjector@{Ogre::LodWorkQueueInjector}!setInjectorListener@{setInjectorListener}}
\index{setInjectorListener@{setInjectorListener}!Ogre::LodWorkQueueInjector@{Ogre::LodWorkQueueInjector}}
\doxysubsubsection{\texorpdfstring{setInjectorListener()}{setInjectorListener()}}
{\footnotesize\ttfamily void Ogre\+::\+Lod\+Work\+Queue\+Injector\+::set\+Injector\+Listener (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_lod_work_queue_injector_listener}{Lod\+Work\+Queue\+Injector\+Listener}} $\ast$}]{injector\+Listener }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_lod_work_queue_injector_a206a2153b1e00b4b41059aec398c671c}\label{class_ogre_1_1_lod_work_queue_injector_a206a2153b1e00b4b41059aec398c671c}} 
\index{Ogre::LodWorkQueueInjector@{Ogre::LodWorkQueueInjector}!getInjectorListener@{getInjectorListener}}
\index{getInjectorListener@{getInjectorListener}!Ogre::LodWorkQueueInjector@{Ogre::LodWorkQueueInjector}}
\doxysubsubsection{\texorpdfstring{getInjectorListener()}{getInjectorListener()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_lod_work_queue_injector_listener}{Lod\+Work\+Queue\+Injector\+Listener}}$\ast$ Ogre\+::\+Lod\+Work\+Queue\+Injector\+::get\+Injector\+Listener (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_lod_work_queue_injector_a43a8af0d287a3b3ae49a7d6db4a0c63b}\label{class_ogre_1_1_lod_work_queue_injector_a43a8af0d287a3b3ae49a7d6db4a0c63b}} 
\index{Ogre::LodWorkQueueInjector@{Ogre::LodWorkQueueInjector}!removeInjectorListener@{removeInjectorListener}}
\index{removeInjectorListener@{removeInjectorListener}!Ogre::LodWorkQueueInjector@{Ogre::LodWorkQueueInjector}}
\doxysubsubsection{\texorpdfstring{removeInjectorListener()}{removeInjectorListener()}}
{\footnotesize\ttfamily void Ogre\+::\+Lod\+Work\+Queue\+Injector\+::remove\+Injector\+Listener (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_work_queue_1_1_response_handler_a7a2fabae7f92bed384f100526055a899}\label{class_ogre_1_1_work_queue_1_1_response_handler_a7a2fabae7f92bed384f100526055a899}} 
\index{Ogre::LodWorkQueueInjector@{Ogre::LodWorkQueueInjector}!canHandleResponse@{canHandleResponse}}
\index{canHandleResponse@{canHandleResponse}!Ogre::LodWorkQueueInjector@{Ogre::LodWorkQueueInjector}}
\doxysubsubsection{\texorpdfstring{canHandleResponse()}{canHandleResponse()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Work\+Queue\+::\+Response\+Handler\+::can\+Handle\+Response (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{struct_ogre_1_1_work_queue_1_1_response}{Response}} $\ast$}]{res,  }\item[{const \mbox{\hyperlink{class_ogre_1_1_work_queue}{Work\+Queue}} $\ast$}]{srcQ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Return whether this handler can process a given response. 

\begin{DoxyRemark}{Remarks}
Defaults to true, but if you wish to add several handlers each of which deal with different types of response, you can override this method. 
\end{DoxyRemark}


Reimplemented in \mbox{\hyperlink{class_ogre_1_1_terrain_a3e3d8150704d279630a3a125b0439138}{Ogre\+::\+Terrain}}, \mbox{\hyperlink{class_ogre_1_1_terrain_group_ad608848047850ff730ef870457b7e14f}{Ogre\+::\+Terrain\+Group}}, \mbox{\hyperlink{class_ogre_1_1_resource_background_queue_a3e162e3a40c4fe36e8e32bf11dcb2c43}{Ogre\+::\+Resource\+Background\+Queue}}, \mbox{\hyperlink{class_ogre_1_1_page_a3e963a28826407a7cb45f6c8fdaab4ce}{Ogre\+::\+Page}}, and \mbox{\hyperlink{class_ogre_1_1_terrain_lod_manager_a0aa9184563866da3d6de2ed040bc6667}{Ogre\+::\+Terrain\+Lod\+Manager}}.



References Ogre\+::\+Work\+Queue\+::\+Request\+::get\+Aborted(), and Ogre\+::\+Work\+Queue\+::\+Response\+::get\+Request().



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_ogre_lod_work_queue_injector_8h}{Ogre\+Lod\+Work\+Queue\+Injector.\+h}}\end{DoxyCompactItemize}
