CrystalSpace

Public API Reference

CS::Platform Namespace Reference

Platform specific code and wrappers. More...

Functions

size_t GetPhysicalMemorySize ()
 Retrieve the number of kB of physical system memory.
uint GetProcessorCount ()
 Retrieve the number of processors in the system.
csString GetTempDirectory ()
 Get system specific temporary folder.
csString GetTempFilename (const char *path)
 Get file name for temporary file within specified directory.

Detailed Description

Platform specific code and wrappers.


Function Documentation

size_t CS::Platform::GetPhysicalMemorySize (  ) 

Retrieve the number of kB of physical system memory.

Returns:
Physical system memory (in kB) on success, or 0 on failure.
uint CS::Platform::GetProcessorCount (  ) 

Retrieve the number of processors in the system.

Returns:
Number of processors, or 0 on failure.
csString CS::Platform::GetTempDirectory (  ) 

Get system specific temporary folder.

csString CS::Platform::GetTempFilename ( const char *  path  ) 

Get file name for temporary file within specified directory.


Generated for Crystal Space 1.4.1 by doxygen 1.7.1