\hypertarget{class_ogre_1_1_resource_1_1_listener}{}\doxysection{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}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_resource_1_1_listener_a087cbfc9a4ad6490b09884d482932945}{$\sim$\+Listener}} ()
\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_resource_1_1_listener_ac8d962ac52ef53a2ad6ddbdc5b6c9655}{loading\+Complete}} (\mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} $\ast$)
\begin{DoxyCompactList}\small\item\em Called whenever the resource finishes loading. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_resource_1_1_listener_a7951abdcff85efd6cf58a49d94442f67}{preparing\+Complete}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_resource_1_1_listener_a9f8cdeb73a65a6a1c018e5ac783dfafe}{unloading\+Complete}} (\mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} $\ast$)
\begin{DoxyCompactList}\small\item\em Called whenever the resource has been unloaded. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{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}}
\doxysubsubsection{\texorpdfstring{$\sim$Listener()}{~Listener()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Resource\+::\+Listener\+::$\sim$\+Listener (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



\doxysubsection{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}!loadingComplete@{loadingComplete}}
\index{loadingComplete@{loadingComplete}!Ogre::Resource::Listener@{Ogre::Resource::Listener}}
\doxysubsubsection{\texorpdfstring{loadingComplete()}{loadingComplete()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::\+Listener\+::loading\+Complete (\begin{DoxyParamCaption}\item[{\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} has been marked as background loaded (
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_entity_ae68ecde93ef2ed7c8a792533cf8b6cf3}{Ogre\+::\+Entity}}, and \mbox{\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}!preparingComplete@{preparingComplete}}
\index{preparingComplete@{preparingComplete}!Ogre::Resource::Listener@{Ogre::Resource::Listener}}
\doxysubsubsection{\texorpdfstring{preparingComplete()}{preparingComplete()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::\+Listener\+::preparing\+Complete (\begin{DoxyParamCaption}\item[{\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} has been marked as background loaded (
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\mbox{\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 \mbox{\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}!unloadingComplete@{unloadingComplete}}
\index{unloadingComplete@{unloadingComplete}!Ogre::Resource::Listener@{Ogre::Resource::Listener}}
\doxysubsubsection{\texorpdfstring{unloadingComplete()}{unloadingComplete()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::\+Listener\+::unloading\+Complete (\begin{DoxyParamCaption}\item[{\mbox{\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 \mbox{\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 
\mbox{\hyperlink{_ogre_resource_8h}{Ogre\+Resource.\+h}}\end{DoxyCompactItemize}
