\hypertarget{class_ogre_1_1_portal_factory}{}\doxysection{Ogre\+::Portal\+Factory Class Reference}
\label{class_ogre_1_1_portal_factory}\index{Ogre::PortalFactory@{Ogre::PortalFactory}}


Factory object for creating \mbox{\hyperlink{class_ogre_1_1_portal}{Portal}} instances.  




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



Inheritance diagram for Ogre\+::Portal\+Factory\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=235pt]{class_ogre_1_1_portal_factory__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_portal_factory_aa21d3769838b9662e409742029113d40}{Portal\+Factory}} ()
\item 
\mbox{\hyperlink{class_ogre_1_1_portal_factory_a7ed10d08fffd5b6e8306ef73329c12a3}{$\sim$\+Portal\+Factory}} ()
\item 
void \mbox{\hyperlink{class_ogre_1_1_movable_object_factory_aa23e112f39b565fa0b97e60e27014de3}{\+\_\+notify\+Type\+Flags}} (\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} flag)
\begin{DoxyCompactList}\small\item\em Notify this factory of the type mask to apply. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_movable_object_factory_a23f425e96487a07c316b2e828ee3ed2f}{create\+Instance}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, \mbox{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager}} $\ast$manager, const \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_portal_factory_a1e0625e43ce55da3130662898f2c7e93}{destroy\+Instance}} (\mbox{\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 \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_portal_factory_a88a2aa36305fd2c84720aaa89ba1e7cb}{get\+Type}} () const
\begin{DoxyCompactList}\small\item\em Get the type of the object to be created. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_portal_factory_a8c1c9edbe1d3af25cf2a10ee6d783dfc}{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}
\doxysubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static unsigned long \mbox{\hyperlink{class_ogre_1_1_portal_factory_a7487d7d88abc9ee51ca3174ea98505aa}{F\+A\+C\+T\+O\+R\+Y\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+AG}}
\item 
static \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \mbox{\hyperlink{class_ogre_1_1_portal_factory_a98aea319ddbe9f59c43dd6aa31aee813}{F\+A\+C\+T\+O\+R\+Y\+\_\+\+T\+Y\+P\+E\+\_\+\+N\+A\+ME}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Factory object for creating \mbox{\hyperlink{class_ogre_1_1_portal}{Portal}} instances. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_portal_factory_aa21d3769838b9662e409742029113d40}\label{class_ogre_1_1_portal_factory_aa21d3769838b9662e409742029113d40}} 
\index{Ogre::PortalFactory@{Ogre::PortalFactory}!PortalFactory@{PortalFactory}}
\index{PortalFactory@{PortalFactory}!Ogre::PortalFactory@{Ogre::PortalFactory}}
\doxysubsubsection{\texorpdfstring{PortalFactory()}{PortalFactory()}}
{\footnotesize\ttfamily Ogre\+::\+Portal\+Factory\+::\+Portal\+Factory (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

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



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_portal_factory_a88a2aa36305fd2c84720aaa89ba1e7cb}\label{class_ogre_1_1_portal_factory_a88a2aa36305fd2c84720aaa89ba1e7cb}} 
\index{Ogre::PortalFactory@{Ogre::PortalFactory}!getType@{getType}}
\index{getType@{getType}!Ogre::PortalFactory@{Ogre::PortalFactory}}
\doxysubsubsection{\texorpdfstring{getType()}{getType()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+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 \mbox{\hyperlink{class_ogre_1_1_movable_object_factory_a0b45580fccdefe99312afa67265264fc}{Ogre\+::\+Movable\+Object\+Factory}}.

\mbox{\Hypertarget{class_ogre_1_1_portal_factory_a1e0625e43ce55da3130662898f2c7e93}\label{class_ogre_1_1_portal_factory_a1e0625e43ce55da3130662898f2c7e93}} 
\index{Ogre::PortalFactory@{Ogre::PortalFactory}!destroyInstance@{destroyInstance}}
\index{destroyInstance@{destroyInstance}!Ogre::PortalFactory@{Ogre::PortalFactory}}
\doxysubsubsection{\texorpdfstring{destroyInstance()}{destroyInstance()}}
{\footnotesize\ttfamily void Ogre\+::\+Portal\+Factory\+::destroy\+Instance (\begin{DoxyParamCaption}\item[{\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_movable_object_factory_aae1cdb0b70854af1c84e23d5b45dfb30}{Ogre\+::\+Movable\+Object\+Factory}}.

\mbox{\Hypertarget{class_ogre_1_1_portal_factory_a8c1c9edbe1d3af25cf2a10ee6d783dfc}\label{class_ogre_1_1_portal_factory_a8c1c9edbe1d3af25cf2a10ee6d783dfc}} 
\index{Ogre::PortalFactory@{Ogre::PortalFactory}!requestTypeFlags@{requestTypeFlags}}
\index{requestTypeFlags@{requestTypeFlags}!Ogre::PortalFactory@{Ogre::PortalFactory}}
\doxysubsubsection{\texorpdfstring{requestTypeFlags()}{requestTypeFlags()}}
{\footnotesize\ttfamily bool Ogre\+::\+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 \mbox{\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::PortalFactory@{Ogre::PortalFactory}!createInstance@{createInstance}}
\index{createInstance@{createInstance}!Ogre::PortalFactory@{Ogre::PortalFactory}}
\doxysubsubsection{\texorpdfstring{createInstance()}{createInstance()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object}}$\ast$ Ogre\+::\+Movable\+Object\+Factory\+::create\+Instance (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{\mbox{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager}} $\ast$}]{manager,  }\item[{const \mbox{\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 \mbox{\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::PortalFactory@{Ogre::PortalFactory}!\_notifyTypeFlags@{\_notifyTypeFlags}}
\index{\_notifyTypeFlags@{\_notifyTypeFlags}!Ogre::PortalFactory@{Ogre::PortalFactory}}
\doxysubsubsection{\texorpdfstring{\_notifyTypeFlags()}{\_notifyTypeFlags()}}
{\footnotesize\ttfamily void Ogre\+::\+Movable\+Object\+Factory\+::\+\_\+notify\+Type\+Flags (\begin{DoxyParamCaption}\item[{\mbox{\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 \mbox{\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::PortalFactory@{Ogre::PortalFactory}!getTypeFlags@{getTypeFlags}}
\index{getTypeFlags@{getTypeFlags}!Ogre::PortalFactory@{Ogre::PortalFactory}}
\doxysubsubsection{\texorpdfstring{getTypeFlags()}{getTypeFlags()}}
{\footnotesize\ttfamily \mbox{\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}


\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_portal_factory_a98aea319ddbe9f59c43dd6aa31aee813}\label{class_ogre_1_1_portal_factory_a98aea319ddbe9f59c43dd6aa31aee813}} 
\index{Ogre::PortalFactory@{Ogre::PortalFactory}!FACTORY\_TYPE\_NAME@{FACTORY\_TYPE\_NAME}}
\index{FACTORY\_TYPE\_NAME@{FACTORY\_TYPE\_NAME}!Ogre::PortalFactory@{Ogre::PortalFactory}}
\doxysubsubsection{\texorpdfstring{FACTORY\_TYPE\_NAME}{FACTORY\_TYPE\_NAME}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} Ogre\+::\+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_portal_factory_a7487d7d88abc9ee51ca3174ea98505aa}\label{class_ogre_1_1_portal_factory_a7487d7d88abc9ee51ca3174ea98505aa}} 
\index{Ogre::PortalFactory@{Ogre::PortalFactory}!FACTORY\_TYPE\_FLAG@{FACTORY\_TYPE\_FLAG}}
\index{FACTORY\_TYPE\_FLAG@{FACTORY\_TYPE\_FLAG}!Ogre::PortalFactory@{Ogre::PortalFactory}}
\doxysubsubsection{\texorpdfstring{FACTORY\_TYPE\_FLAG}{FACTORY\_TYPE\_FLAG}}
{\footnotesize\ttfamily unsigned long Ogre\+::\+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 
\mbox{\hyperlink{_ogre_portal_8h}{Ogre\+Portal.\+h}}\end{DoxyCompactItemize}
