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


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}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_lod_work_queue_injector_a6049861b8c6bf30b8d3b1f14bcfe3881}{Lod\+Work\+Queue\+Injector} ()
\item 
virtual \hyperlink{class_ogre_1_1_lod_work_queue_injector_a46ca1b862cdddcf63a27e0e9c14b6464}{$\sim$\+Lod\+Work\+Queue\+Injector} ()
\item 
virtual bool \hyperlink{class_ogre_1_1_work_queue_1_1_response_handler_a7a2fabae7f92bed384f100526055a899}{can\+Handle\+Response} (const Response $\ast$res, const \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 
\hyperlink{class_ogre_1_1_lod_work_queue_injector_listener}{Lod\+Work\+Queue\+Injector\+Listener} $\ast$ \hyperlink{class_ogre_1_1_lod_work_queue_injector_a206a2153b1e00b4b41059aec398c671c}{get\+Injector\+Listener} ()
\item 
void \hyperlink{class_ogre_1_1_lod_work_queue_injector_ac016c12d9604068347b8b560e353c3be}{handle\+Response} (const \hyperlink{struct_ogre_1_1_work_queue_1_1_response}{Work\+Queue\+::\+Response} $\ast$res, const \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 \hyperlink{class_ogre_1_1_lod_work_queue_injector_a43a8af0d287a3b3ae49a7d6db4a0c63b}{remove\+Injector\+Listener} ()
\item 
void \hyperlink{class_ogre_1_1_lod_work_queue_injector_a2e3ae23a2cf781f282737ccb023dacc8}{set\+Injector\+Listener} (\hyperlink{class_ogre_1_1_lod_work_queue_injector_listener}{Lod\+Work\+Queue\+Injector\+Listener} $\ast$injector\+Listener)
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{class_ogre_1_1_lod_work_queue_injector}{Lod\+Work\+Queue\+Injector} \& \hyperlink{class_ogre_1_1_lod_work_queue_injector_a9b26c31cdc62dee0b55e586a667a78b6}{get\+Singleton} ()
\item 
static \hyperlink{class_ogre_1_1_lod_work_queue_injector}{Lod\+Work\+Queue\+Injector} $\ast$ \hyperlink{class_ogre_1_1_lod_work_queue_injector_aea8248ab636b1c316453703f9798561b}{get\+Singleton\+Ptr} ()
\end{DoxyCompactItemize}


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

\subsection{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\+::\+Lod\+Work\+Queue\+Injector@{Ogre\+::\+Lod\+Work\+Queue\+Injector}!Lod\+Work\+Queue\+Injector@{Lod\+Work\+Queue\+Injector}}
\index{Lod\+Work\+Queue\+Injector@{Lod\+Work\+Queue\+Injector}!Ogre\+::\+Lod\+Work\+Queue\+Injector@{Ogre\+::\+Lod\+Work\+Queue\+Injector}}
\subsubsection{\texorpdfstring{Lod\+Work\+Queue\+Injector()}{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\+::\+Lod\+Work\+Queue\+Injector@{Ogre\+::\+Lod\+Work\+Queue\+Injector}!````~Lod\+Work\+Queue\+Injector@{$\sim$\+Lod\+Work\+Queue\+Injector}}
\index{````~Lod\+Work\+Queue\+Injector@{$\sim$\+Lod\+Work\+Queue\+Injector}!Ogre\+::\+Lod\+Work\+Queue\+Injector@{Ogre\+::\+Lod\+Work\+Queue\+Injector}}
\subsubsection{\texorpdfstring{$\sim$\+Lod\+Work\+Queue\+Injector()}{~LodWorkQueueInjector()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Lod\+Work\+Queue\+Injector\+::$\sim$\+Lod\+Work\+Queue\+Injector (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



\subsection{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\+::\+Lod\+Work\+Queue\+Injector@{Ogre\+::\+Lod\+Work\+Queue\+Injector}!get\+Singleton\+Ptr@{get\+Singleton\+Ptr}}
\index{get\+Singleton\+Ptr@{get\+Singleton\+Ptr}!Ogre\+::\+Lod\+Work\+Queue\+Injector@{Ogre\+::\+Lod\+Work\+Queue\+Injector}}
\subsubsection{\texorpdfstring{get\+Singleton\+Ptr()}{getSingletonPtr()}}
{\footnotesize\ttfamily static \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\+::\+Lod\+Work\+Queue\+Injector@{Ogre\+::\+Lod\+Work\+Queue\+Injector}!get\+Singleton@{get\+Singleton}}
\index{get\+Singleton@{get\+Singleton}!Ogre\+::\+Lod\+Work\+Queue\+Injector@{Ogre\+::\+Lod\+Work\+Queue\+Injector}}
\subsubsection{\texorpdfstring{get\+Singleton()}{getSingleton()}}
{\footnotesize\ttfamily static \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\+::\+Lod\+Work\+Queue\+Injector@{Ogre\+::\+Lod\+Work\+Queue\+Injector}!handle\+Response@{handle\+Response}}
\index{handle\+Response@{handle\+Response}!Ogre\+::\+Lod\+Work\+Queue\+Injector@{Ogre\+::\+Lod\+Work\+Queue\+Injector}}
\subsubsection{\texorpdfstring{handle\+Response()}{handleResponse()}}
{\footnotesize\ttfamily void Ogre\+::\+Lod\+Work\+Queue\+Injector\+::handle\+Response (\begin{DoxyParamCaption}\item[{const \hyperlink{struct_ogre_1_1_work_queue_1_1_response}{Work\+Queue\+::\+Response} $\ast$}]{res,  }\item[{const \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 \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 \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\+::\+Lod\+Work\+Queue\+Injector@{Ogre\+::\+Lod\+Work\+Queue\+Injector}!set\+Injector\+Listener@{set\+Injector\+Listener}}
\index{set\+Injector\+Listener@{set\+Injector\+Listener}!Ogre\+::\+Lod\+Work\+Queue\+Injector@{Ogre\+::\+Lod\+Work\+Queue\+Injector}}
\subsubsection{\texorpdfstring{set\+Injector\+Listener()}{setInjectorListener()}}
{\footnotesize\ttfamily void Ogre\+::\+Lod\+Work\+Queue\+Injector\+::set\+Injector\+Listener (\begin{DoxyParamCaption}\item[{\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\+::\+Lod\+Work\+Queue\+Injector@{Ogre\+::\+Lod\+Work\+Queue\+Injector}!get\+Injector\+Listener@{get\+Injector\+Listener}}
\index{get\+Injector\+Listener@{get\+Injector\+Listener}!Ogre\+::\+Lod\+Work\+Queue\+Injector@{Ogre\+::\+Lod\+Work\+Queue\+Injector}}
\subsubsection{\texorpdfstring{get\+Injector\+Listener()}{getInjectorListener()}}
{\footnotesize\ttfamily \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\+::\+Lod\+Work\+Queue\+Injector@{Ogre\+::\+Lod\+Work\+Queue\+Injector}!remove\+Injector\+Listener@{remove\+Injector\+Listener}}
\index{remove\+Injector\+Listener@{remove\+Injector\+Listener}!Ogre\+::\+Lod\+Work\+Queue\+Injector@{Ogre\+::\+Lod\+Work\+Queue\+Injector}}
\subsubsection{\texorpdfstring{remove\+Injector\+Listener()}{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\+::\+Lod\+Work\+Queue\+Injector@{Ogre\+::\+Lod\+Work\+Queue\+Injector}!can\+Handle\+Response@{can\+Handle\+Response}}
\index{can\+Handle\+Response@{can\+Handle\+Response}!Ogre\+::\+Lod\+Work\+Queue\+Injector@{Ogre\+::\+Lod\+Work\+Queue\+Injector}}
\subsubsection{\texorpdfstring{can\+Handle\+Response()}{canHandleResponse()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Work\+Queue\+::\+Response\+Handler\+::can\+Handle\+Response (\begin{DoxyParamCaption}\item[{const \hyperlink{struct_ogre_1_1_work_queue_1_1_response}{Response} $\ast$}]{res,  }\item[{const \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 \hyperlink{class_ogre_1_1_terrain_a3e3d8150704d279630a3a125b0439138}{Ogre\+::\+Terrain}, \hyperlink{class_ogre_1_1_terrain_group_ad608848047850ff730ef870457b7e14f}{Ogre\+::\+Terrain\+Group}, \hyperlink{class_ogre_1_1_resource_background_queue_a3e162e3a40c4fe36e8e32bf11dcb2c43}{Ogre\+::\+Resource\+Background\+Queue}, \hyperlink{class_ogre_1_1_page_a3e963a28826407a7cb45f6c8fdaab4ce}{Ogre\+::\+Page}, and \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 
\hyperlink{_ogre_lod_work_queue_injector_8h}{Ogre\+Lod\+Work\+Queue\+Injector.\+h}\end{DoxyCompactItemize}
