ezEngine  Milestone 7
ezSystemInformation Class Reference

The system configuration class encapsulates information about the system the application is running on. More...

#include <SystemInformation.h>

Public Member Functions

ezUInt64 GetInstalledMainMemory () const
 Returns the installed physical memory in bytes.
 
ezUInt32 GetMemoryPageSize () const
 Returns the size of a memory page in bytes.
 
ezUInt32 GetCPUCoreCount () const
 Returns the CPU core count of the system.
 
bool Is64BitOS () const
 Returns true if the process is currently running on a 64-bit OS.
 
const char * GetPlatformName () const
 
const char * GetHostName () const
 
const char * GetBuildConfiguration () const
 

Static Public Member Functions

static const ezSystemInformationGet ()
 Allows access to the current system configuration.
 

Static Private Member Functions

static void Initialize ()
 

Private Attributes

ezUInt64 m_uiInstalledMainMemory
 
ezUInt32 m_uiMemoryPageSize
 
ezUInt32 m_uiCPUCoreCount
 
const char * m_szPlatformName
 
const char * m_szBuildConfiguration
 
char m_sHostName [256]
 
bool m_b64BitOS
 
bool m_bIsInitialized
 

Static Private Attributes

static ezSystemInformation s_SystemInformation
 

Detailed Description

The system configuration class encapsulates information about the system the application is running on.

Retrieve the system configuration by using ezSystemInformation::Get(). If you use the system configuration in startup code make sure to add the correct dependency to the system "SystemInformation" in "Foundation".


The documentation for this class was generated from the following files: