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


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




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

\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{class_ogre_1_1_platform_information_af7f9306631264031789d89af0642a807}{Cpu\+Features}} \{ \mbox{\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}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} \mbox{\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 \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_platform_information_ab397833e2f858920d32be590c714336a}{has\+Cpu\+Feature}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_platform_information_ae04f524bd9f4e399eeb5307a39ab1f56}{log}} (\mbox{\hyperlink{class_ogre_1_1_log}{Log}} $\ast$p\+Log)
\begin{DoxyCompactList}\small\item\em Write the C\+PU information to the passed in \mbox{\hyperlink{class_ogre_1_1_log}{Log}}. \end{DoxyCompactList}\end{DoxyCompactItemize}


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

\begin{DoxyRemark}{Remarks}
\mbox{\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}


\doxysubsection{Member Enumeration Documentation}
\mbox{\Hypertarget{class_ogre_1_1_platform_information_af7f9306631264031789d89af0642a807}\label{class_ogre_1_1_platform_information_af7f9306631264031789d89af0642a807}} 
\index{Ogre::PlatformInformation@{Ogre::PlatformInformation}!CpuFeatures@{CpuFeatures}}
\index{CpuFeatures@{CpuFeatures}!Ogre::PlatformInformation@{Ogre::PlatformInformation}}
\doxysubsubsection{\texorpdfstring{CpuFeatures}{CpuFeatures}}
{\footnotesize\ttfamily enum \mbox{\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{CPU\_FEATURE\_NONE@{CPU\_FEATURE\_NONE}!Ogre::PlatformInformation@{Ogre::PlatformInformation}}\index{Ogre::PlatformInformation@{Ogre::PlatformInformation}!CPU\_FEATURE\_NONE@{CPU\_FEATURE\_NONE}}}\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}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_platform_information_af3e5caa8ce423770f2685cbb8deb71e5}\label{class_ogre_1_1_platform_information_af3e5caa8ce423770f2685cbb8deb71e5}} 
\index{Ogre::PlatformInformation@{Ogre::PlatformInformation}!getCpuIdentifier@{getCpuIdentifier}}
\index{getCpuIdentifier@{getCpuIdentifier}!Ogre::PlatformInformation@{Ogre::PlatformInformation}}
\doxysubsubsection{\texorpdfstring{getCpuIdentifier()}{getCpuIdentifier()}}
{\footnotesize\ttfamily static const \mbox{\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::PlatformInformation@{Ogre::PlatformInformation}!getCpuFeatures@{getCpuFeatures}}
\index{getCpuFeatures@{getCpuFeatures}!Ogre::PlatformInformation@{Ogre::PlatformInformation}}
\doxysubsubsection{\texorpdfstring{getCpuFeatures()}{getCpuFeatures()}}
{\footnotesize\ttfamily static \mbox{\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::PlatformInformation@{Ogre::PlatformInformation}!hasCpuFeature@{hasCpuFeature}}
\index{hasCpuFeature@{hasCpuFeature}!Ogre::PlatformInformation@{Ogre::PlatformInformation}}
\doxysubsubsection{\texorpdfstring{hasCpuFeature()}{hasCpuFeature()}}
{\footnotesize\ttfamily static bool Ogre\+::\+Platform\+Information\+::has\+Cpu\+Feature (\begin{DoxyParamCaption}\item[{\mbox{\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::PlatformInformation@{Ogre::PlatformInformation}!log@{log}}
\index{log@{log}!Ogre::PlatformInformation@{Ogre::PlatformInformation}}
\doxysubsubsection{\texorpdfstring{log()}{log()}}
{\footnotesize\ttfamily static void Ogre\+::\+Platform\+Information\+::log (\begin{DoxyParamCaption}\item[{\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_log}{Log}}. 



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