MRPT  2.0.4
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions
mrpt::cpu::internal::CPU_analyzer Class Reference

Detailed Description

Auxiliary class.

Users should use mrpt::core::supports() instead.

Definition at line 42 of file cpu.h.

#include <mrpt/core/cpu.h>

Public Member Functions

bool & feat (mrpt::cpu::feature f) noexcept
 
bool feat (mrpt::cpu::feature f) const noexcept
 

Static Public Member Functions

static CPU_analyzerInstance () noexcept
 

Public Attributes

std::array< bool, static_cast< std::size_t >mrpt::cpu::feature::FEATURE_COUNT)> feat_detected
 

Private Member Functions

 CPU_analyzer () noexcept
 
void detect_impl () noexcept
 

Constructor & Destructor Documentation

◆ CPU_analyzer()

mrpt::cpu::internal::CPU_analyzer::CPU_analyzer ( )
inlineprivatenoexcept

Definition at line 62 of file cpu.h.

References detect_impl(), and feat_detected.

Member Function Documentation

◆ detect_impl()

void mrpt::cpu::internal::CPU_analyzer::detect_impl ( )
privatenoexcept

◆ feat() [1/2]

bool mrpt::cpu::internal::CPU_analyzer::feat ( mrpt::cpu::feature  f) const
inlinenoexcept

Definition at line 55 of file cpu.h.

References feat_detected.

◆ feat() [2/2]

bool& mrpt::cpu::internal::CPU_analyzer::feat ( mrpt::cpu::feature  f)
inlinenoexcept

Definition at line 51 of file cpu.h.

References feat_detected.

Referenced by detect_impl().

◆ Instance()

CPU_analyzer & mrpt::cpu::internal::CPU_analyzer::Instance ( )
staticnoexcept

Member Data Documentation

◆ feat_detected

std::array< bool, static_cast<std::size_t>mrpt::cpu::feature::FEATURE_COUNT)> mrpt::cpu::internal::CPU_analyzer::feat_detected

Definition at line 49 of file cpu.h.

Referenced by CPU_analyzer(), and feat().




Page generated by Doxygen 1.8.17 for MRPT 2.0.4 at Fri Jul 17 08:43:33 UTC 2020