#include "CeylanSystem.h"
#include "CeylanTypes.h"
#include <ctime>
#include <string>
#include <iosfwd>
Go to the source code of this file.
Namespaces | |
namespace | Ceylan |
This part of the Ceylan namespace gathers some convenient string manipulation facilities to be widely used. | |
namespace | Ceylan::System |
General system calls and properties. | |
Defines | |
#define | CEYLAN_DETECTED_LITTLE_ENDIAN 1 |
Enumerations | |
enum | Ceylan::System::BatteryStatus { Ceylan::System::WellCharged, Ceylan::System::AlmostEmpty, Ceylan::System::BatteryStatusUnknown } |
Describes the status of the battery (if any). More... | |
enum | Ceylan::System::DSType { Ceylan::System::DSFat, Ceylan::System::DSLite, Ceylan::System::DSTypeUnknown } |
Describes the type of a Nintendo DS. More... | |
Functions | |
CEYLAN_DLL UnsignedLongInteger | Ceylan::System::getSecondsSinceSystemBoot () |
Returns the uptime, the number of seconds since the system booted. | |
CEYLAN_DLL Ceylan::Uint32 | Ceylan::System::getTotalProcessCount () |
Returns the current number of running processes. | |
CEYLAN_DLL UnsignedLongInteger | Ceylan::System::getTotalSystemMemorySize () |
Returns the total size of usable main memory, in bytes. | |
CEYLAN_DLL UnsignedLongInteger | Ceylan::System::getFreeSystemMemorySize () |
Returns the size of currently available main memory, in bytes. | |
CEYLAN_DLL UnsignedLongInteger | Ceylan::System::getUsedSystemMemorySize () |
Returns the size of main memory being currently used, in bytes. | |
CEYLAN_DLL UnsignedLongInteger | Ceylan::System::getTotalSwapMemorySize () |
Returns the total size of swap memory, in bytes. | |
CEYLAN_DLL UnsignedLongInteger | Ceylan::System::getFreeSwapMemorySize () |
Returns the size of currently available swap memory, in bytes. | |
CEYLAN_DLL UnsignedLongInteger | Ceylan::System::getTotalHighMemorySize () |
Returns the total size of usable high memory, in bytes. | |
CEYLAN_DLL UnsignedLongInteger | Ceylan::System::getFreeHighMemorySize () |
Returns the size of currently available high memory, in bytes. | |
CEYLAN_DLL UnsignedLongInteger | Ceylan::System::getSharedMemorySize () |
Returns the size of memory currently being shared, in bytes. | |
CEYLAN_DLL UnsignedLongInteger | Ceylan::System::getBuffersMemorySize () |
Returns the size of memory currently used by buffers, in bytes. | |
CEYLAN_DLL std::string | Ceylan::System::GetUserName () |
Returns the name of the user, as retrieved from the system. | |
CEYLAN_DLL BatteryStatus | Ceylan::System::GetBatteryStatus () |
Returns the current battery status. | |
CEYLAN_DLL DSType | Ceylan::System::GetDSType () |
Returns the type of the DS running the program. | |
CEYLAN_DLL bool | Ceylan::System::openGLContextsCanBeLost () |
Tells whether the OpenGL contexts can be lost (and therefore may have to be reloaded) under certain unexpected circumstances (ex : window resize, going to fullscreen, switching to another application, etc. | |
CEYLAN_DLL bool | Ceylan::System::openGLContextsLostOnResize () |
Tells whether the OpenGL contexts are lost (and therefore may have to be reloaded) when the window application is resized (resolution changed). | |
CEYLAN_DLL bool | Ceylan::System::openGLContextsLostOnApplicationSwitch () |
Tells whether the OpenGL contexts are lost (and therefore may have to be reloaded) when switching to another application. | |
CEYLAN_DLL bool | Ceylan::System::openGLContextsLostOnColorDepthChange () |
Tells whether the OpenGL contexts are lost (and therefore may have to be reloaded) when changing the color depth. |
#define CEYLAN_DETECTED_LITTLE_ENDIAN 1 |
Definition at line 52 of file CeylanSystemInformation.h.