\hypertarget{class_ogre_1_1_resource_1_1_listener}{}\section{Ogre\+:\+:Resource\+:\+:Listener Class Reference}
\label{class_ogre_1_1_resource_1_1_listener}\index{Ogre\+::\+Resource\+::\+Listener@{Ogre\+::\+Resource\+::\+Listener}}


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



Inheritance diagram for Ogre\+:\+:Resource\+:\+:Listener\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=310pt]{class_ogre_1_1_resource_1_1_listener__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \hyperlink{class_ogre_1_1_resource_1_1_listener_a087cbfc9a4ad6490b09884d482932945}{$\sim$\+Listener} ()
\item 
virtual void \hyperlink{class_ogre_1_1_resource_1_1_listener_ac8d962ac52ef53a2ad6ddbdc5b6c9655}{loading\+Complete} (\hyperlink{class_ogre_1_1_resource}{Resource} $\ast$)
\begin{DoxyCompactList}\small\item\em Called whenever the resource finishes loading. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_resource_1_1_listener_a7951abdcff85efd6cf58a49d94442f67}{preparing\+Complete} (\hyperlink{class_ogre_1_1_resource}{Resource} $\ast$)
\begin{DoxyCompactList}\small\item\em Called whenever the resource finishes preparing (paging into memory). \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_resource_1_1_listener_a9f8cdeb73a65a6a1c018e5ac783dfafe}{unloading\+Complete} (\hyperlink{class_ogre_1_1_resource}{Resource} $\ast$)
\begin{DoxyCompactList}\small\item\em Called whenever the resource has been unloaded. \end{DoxyCompactList}\end{DoxyCompactItemize}


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



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_resource_1_1_listener_ac8d962ac52ef53a2ad6ddbdc5b6c9655}\label{class_ogre_1_1_resource_1_1_listener_ac8d962ac52ef53a2ad6ddbdc5b6c9655}} 
\index{Ogre\+::\+Resource\+::\+Listener@{Ogre\+::\+Resource\+::\+Listener}!loading\+Complete@{loading\+Complete}}
\index{loading\+Complete@{loading\+Complete}!Ogre\+::\+Resource\+::\+Listener@{Ogre\+::\+Resource\+::\+Listener}}
\subsubsection{\texorpdfstring{loading\+Complete()}{loadingComplete()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::\+Listener\+::loading\+Complete (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_resource}{Resource} $\ast$}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Called whenever the resource finishes loading. 

\begin{DoxyRemark}{Remarks}
If a \hyperlink{class_ogre_1_1_resource}{Resource} has been marked as background loaded (
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_resource_ae0a0007de944eb3c2f933a372a752b35}{Resource\+::set\+Background\+Loaded}), the call does not itself occur in the thread which is doing the loading; when loading is complete a response indicator is placed with the \hyperlink{class_ogre_1_1_resource_group_manager}{Resource\+Group\+Manager}, which will then be sent back to the listener as part of the application\textquotesingle{}s primary frame loop thread. 
\end{DoxySeeAlso}


Reimplemented in \hyperlink{class_ogre_1_1_entity_ae68ecde93ef2ed7c8a792533cf8b6cf3}{Ogre\+::\+Entity}, and \hyperlink{class_ogre_1_1_gpu_program_usage_af7656f20d47cd7df24b98bc4b44bf8ef}{Ogre\+::\+Gpu\+Program\+Usage}.

\mbox{\Hypertarget{class_ogre_1_1_resource_1_1_listener_a7951abdcff85efd6cf58a49d94442f67}\label{class_ogre_1_1_resource_1_1_listener_a7951abdcff85efd6cf58a49d94442f67}} 
\index{Ogre\+::\+Resource\+::\+Listener@{Ogre\+::\+Resource\+::\+Listener}!preparing\+Complete@{preparing\+Complete}}
\index{preparing\+Complete@{preparing\+Complete}!Ogre\+::\+Resource\+::\+Listener@{Ogre\+::\+Resource\+::\+Listener}}
\subsubsection{\texorpdfstring{preparing\+Complete()}{preparingComplete()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::\+Listener\+::preparing\+Complete (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_resource}{Resource} $\ast$}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Called whenever the resource finishes preparing (paging into memory). 

\begin{DoxyRemark}{Remarks}
If a \hyperlink{class_ogre_1_1_resource}{Resource} has been marked as background loaded (
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_resource_ae0a0007de944eb3c2f933a372a752b35}{Resource\+::set\+Background\+Loaded}) the call does not itself occur in the thread which is doing the preparing; when preparing is complete a response indicator is placed with the \hyperlink{class_ogre_1_1_resource_group_manager}{Resource\+Group\+Manager}, which will then be sent back to the listener as part of the application\textquotesingle{}s primary frame loop thread. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_resource_1_1_listener_a9f8cdeb73a65a6a1c018e5ac783dfafe}\label{class_ogre_1_1_resource_1_1_listener_a9f8cdeb73a65a6a1c018e5ac783dfafe}} 
\index{Ogre\+::\+Resource\+::\+Listener@{Ogre\+::\+Resource\+::\+Listener}!unloading\+Complete@{unloading\+Complete}}
\index{unloading\+Complete@{unloading\+Complete}!Ogre\+::\+Resource\+::\+Listener@{Ogre\+::\+Resource\+::\+Listener}}
\subsubsection{\texorpdfstring{unloading\+Complete()}{unloadingComplete()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::\+Listener\+::unloading\+Complete (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_resource}{Resource} $\ast$}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Called whenever the resource has been unloaded. 



Reimplemented in \hyperlink{class_ogre_1_1_gpu_program_usage_a22bb67a36e44cc6202dd87bc802a0736}{Ogre\+::\+Gpu\+Program\+Usage}.



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