Public Member Functions

sp::io::OSInformator Class Reference

#include <spInputOutputOSInformator.hpp>

List of all members.

Public Member Functions

 OSInformator ()
 ~OSInformator ()
stringc getCompilerVersion () const
 Returns the compiler version whereby the engine has been compiled.
stringc getCompilationInfo () const
bool setClipboardText (const stringc &Text)
stringc getClipboardText () const
u32 getProcessorSpeed () const
 Returns the speed of the CPU in MHz.
u32 getProcessorCount () const
 Returns the count of physical and virtual processors.
void getDiskSpace (const stringc &PartitionName, u32 &Total, u32 &Free) const
void getVirtualMemory (u64 &Total, u64 &Free, const EMemorySizeTypes SizeType=MEMORYSIZE_MB) const
const stringcgetOSVersion () const
 Returns the operating system version (e.g. "Microsoft Windows 7 Professional (Build xyz)").

Constructor & Destructor Documentation

sp::io::OSInformator::OSInformator (  ) 
sp::io::OSInformator::~OSInformator (  ) 

Member Function Documentation

stringc sp::io::OSInformator::getClipboardText (  )  const
stringc sp::io::OSInformator::getCompilationInfo (  )  const
Returns:
Information about the engine compilation. This string shows all the compilation options which has been set at the engine's compilation time. Among others which video drivers has been compiled. e.g. in GCC version Direct3D11 will not be available.
stringc sp::io::OSInformator::getCompilerVersion (  )  const

Returns the compiler version whereby the engine has been compiled.

void sp::io::OSInformator::getDiskSpace ( const stringc PartitionName,
u32 Total,
u32 Free 
) const
Todo:
Not yet implemented!
const stringc& sp::io::OSInformator::getOSVersion (  )  const [inline]

Returns the operating system version (e.g. "Microsoft Windows 7 Professional (Build xyz)").

u32 sp::io::OSInformator::getProcessorCount (  )  const

Returns the count of physical and virtual processors.

u32 sp::io::OSInformator::getProcessorSpeed (  )  const

Returns the speed of the CPU in MHz.

void sp::io::OSInformator::getVirtualMemory ( u64 Total,
u64 Free,
const EMemorySizeTypes  SizeType = MEMORYSIZE_MB 
) const

Returns the total and free virutal memory.

Parameters:
[out] Total Specifies the total virtual memory.
[out] Free Specifies the free virtual memory.
[in] SizeType Specifies in which size (or rather dimension) the output is to be returned.
bool sp::io::OSInformator::setClipboardText ( const stringc Text  ) 

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines