\hypertarget{class_ogre_1_1_resource_background_queue_1_1_listener}{}\section{Ogre\+:\+:Resource\+Background\+Queue\+:\+:Listener Class Reference}
\label{class_ogre_1_1_resource_background_queue_1_1_listener}\index{Ogre\+::\+Resource\+Background\+Queue\+::\+Listener@{Ogre\+::\+Resource\+Background\+Queue\+::\+Listener}}


This abstract listener interface lets you get notifications of completed background processes instead of having to poll ticket statuses.  




{\ttfamily \#include $<$Ogre\+Resource\+Background\+Queue.\+h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \hyperlink{class_ogre_1_1_resource_background_queue_1_1_listener_a28509ef0c32ec32d3fa12a672ba90c2f}{$\sim$\+Listener} ()
\begin{DoxyCompactList}\small\item\em Need virtual destructor in case subclasses use it. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_resource_background_queue_1_1_listener_ac3d1dd80e752ab167868ab0a5e14aa16}{operation\+Completed} (\hyperlink{group___resources_ga1e2e9ee3e2ee22a4e792952239d38821}{Background\+Process\+Ticket} ticket, const \hyperlink{struct_ogre_1_1_background_process_result}{Background\+Process\+Result} \&result)=0
\begin{DoxyCompactList}\small\item\em Called when a requested operation completes, queued into main thread. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This abstract listener interface lets you get notifications of completed background processes instead of having to poll ticket statuses. 

\begin{DoxyNote}{Note}
For simplicity, these callbacks are not issued direct from the background loading thread, they are queued themselves to be sent from the main thread so that you don\textquotesingle{}t have to be concerned about thread safety. 
\end{DoxyNote}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_resource_background_queue_1_1_listener_a28509ef0c32ec32d3fa12a672ba90c2f}\label{class_ogre_1_1_resource_background_queue_1_1_listener_a28509ef0c32ec32d3fa12a672ba90c2f}} 
\index{Ogre\+::\+Resource\+Background\+Queue\+::\+Listener@{Ogre\+::\+Resource\+Background\+Queue\+::\+Listener}!````~Listener@{$\sim$\+Listener}}
\index{````~Listener@{$\sim$\+Listener}!Ogre\+::\+Resource\+Background\+Queue\+::\+Listener@{Ogre\+::\+Resource\+Background\+Queue\+::\+Listener}}
\subsubsection{\texorpdfstring{$\sim$\+Listener()}{~Listener()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Resource\+Background\+Queue\+::\+Listener\+::$\sim$\+Listener (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Need virtual destructor in case subclasses use it. 



References Ogre\+::operator$<$$<$().



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_resource_background_queue_1_1_listener_ac3d1dd80e752ab167868ab0a5e14aa16}\label{class_ogre_1_1_resource_background_queue_1_1_listener_ac3d1dd80e752ab167868ab0a5e14aa16}} 
\index{Ogre\+::\+Resource\+Background\+Queue\+::\+Listener@{Ogre\+::\+Resource\+Background\+Queue\+::\+Listener}!operation\+Completed@{operation\+Completed}}
\index{operation\+Completed@{operation\+Completed}!Ogre\+::\+Resource\+Background\+Queue\+::\+Listener@{Ogre\+::\+Resource\+Background\+Queue\+::\+Listener}}
\subsubsection{\texorpdfstring{operation\+Completed()}{operationCompleted()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+Background\+Queue\+::\+Listener\+::operation\+Completed (\begin{DoxyParamCaption}\item[{\hyperlink{group___resources_ga1e2e9ee3e2ee22a4e792952239d38821}{Background\+Process\+Ticket}}]{ticket,  }\item[{const \hyperlink{struct_ogre_1_1_background_process_result}{Background\+Process\+Result} \&}]{result }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}



Called when a requested operation completes, queued into main thread. 

\begin{DoxyNote}{Note}
For simplicity, this callback is not issued direct from the background loading thread, it is queued to be sent from the main thread so that you don\textquotesingle{}t have to be concerned about thread safety. 
\end{DoxyNote}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_resource_background_queue_8h}{Ogre\+Resource\+Background\+Queue.\+h}\end{DoxyCompactItemize}
