\hypertarget{class_ogre_1_1_scene_query_listener}{}\section{Ogre\+:\+:Scene\+Query\+Listener Class Reference}
\label{class_ogre_1_1_scene_query_listener}\index{Ogre\+::\+Scene\+Query\+Listener@{Ogre\+::\+Scene\+Query\+Listener}}


This optional class allows you to receive per-\/result callbacks from \hyperlink{class_ogre_1_1_scene_query}{Scene\+Query} executions instead of a single set of consolidated results.  




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



Inheritance diagram for Ogre\+:\+:Scene\+Query\+Listener\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_ogre_1_1_scene_query_listener__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \hyperlink{class_ogre_1_1_scene_query_listener_ad0ea5280ec1032a5170999eb7ae3fb2b}{$\sim$\+Scene\+Query\+Listener} ()
\item 
virtual bool \hyperlink{class_ogre_1_1_scene_query_listener_a70936d2cd7413dd284faef05528ddb92}{query\+Result} (\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object} $\ast$object)=0
\begin{DoxyCompactList}\small\item\em Called when a \hyperlink{class_ogre_1_1_movable_object}{Movable\+Object} is returned by a query. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ogre_1_1_scene_query_listener_ac17a072217f44693bb45ecbcd1623611}{query\+Result} (\hyperlink{struct_ogre_1_1_scene_query_1_1_world_fragment}{Scene\+Query\+::\+World\+Fragment} $\ast$fragment)=0
\begin{DoxyCompactList}\small\item\em Called when a World\+Fragment is returned by a query. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This optional class allows you to receive per-\/result callbacks from \hyperlink{class_ogre_1_1_scene_query}{Scene\+Query} executions instead of a single set of consolidated results. 

\begin{DoxyRemark}{Remarks}
You should override this with your own subclass. Note that certain query classes may refine this listener interface. 
\end{DoxyRemark}


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



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_scene_query_listener_a70936d2cd7413dd284faef05528ddb92}\label{class_ogre_1_1_scene_query_listener_a70936d2cd7413dd284faef05528ddb92}} 
\index{Ogre\+::\+Scene\+Query\+Listener@{Ogre\+::\+Scene\+Query\+Listener}!query\+Result@{query\+Result}}
\index{query\+Result@{query\+Result}!Ogre\+::\+Scene\+Query\+Listener@{Ogre\+::\+Scene\+Query\+Listener}}
\subsubsection{\texorpdfstring{query\+Result()}{queryResult()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Scene\+Query\+Listener\+::query\+Result (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object} $\ast$}]{object }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}



Called when a \hyperlink{class_ogre_1_1_movable_object}{Movable\+Object} is returned by a query. 

\begin{DoxyRemark}{Remarks}
The implementor should return \textquotesingle{}true\textquotesingle{} to continue returning objects, or \textquotesingle{}false\textquotesingle{} to abandon any further results from this query. 
\end{DoxyRemark}


Implemented in \hyperlink{class_ogre_1_1_region_scene_query_a49641297f4affe82b8e9f8b9ab3ff9f4}{Ogre\+::\+Region\+Scene\+Query}.

\mbox{\Hypertarget{class_ogre_1_1_scene_query_listener_ac17a072217f44693bb45ecbcd1623611}\label{class_ogre_1_1_scene_query_listener_ac17a072217f44693bb45ecbcd1623611}} 
\index{Ogre\+::\+Scene\+Query\+Listener@{Ogre\+::\+Scene\+Query\+Listener}!query\+Result@{query\+Result}}
\index{query\+Result@{query\+Result}!Ogre\+::\+Scene\+Query\+Listener@{Ogre\+::\+Scene\+Query\+Listener}}
\subsubsection{\texorpdfstring{query\+Result()}{queryResult()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Scene\+Query\+Listener\+::query\+Result (\begin{DoxyParamCaption}\item[{\hyperlink{struct_ogre_1_1_scene_query_1_1_world_fragment}{Scene\+Query\+::\+World\+Fragment} $\ast$}]{fragment }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}



Called when a World\+Fragment is returned by a query. 

\begin{DoxyRemark}{Remarks}
The implementor should return \textquotesingle{}true\textquotesingle{} to continue returning objects, or \textquotesingle{}false\textquotesingle{} to abandon any further results from this query. 
\end{DoxyRemark}


Implemented in \hyperlink{class_ogre_1_1_region_scene_query_ae52b991bb3e6ecdb688c3d06d245c468}{Ogre\+::\+Region\+Scene\+Query}.



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