Represent all informations from the user system.
More...
#include <NRE_SystemInfo.hpp>
Represent all informations from the user system.
NRE::System::SystemInfo::SystemInfo |
( |
| ) |
|
Construct an empty system information set
Utility::String const& NRE::System::SystemInfo::getArchitecture |
( |
| ) |
const |
- Returns
- the System Architecture
Utility::String const& NRE::System::SystemInfo::getCPUName |
( |
| ) |
const |
std::size_t NRE::System::SystemInfo::getMemorySize |
( |
| ) |
const |
std::size_t NRE::System::SystemInfo::getMemoryUsed |
( |
| ) |
const |
std::size_t NRE::System::SystemInfo::getMemoryUsedByProcess |
( |
| ) |
const |
- Returns
- the memory used by the current process
std::size_t NRE::System::SystemInfo::getNbProcessors |
( |
| ) |
const |
void NRE::System::SystemInfo::setArchitecture |
( |
Utility::String const & |
arc | ) |
|
Set the architecture value
- Parameters
-
arc | the new architecture value |
void NRE::System::SystemInfo::setCPUName |
( |
Utility::String const & |
name | ) |
|
Set the cpu name value
- Parameters
-
void NRE::System::SystemInfo::setMemorySize |
( |
std::size_t |
size | ) |
|
Set the memory size
- Parameters
-
void NRE::System::SystemInfo::setMemoryUsed |
( |
std::size_t |
used | ) |
|
Set the memory used size
- Parameters
-
void NRE::System::SystemInfo::setMemoryUsedByProcess |
( |
std::size_t |
used | ) |
|
Set the memory used by this process value
- Parameters
-
used | the new memory used by process |
void NRE::System::SystemInfo::setNbProcessors |
( |
std::size_t |
nb | ) |
|
Set the number of processors
- Parameters
-
nb | the new number of processors |
String NRE::System::SystemInfo::toString |
( |
| ) |
const |
Convert the system info into a string
- Returns
- the converted system info
The documentation for this class was generated from the following files: