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


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

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_id_object_a7884ec3abf1ed8c1b1514d3bda918370}{Id\+Object} (\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 
\hyperlink{namespace_ogre_afcab9522fbe8edb20b32fbb5d8a48ed5}{Id\+Type} \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 \hyperlink{class_ogre_1_1_id_object_a0ae22596b5bd2a3faf2958ab3d109d1f}{operator()} (const \hyperlink{class_ogre_1_1_id_object}{Id\+Object} $\ast$left, const \hyperlink{class_ogre_1_1_id_object}{Id\+Object} $\ast$right)
\item 
bool \hyperlink{class_ogre_1_1_id_object_a57e0523432c6e5133ff4fc251111a60e}{operator()} (const \hyperlink{class_ogre_1_1_id_object}{Id\+Object} \&left, const \hyperlink{class_ogre_1_1_id_object}{Id\+Object} \&right)
\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{class_ogre_1_1_id_object_aad76afcc63d308b18fe15fa45b9520f9}{Id\+Cmp}
\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_id_object_a7884ec3abf1ed8c1b1514d3bda918370}\label{class_ogre_1_1_id_object_a7884ec3abf1ed8c1b1514d3bda918370}} 
\index{Ogre\+::\+Id\+Object@{Ogre\+::\+Id\+Object}!Id\+Object@{Id\+Object}}
\index{Id\+Object@{Id\+Object}!Ogre\+::\+Id\+Object@{Ogre\+::\+Id\+Object}}
\subsubsection{\texorpdfstring{Id\+Object()}{IdObject()}}
{\footnotesize\ttfamily Ogre\+::\+Id\+Object\+::\+Id\+Object (\begin{DoxyParamCaption}\item[{\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 \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. 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_id_object_ab152c8f646a835c2f88585ad4fe0413a}\label{class_ogre_1_1_id_object_ab152c8f646a835c2f88585ad4fe0413a}} 
\index{Ogre\+::\+Id\+Object@{Ogre\+::\+Id\+Object}!get\+Id@{get\+Id}}
\index{get\+Id@{get\+Id}!Ogre\+::\+Id\+Object@{Ogre\+::\+Id\+Object}}
\subsubsection{\texorpdfstring{get\+Id()}{getId()}}
{\footnotesize\ttfamily \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\+::\+Id\+Object@{Ogre\+::\+Id\+Object}!operator()@{operator()}}
\index{operator()@{operator()}!Ogre\+::\+Id\+Object@{Ogre\+::\+Id\+Object}}
\subsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily bool Ogre\+::\+Id\+Object\+::operator() (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_id_object}{Id\+Object} $\ast$}]{left,  }\item[{const \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\+::\+Id\+Object@{Ogre\+::\+Id\+Object}!operator()@{operator()}}
\index{operator()@{operator()}!Ogre\+::\+Id\+Object@{Ogre\+::\+Id\+Object}}
\subsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily bool Ogre\+::\+Id\+Object\+::operator() (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_id_object}{Id\+Object} \&}]{left,  }\item[{const \hyperlink{class_ogre_1_1_id_object}{Id\+Object} \&}]{right }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



\subsection{Friends And Related Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_id_object_aad76afcc63d308b18fe15fa45b9520f9}\label{class_ogre_1_1_id_object_aad76afcc63d308b18fe15fa45b9520f9}} 
\index{Ogre\+::\+Id\+Object@{Ogre\+::\+Id\+Object}!Id\+Cmp@{Id\+Cmp}}
\index{Id\+Cmp@{Id\+Cmp}!Ogre\+::\+Id\+Object@{Ogre\+::\+Id\+Object}}
\subsubsection{\texorpdfstring{Id\+Cmp}{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 
\hyperlink{_ogre_id_8h}{Ogre\+Id.\+h}\end{DoxyCompactItemize}
