Allow access to the cpuid intrinsic command for all system.
More...
#include <NRE_CpuID.hpp>
Allow access to the cpuid intrinsic command for all system.
NRE::System::CpuID::CpuID |
( |
| ) |
|
|
delete |
NRE::System::CpuID::CpuID |
( |
unsigned int |
i | ) |
|
Construct the command
- Parameters
-
i | the parameter to get from the command |
Register const& NRE::System::CpuID::getEax |
( |
| ) |
const |
- Returns
- the eax register, equivalent to getRegister(0)
Register const& NRE::System::CpuID::getEbx |
( |
| ) |
const |
- Returns
- the ebx register, equivalent to getRegister(1)
Register const& NRE::System::CpuID::getEcx |
( |
| ) |
const |
- Returns
- the ecx register, equivalent to getRegister(2)
Register const& NRE::System::CpuID::getEdx |
( |
| ) |
const |
- Returns
- the edx register, equivalent to getRegister(3)
Register const& NRE::System::CpuID::getRegister |
( |
unsigned int |
index | ) |
const |
Return a specific register
- Parameters
-
- Returns
- the corresponding register
const Register* NRE::System::CpuID::getRegisters |
( |
| ) |
const |
std::size_t NRE::System::CpuID::getRegistersSize |
( |
| ) |
const |
Register const& NRE::System::CpuID::operator[] |
( |
unsigned int |
index | ) |
const |
Return a const-reference on the index's register, don't check the index range
- Parameters
-
index | the point's object index |
- Returns
- a const-reference on the index's register
String NRE::System::CpuID::toString |
( |
| ) |
const |
Convert the registers into a string
- Returns
- the converted registers
The documentation for this class was generated from the following files:
- /mnt/c/Users/abell/Documents/GitHub/NRE-System/src/System/CpuID/NRE_CpuID.hpp
- /mnt/c/Users/abell/Documents/GitHub/NRE-System/src/System/CpuID/NRE_CpuID.cpp