\hypertarget{class_ogre_1_1_anti_portal_factory}{}\section{Ogre\+:\+:Anti\+Portal\+Factory Class Reference}
\label{class_ogre_1_1_anti_portal_factory}\index{Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}}


Factory object for creating \hyperlink{class_ogre_1_1_anti_portal}{Anti\+Portal} instances.  




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



Inheritance diagram for Ogre\+:\+:Anti\+Portal\+Factory\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=234pt]{class_ogre_1_1_anti_portal_factory__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_anti_portal_factory_af688d398d37a8468ed3c28f18b9802fe}{Anti\+Portal\+Factory} ()
\item 
\hyperlink{class_ogre_1_1_anti_portal_factory_a60c2ef49cc993472bf0b70a3d770137c}{$\sim$\+Anti\+Portal\+Factory} ()
\item 
void \hyperlink{class_ogre_1_1_movable_object_factory_aa23e112f39b565fa0b97e60e27014de3}{\+\_\+notify\+Type\+Flags} (\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} flag)
\begin{DoxyCompactList}\small\item\em Notify this factory of the type mask to apply. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object} $\ast$ \hyperlink{class_ogre_1_1_movable_object_factory_a23f425e96487a07c316b2e828ee3ed2f}{create\+Instance} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, \hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager} $\ast$manager, const \hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List} $\ast$params=0)
\begin{DoxyCompactList}\small\item\em Create a new instance of the object. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_anti_portal_factory_abcc80b699903b945a3050b415191f5c3}{destroy\+Instance} (\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Destroy an instance of the object. \end{DoxyCompactList}\item 
const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{class_ogre_1_1_anti_portal_factory_aa92b2d390d411f78132238b98cf7e375}{get\+Type} () const
\begin{DoxyCompactList}\small\item\em Get the type of the object to be created. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \hyperlink{class_ogre_1_1_movable_object_factory_a79d691ca0e7dd4e8c96254360e0acd87}{get\+Type\+Flags} (void) const
\begin{DoxyCompactList}\small\item\em Gets the type flag for this factory. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_anti_portal_factory_a2174deb17522078482d2c7dec12c2ecb}{request\+Type\+Flags} () const
\begin{DoxyCompactList}\small\item\em Return true here as we want to get a unique type flag. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static unsigned long \hyperlink{class_ogre_1_1_anti_portal_factory_ab1da2bc61cc5651a69440f2436cf98b1}{F\+A\+C\+T\+O\+R\+Y\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+AG}
\item 
static \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \hyperlink{class_ogre_1_1_anti_portal_factory_aefcbb3643ac4b7d4de07ea36cd84ba67}{F\+A\+C\+T\+O\+R\+Y\+\_\+\+T\+Y\+P\+E\+\_\+\+N\+A\+ME}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Factory object for creating \hyperlink{class_ogre_1_1_anti_portal}{Anti\+Portal} instances. 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_anti_portal_factory_af688d398d37a8468ed3c28f18b9802fe}\label{class_ogre_1_1_anti_portal_factory_af688d398d37a8468ed3c28f18b9802fe}} 
\index{Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}!Anti\+Portal\+Factory@{Anti\+Portal\+Factory}}
\index{Anti\+Portal\+Factory@{Anti\+Portal\+Factory}!Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}}
\subsubsection{\texorpdfstring{Anti\+Portal\+Factory()}{AntiPortalFactory()}}
{\footnotesize\ttfamily Ogre\+::\+Anti\+Portal\+Factory\+::\+Anti\+Portal\+Factory (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_anti_portal_factory_a60c2ef49cc993472bf0b70a3d770137c}\label{class_ogre_1_1_anti_portal_factory_a60c2ef49cc993472bf0b70a3d770137c}} 
\index{Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}!````~Anti\+Portal\+Factory@{$\sim$\+Anti\+Portal\+Factory}}
\index{````~Anti\+Portal\+Factory@{$\sim$\+Anti\+Portal\+Factory}!Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}}
\subsubsection{\texorpdfstring{$\sim$\+Anti\+Portal\+Factory()}{~AntiPortalFactory()}}
{\footnotesize\ttfamily Ogre\+::\+Anti\+Portal\+Factory\+::$\sim$\+Anti\+Portal\+Factory (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_anti_portal_factory_aa92b2d390d411f78132238b98cf7e375}\label{class_ogre_1_1_anti_portal_factory_aa92b2d390d411f78132238b98cf7e375}} 
\index{Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}!get\+Type@{get\+Type}}
\index{get\+Type@{get\+Type}!Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}}
\subsubsection{\texorpdfstring{get\+Type()}{getType()}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}\& Ogre\+::\+Anti\+Portal\+Factory\+::get\+Type (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Get the type of the object to be created. 



Implements \hyperlink{class_ogre_1_1_movable_object_factory_a0b45580fccdefe99312afa67265264fc}{Ogre\+::\+Movable\+Object\+Factory}.

\mbox{\Hypertarget{class_ogre_1_1_anti_portal_factory_abcc80b699903b945a3050b415191f5c3}\label{class_ogre_1_1_anti_portal_factory_abcc80b699903b945a3050b415191f5c3}} 
\index{Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}!destroy\+Instance@{destroy\+Instance}}
\index{destroy\+Instance@{destroy\+Instance}!Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}}
\subsubsection{\texorpdfstring{destroy\+Instance()}{destroyInstance()}}
{\footnotesize\ttfamily void Ogre\+::\+Anti\+Portal\+Factory\+::destroy\+Instance (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object} $\ast$}]{obj }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Destroy an instance of the object. 



Implements \hyperlink{class_ogre_1_1_movable_object_factory_aae1cdb0b70854af1c84e23d5b45dfb30}{Ogre\+::\+Movable\+Object\+Factory}.

\mbox{\Hypertarget{class_ogre_1_1_anti_portal_factory_a2174deb17522078482d2c7dec12c2ecb}\label{class_ogre_1_1_anti_portal_factory_a2174deb17522078482d2c7dec12c2ecb}} 
\index{Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}!request\+Type\+Flags@{request\+Type\+Flags}}
\index{request\+Type\+Flags@{request\+Type\+Flags}!Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}}
\subsubsection{\texorpdfstring{request\+Type\+Flags()}{requestTypeFlags()}}
{\footnotesize\ttfamily bool Ogre\+::\+Anti\+Portal\+Factory\+::request\+Type\+Flags (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Return true here as we want to get a unique type flag. 



Reimplemented from \hyperlink{class_ogre_1_1_movable_object_factory_a7217963ad49147c6d9b1603392ee1408}{Ogre\+::\+Movable\+Object\+Factory}.

\mbox{\Hypertarget{class_ogre_1_1_movable_object_factory_a23f425e96487a07c316b2e828ee3ed2f}\label{class_ogre_1_1_movable_object_factory_a23f425e96487a07c316b2e828ee3ed2f}} 
\index{Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}!create\+Instance@{create\+Instance}}
\index{create\+Instance@{create\+Instance}!Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}}
\subsubsection{\texorpdfstring{create\+Instance()}{createInstance()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_movable_object}{Movable\+Object}$\ast$ Ogre\+::\+Movable\+Object\+Factory\+::create\+Instance (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager} $\ast$}]{manager,  }\item[{const \hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List} $\ast$}]{params = {\ttfamily 0} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Create a new instance of the object. 


\begin{DoxyParams}{Parameters}
{\em name} & The name of the new object \\
\hline
{\em manager} & The \hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager} instance that will be holding the instance once created. \\
\hline
{\em params} & Name/value pair list of additional parameters required to construct the object (defined per subtype). Optional. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_movable_object_factory_aa23e112f39b565fa0b97e60e27014de3}\label{class_ogre_1_1_movable_object_factory_aa23e112f39b565fa0b97e60e27014de3}} 
\index{Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}!\+\_\+notify\+Type\+Flags@{\+\_\+notify\+Type\+Flags}}
\index{\+\_\+notify\+Type\+Flags@{\+\_\+notify\+Type\+Flags}!Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}}
\subsubsection{\texorpdfstring{\+\_\+notify\+Type\+Flags()}{\_notifyTypeFlags()}}
{\footnotesize\ttfamily void Ogre\+::\+Movable\+Object\+Factory\+::\+\_\+notify\+Type\+Flags (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}]{flag }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Notify this factory of the type mask to apply. 

\begin{DoxyRemark}{Remarks}
This should normally only be called by \hyperlink{class_ogre_1_1_root}{Root} in response to a \textquotesingle{}true\textquotesingle{} result from request\+Type\+Mask. However, you can actually use it yourself if you\textquotesingle{}re careful; for example to assign the same mask to a number of different types of object, should you always wish them to be treated the same in queries. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_movable_object_factory_a79d691ca0e7dd4e8c96254360e0acd87}\label{class_ogre_1_1_movable_object_factory_a79d691ca0e7dd4e8c96254360e0acd87}} 
\index{Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}!get\+Type\+Flags@{get\+Type\+Flags}}
\index{get\+Type\+Flags@{get\+Type\+Flags}!Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}}
\subsubsection{\texorpdfstring{get\+Type\+Flags()}{getTypeFlags()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} Ogre\+::\+Movable\+Object\+Factory\+::get\+Type\+Flags (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Gets the type flag for this factory. 

\begin{DoxyRemark}{Remarks}
A type flag is like a query flag, except that it applies to all instances of a certain type of object. 
\end{DoxyRemark}


\subsection{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_anti_portal_factory_aefcbb3643ac4b7d4de07ea36cd84ba67}\label{class_ogre_1_1_anti_portal_factory_aefcbb3643ac4b7d4de07ea36cd84ba67}} 
\index{Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}!F\+A\+C\+T\+O\+R\+Y\+\_\+\+T\+Y\+P\+E\+\_\+\+N\+A\+ME@{F\+A\+C\+T\+O\+R\+Y\+\_\+\+T\+Y\+P\+E\+\_\+\+N\+A\+ME}}
\index{F\+A\+C\+T\+O\+R\+Y\+\_\+\+T\+Y\+P\+E\+\_\+\+N\+A\+ME@{F\+A\+C\+T\+O\+R\+Y\+\_\+\+T\+Y\+P\+E\+\_\+\+N\+A\+ME}!Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}}
\subsubsection{\texorpdfstring{F\+A\+C\+T\+O\+R\+Y\+\_\+\+T\+Y\+P\+E\+\_\+\+N\+A\+ME}{FACTORY\_TYPE\_NAME}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} Ogre\+::\+Anti\+Portal\+Factory\+::\+F\+A\+C\+T\+O\+R\+Y\+\_\+\+T\+Y\+P\+E\+\_\+\+N\+A\+ME\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_anti_portal_factory_ab1da2bc61cc5651a69440f2436cf98b1}\label{class_ogre_1_1_anti_portal_factory_ab1da2bc61cc5651a69440f2436cf98b1}} 
\index{Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}!F\+A\+C\+T\+O\+R\+Y\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+AG@{F\+A\+C\+T\+O\+R\+Y\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+AG}}
\index{F\+A\+C\+T\+O\+R\+Y\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+AG@{F\+A\+C\+T\+O\+R\+Y\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+AG}!Ogre\+::\+Anti\+Portal\+Factory@{Ogre\+::\+Anti\+Portal\+Factory}}
\subsubsection{\texorpdfstring{F\+A\+C\+T\+O\+R\+Y\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+AG}{FACTORY\_TYPE\_FLAG}}
{\footnotesize\ttfamily unsigned long Ogre\+::\+Anti\+Portal\+Factory\+::\+F\+A\+C\+T\+O\+R\+Y\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+AG\hspace{0.3cm}{\ttfamily [static]}}



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