\hypertarget{class_ogre_1_1_id_object}{}\doxysection{Ogre\+::Id\+Object Class Reference}
\label{class_ogre_1_1_id_object}\index{Ogre::IdObject@{Ogre::IdObject}}


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

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_id_object_a7884ec3abf1ed8c1b1514d3bda918370}{Id\+Object}} (\mbox{\hyperlink{namespace_ogre_afcab9522fbe8edb20b32fbb5d8a48ed5}{Id\+Type}} id)
\begin{DoxyCompactList}\small\item\em We don\textquotesingle{}t call generate\+New\+Id() here, to prevent objects in the stack (i.\+e. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_afcab9522fbe8edb20b32fbb5d8a48ed5}{Id\+Type}} \mbox{\hyperlink{class_ogre_1_1_id_object_ab152c8f646a835c2f88585ad4fe0413a}{get\+Id}} () const
\begin{DoxyCompactList}\small\item\em Get the unique id of this object. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_id_object_a57e0523432c6e5133ff4fc251111a60e}{operator()}} (const \mbox{\hyperlink{class_ogre_1_1_id_object}{Id\+Object}} \&left, const \mbox{\hyperlink{class_ogre_1_1_id_object}{Id\+Object}} \&right)
\item 
bool \mbox{\hyperlink{class_ogre_1_1_id_object_a0ae22596b5bd2a3faf2958ab3d109d1f}{operator()}} (const \mbox{\hyperlink{class_ogre_1_1_id_object}{Id\+Object}} $\ast$left, const \mbox{\hyperlink{class_ogre_1_1_id_object}{Id\+Object}} $\ast$right)
\end{DoxyCompactItemize}
\doxysubsection*{Friends}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{class_ogre_1_1_id_object_aad76afcc63d308b18fe15fa45b9520f9}{Id\+Cmp}}
\end{DoxyCompactItemize}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_id_object_a7884ec3abf1ed8c1b1514d3bda918370}\label{class_ogre_1_1_id_object_a7884ec3abf1ed8c1b1514d3bda918370}} 
\index{Ogre::IdObject@{Ogre::IdObject}!IdObject@{IdObject}}
\index{IdObject@{IdObject}!Ogre::IdObject@{Ogre::IdObject}}
\doxysubsubsection{\texorpdfstring{IdObject()}{IdObject()}}
{\footnotesize\ttfamily Ogre\+::\+Id\+Object\+::\+Id\+Object (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_afcab9522fbe8edb20b32fbb5d8a48ed5}{Id\+Type}}}]{id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



We don\textquotesingle{}t call generate\+New\+Id() here, to prevent objects in the stack (i.\+e. 

local variables) that don\textquotesingle{}t need an \mbox{\hyperlink{class_ogre_1_1_id}{Id}} from incrementing the count; which is very dangerous if the caller is creating local objects from multiple threads (which should stay safe!). Instead our creator should do that. 

\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_id_object_ab152c8f646a835c2f88585ad4fe0413a}\label{class_ogre_1_1_id_object_ab152c8f646a835c2f88585ad4fe0413a}} 
\index{Ogre::IdObject@{Ogre::IdObject}!getId@{getId}}
\index{getId@{getId}!Ogre::IdObject@{Ogre::IdObject}}
\doxysubsubsection{\texorpdfstring{getId()}{getId()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_afcab9522fbe8edb20b32fbb5d8a48ed5}{Id\+Type}} Ogre\+::\+Id\+Object\+::get\+Id (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the unique id of this object. 

\mbox{\Hypertarget{class_ogre_1_1_id_object_a0ae22596b5bd2a3faf2958ab3d109d1f}\label{class_ogre_1_1_id_object_a0ae22596b5bd2a3faf2958ab3d109d1f}} 
\index{Ogre::IdObject@{Ogre::IdObject}!operator()@{operator()}}
\index{operator()@{operator()}!Ogre::IdObject@{Ogre::IdObject}}
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily bool Ogre\+::\+Id\+Object\+::operator() (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_id_object}{Id\+Object}} $\ast$}]{left,  }\item[{const \mbox{\hyperlink{class_ogre_1_1_id_object}{Id\+Object}} $\ast$}]{right }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_id_object_a57e0523432c6e5133ff4fc251111a60e}\label{class_ogre_1_1_id_object_a57e0523432c6e5133ff4fc251111a60e}} 
\index{Ogre::IdObject@{Ogre::IdObject}!operator()@{operator()}}
\index{operator()@{operator()}!Ogre::IdObject@{Ogre::IdObject}}
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily bool Ogre\+::\+Id\+Object\+::operator() (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_id_object}{Id\+Object}} \&}]{left,  }\item[{const \mbox{\hyperlink{class_ogre_1_1_id_object}{Id\+Object}} \&}]{right }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



\doxysubsection{Friends And Related Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_id_object_aad76afcc63d308b18fe15fa45b9520f9}\label{class_ogre_1_1_id_object_aad76afcc63d308b18fe15fa45b9520f9}} 
\index{Ogre::IdObject@{Ogre::IdObject}!IdCmp@{IdCmp}}
\index{IdCmp@{IdCmp}!Ogre::IdObject@{Ogre::IdObject}}
\doxysubsubsection{\texorpdfstring{IdCmp}{IdCmp}}
{\footnotesize\ttfamily friend struct Id\+Cmp\hspace{0.3cm}{\ttfamily [friend]}}



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