\hypertarget{class_ogre_1_1_platform_information}{}\section{Ogre\+:\+:Platform\+Information Class Reference}
\label{class_ogre_1_1_platform_information}\index{Ogre\+::\+Platform\+Information@{Ogre\+::\+Platform\+Information}}


Class which provides the run-\/time platform information \hyperlink{namespace_ogre}{Ogre} runs on.  




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

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{class_ogre_1_1_platform_information_af7f9306631264031789d89af0642a807}{Cpu\+Features} \{ \hyperlink{class_ogre_1_1_platform_information_af7f9306631264031789d89af0642a807a1bea16c1677fe68834a2d76b968562d7}{C\+P\+U\+\_\+\+F\+E\+A\+T\+U\+R\+E\+\_\+\+N\+O\+NE} = 0
 \}\begin{DoxyCompactList}\small\item\em Enum describing the different C\+PU features we want to check for, platform-\/dependent. \end{DoxyCompactList}
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint} \hyperlink{class_ogre_1_1_platform_information_aae9beb453c6df1f32ad9949536a3f40f}{get\+Cpu\+Features} (void)
\begin{DoxyCompactList}\small\item\em Gets a or-\/masked of enum Cpu\+Features that are supported by the C\+PU. \end{DoxyCompactList}\item 
static const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{class_ogre_1_1_platform_information_af3e5caa8ce423770f2685cbb8deb71e5}{get\+Cpu\+Identifier} (void)
\begin{DoxyCompactList}\small\item\em Gets a string of the C\+PU identifier. \end{DoxyCompactList}\item 
static bool \hyperlink{class_ogre_1_1_platform_information_ab397833e2f858920d32be590c714336a}{has\+Cpu\+Feature} (\hyperlink{class_ogre_1_1_platform_information_af7f9306631264031789d89af0642a807}{Cpu\+Features} feature)
\begin{DoxyCompactList}\small\item\em Gets whether a specific feature is supported by the C\+PU. \end{DoxyCompactList}\item 
static void \hyperlink{class_ogre_1_1_platform_information_ae04f524bd9f4e399eeb5307a39ab1f56}{log} (\hyperlink{class_ogre_1_1_log}{Log} $\ast$p\+Log)
\begin{DoxyCompactList}\small\item\em Write the C\+PU information to the passed in \hyperlink{class_ogre_1_1_log}{Log}. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Class which provides the run-\/time platform information \hyperlink{namespace_ogre}{Ogre} runs on. 

\begin{DoxyRemark}{Remarks}
\hyperlink{namespace_ogre}{Ogre} is designed to be platform-\/independent, but some platform and run-\/time environment specific optimised functions are built-\/in to maximise performance, and those special optimised routines are need to determine run-\/time environment for select variant executing path. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
This class manages that provides a couple of functions to determine platform information of the run-\/time environment. 
\end{DoxyParagraph}
\begin{DoxyNote}{Note}
This class is supposed to use by advanced user only. 
\end{DoxyNote}


\subsection{Member Enumeration Documentation}
\mbox{\Hypertarget{class_ogre_1_1_platform_information_af7f9306631264031789d89af0642a807}\label{class_ogre_1_1_platform_information_af7f9306631264031789d89af0642a807}} 
\index{Ogre\+::\+Platform\+Information@{Ogre\+::\+Platform\+Information}!Cpu\+Features@{Cpu\+Features}}
\index{Cpu\+Features@{Cpu\+Features}!Ogre\+::\+Platform\+Information@{Ogre\+::\+Platform\+Information}}
\subsubsection{\texorpdfstring{Cpu\+Features}{CpuFeatures}}
{\footnotesize\ttfamily enum \hyperlink{class_ogre_1_1_platform_information_af7f9306631264031789d89af0642a807}{Ogre\+::\+Platform\+Information\+::\+Cpu\+Features}}



Enum describing the different C\+PU features we want to check for, platform-\/dependent. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{C\+P\+U\+\_\+\+F\+E\+A\+T\+U\+R\+E\+\_\+\+N\+O\+NE@{C\+P\+U\+\_\+\+F\+E\+A\+T\+U\+R\+E\+\_\+\+N\+O\+NE}!Ogre\+::\+Platform\+Information@{Ogre\+::\+Platform\+Information}}\index{Ogre\+::\+Platform\+Information@{Ogre\+::\+Platform\+Information}!C\+P\+U\+\_\+\+F\+E\+A\+T\+U\+R\+E\+\_\+\+N\+O\+NE@{C\+P\+U\+\_\+\+F\+E\+A\+T\+U\+R\+E\+\_\+\+N\+O\+NE}}}\mbox{\Hypertarget{class_ogre_1_1_platform_information_af7f9306631264031789d89af0642a807a1bea16c1677fe68834a2d76b968562d7}\label{class_ogre_1_1_platform_information_af7f9306631264031789d89af0642a807a1bea16c1677fe68834a2d76b968562d7}} 
C\+P\+U\+\_\+\+F\+E\+A\+T\+U\+R\+E\+\_\+\+N\+O\+NE&\\
\hline

\end{DoxyEnumFields}


\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_platform_information_af3e5caa8ce423770f2685cbb8deb71e5}\label{class_ogre_1_1_platform_information_af3e5caa8ce423770f2685cbb8deb71e5}} 
\index{Ogre\+::\+Platform\+Information@{Ogre\+::\+Platform\+Information}!get\+Cpu\+Identifier@{get\+Cpu\+Identifier}}
\index{get\+Cpu\+Identifier@{get\+Cpu\+Identifier}!Ogre\+::\+Platform\+Information@{Ogre\+::\+Platform\+Information}}
\subsubsection{\texorpdfstring{get\+Cpu\+Identifier()}{getCpuIdentifier()}}
{\footnotesize\ttfamily static const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}\& Ogre\+::\+Platform\+Information\+::get\+Cpu\+Identifier (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Gets a string of the C\+PU identifier. 

\begin{DoxyNote}{Note}
Actual detecting are performs in the first time call to this function, and then all future calls with return internal cached value. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_platform_information_aae9beb453c6df1f32ad9949536a3f40f}\label{class_ogre_1_1_platform_information_aae9beb453c6df1f32ad9949536a3f40f}} 
\index{Ogre\+::\+Platform\+Information@{Ogre\+::\+Platform\+Information}!get\+Cpu\+Features@{get\+Cpu\+Features}}
\index{get\+Cpu\+Features@{get\+Cpu\+Features}!Ogre\+::\+Platform\+Information@{Ogre\+::\+Platform\+Information}}
\subsubsection{\texorpdfstring{get\+Cpu\+Features()}{getCpuFeatures()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint} Ogre\+::\+Platform\+Information\+::get\+Cpu\+Features (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Gets a or-\/masked of enum Cpu\+Features that are supported by the C\+PU. 

\begin{DoxyNote}{Note}
Actual detecting are performs in the first time call to this function, and then all future calls with return internal cached value. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_platform_information_ab397833e2f858920d32be590c714336a}\label{class_ogre_1_1_platform_information_ab397833e2f858920d32be590c714336a}} 
\index{Ogre\+::\+Platform\+Information@{Ogre\+::\+Platform\+Information}!has\+Cpu\+Feature@{has\+Cpu\+Feature}}
\index{has\+Cpu\+Feature@{has\+Cpu\+Feature}!Ogre\+::\+Platform\+Information@{Ogre\+::\+Platform\+Information}}
\subsubsection{\texorpdfstring{has\+Cpu\+Feature()}{hasCpuFeature()}}
{\footnotesize\ttfamily static bool Ogre\+::\+Platform\+Information\+::has\+Cpu\+Feature (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_platform_information_af7f9306631264031789d89af0642a807}{Cpu\+Features}}]{feature }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Gets whether a specific feature is supported by the C\+PU. 

\begin{DoxyNote}{Note}
Actual detecting are performs in the first time call to this function, and then all future calls with return internal cached value. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_platform_information_ae04f524bd9f4e399eeb5307a39ab1f56}\label{class_ogre_1_1_platform_information_ae04f524bd9f4e399eeb5307a39ab1f56}} 
\index{Ogre\+::\+Platform\+Information@{Ogre\+::\+Platform\+Information}!log@{log}}
\index{log@{log}!Ogre\+::\+Platform\+Information@{Ogre\+::\+Platform\+Information}}
\subsubsection{\texorpdfstring{log()}{log()}}
{\footnotesize\ttfamily static void Ogre\+::\+Platform\+Information\+::log (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_log}{Log} $\ast$}]{p\+Log }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Write the C\+PU information to the passed in \hyperlink{class_ogre_1_1_log}{Log}. 



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