\hypertarget{class_ogre_1_1_profile_session_listener}{}\doxysection{Ogre\+::Profile\+Session\+Listener Class Reference}
\label{class_ogre_1_1_profile_session_listener}\index{Ogre::ProfileSessionListener@{Ogre::ProfileSessionListener}}


\mbox{\hyperlink{class_ogre_1_1_profile_session_listener}{Profile\+Session\+Listener}} should be used to visualize profile results.  




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



Inheritance diagram for Ogre\+::Profile\+Session\+Listener\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=233pt]{class_ogre_1_1_profile_session_listener__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_profile_session_listener_aa66be03fee41bf798a8941b54ae664ec}{$\sim$\+Profile\+Session\+Listener}} ()
\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_profile_session_listener_a890e4c31d485fd9842beece13d2752e9}{change\+Enable\+State}} (bool enabled)
\begin{DoxyCompactList}\small\item\em If the profiler disables this listener then it should hide its panels (if any exists) or stop sending data over the network. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_profile_session_listener_a113fcfa3b7e251bccbaf12c9b58790b5}{display\+Results}} (const \mbox{\hyperlink{class_ogre_1_1_profile_instance}{Profile\+Instance}} \&instance, \mbox{\hyperlink{namespace_ogre_a4304981347643708ee9a7ba8884e5758}{ulong}} max\+Total\+Frame\+Time)
\begin{DoxyCompactList}\small\item\em Here we get the real profiling information which we can use. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_profile_session_listener_a4e5b4b6405ab857d9eb381975010eaa1}{finialize\+Session}} ()=0
\begin{DoxyCompactList}\small\item\em All internal resources should be deleted here. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_profile_session_listener_a2a55689ef0b65d011ecbe5e618ec6061}{initialize\+Session}} ()=0
\begin{DoxyCompactList}\small\item\em Create the internal resources. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\mbox{\hyperlink{class_ogre_1_1_profile_session_listener}{Profile\+Session\+Listener}} should be used to visualize profile results. 

Concrete impl. could be done using \mbox{\hyperlink{class_ogre_1_1_overlay}{Overlay}}\textquotesingle{}s but its not limited to them you can also create a custom listener which sends the profile informtaion over a network. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_profile_session_listener_aa66be03fee41bf798a8941b54ae664ec}\label{class_ogre_1_1_profile_session_listener_aa66be03fee41bf798a8941b54ae664ec}} 
\index{Ogre::ProfileSessionListener@{Ogre::ProfileSessionListener}!````~ProfileSessionListener@{$\sim$ProfileSessionListener}}
\index{````~ProfileSessionListener@{$\sim$ProfileSessionListener}!Ogre::ProfileSessionListener@{Ogre::ProfileSessionListener}}
\doxysubsubsection{\texorpdfstring{$\sim$ProfileSessionListener()}{~ProfileSessionListener()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Profile\+Session\+Listener\+::$\sim$\+Profile\+Session\+Listener (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_profile_session_listener_a2a55689ef0b65d011ecbe5e618ec6061}\label{class_ogre_1_1_profile_session_listener_a2a55689ef0b65d011ecbe5e618ec6061}} 
\index{Ogre::ProfileSessionListener@{Ogre::ProfileSessionListener}!initializeSession@{initializeSession}}
\index{initializeSession@{initializeSession}!Ogre::ProfileSessionListener@{Ogre::ProfileSessionListener}}
\doxysubsubsection{\texorpdfstring{initializeSession()}{initializeSession()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Profile\+Session\+Listener\+::initialize\+Session (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}



Create the internal resources. 



Implemented in \mbox{\hyperlink{group___overlays_ga015d977b47be9122d96cc185c5f9f818}{Ogre\+::\+Overlay\+Profile\+Session\+Listener}}.

\mbox{\Hypertarget{class_ogre_1_1_profile_session_listener_a4e5b4b6405ab857d9eb381975010eaa1}\label{class_ogre_1_1_profile_session_listener_a4e5b4b6405ab857d9eb381975010eaa1}} 
\index{Ogre::ProfileSessionListener@{Ogre::ProfileSessionListener}!finializeSession@{finializeSession}}
\index{finializeSession@{finializeSession}!Ogre::ProfileSessionListener@{Ogre::ProfileSessionListener}}
\doxysubsubsection{\texorpdfstring{finializeSession()}{finializeSession()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Profile\+Session\+Listener\+::finialize\+Session (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}



All internal resources should be deleted here. 



Implemented in \mbox{\hyperlink{group___overlays_ga7652f6ce58d31b3613fecb2206142a3c}{Ogre\+::\+Overlay\+Profile\+Session\+Listener}}.

\mbox{\Hypertarget{class_ogre_1_1_profile_session_listener_a890e4c31d485fd9842beece13d2752e9}\label{class_ogre_1_1_profile_session_listener_a890e4c31d485fd9842beece13d2752e9}} 
\index{Ogre::ProfileSessionListener@{Ogre::ProfileSessionListener}!changeEnableState@{changeEnableState}}
\index{changeEnableState@{changeEnableState}!Ogre::ProfileSessionListener@{Ogre::ProfileSessionListener}}
\doxysubsubsection{\texorpdfstring{changeEnableState()}{changeEnableState()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Profile\+Session\+Listener\+::change\+Enable\+State (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



If the profiler disables this listener then it should hide its panels (if any exists) or stop sending data over the network. 



Reimplemented in \mbox{\hyperlink{group___overlays_ga71c22e881e91f9cc375ba55c145ce02a}{Ogre\+::\+Overlay\+Profile\+Session\+Listener}}.

\mbox{\Hypertarget{class_ogre_1_1_profile_session_listener_a113fcfa3b7e251bccbaf12c9b58790b5}\label{class_ogre_1_1_profile_session_listener_a113fcfa3b7e251bccbaf12c9b58790b5}} 
\index{Ogre::ProfileSessionListener@{Ogre::ProfileSessionListener}!displayResults@{displayResults}}
\index{displayResults@{displayResults}!Ogre::ProfileSessionListener@{Ogre::ProfileSessionListener}}
\doxysubsubsection{\texorpdfstring{displayResults()}{displayResults()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Profile\+Session\+Listener\+::display\+Results (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_profile_instance}{Profile\+Instance}} \&}]{instance,  }\item[{\mbox{\hyperlink{namespace_ogre_a4304981347643708ee9a7ba8884e5758}{ulong}}}]{max\+Total\+Frame\+Time }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Here we get the real profiling information which we can use. 



Reimplemented in \mbox{\hyperlink{group___overlays_gaa6f75403a640cfc3c1b70c60faf3ad03}{Ogre\+::\+Overlay\+Profile\+Session\+Listener}}.



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