Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
MachineInfo Class Reference

#include <MachineInfo.h>

List of all members.

Public Types

enum  {
  CPU_INVALID, CPU_P5 = 5, CPU_P6 = 6, CPU_P7 = 7,
  CPU_PLUS
}
enum  {
  OS_INVALID, OS_WIN95, OS_WIN98, OS_WINNT,
  OS_WIN2K, OS_WINXP, OS_WINXP64, OS_WINVISTA,
  OS_WINSEVEN, OS_WINFUTURE
}
enum  {
  DX_NONE, DX_3 = 3, DX_5 = 5, DX_6 = 6,
  DX_7 = 7, DX_8 = 8, DX_9 = 9, DX_PLUS
}

Static Public Member Functions

static int GetCpuClass ()
static int GetCpuSpeed ()
static int GetTotalRam ()
static int GetPlatform ()
static int GetDirectXVersion ()
static void DescribeMachine ()
static const char * GetShortDescription ()

Detailed Description

Definition at line 22 of file MachineInfo.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
CPU_INVALID 
CPU_P5 
CPU_P6 
CPU_P7 
CPU_PLUS 

Definition at line 25 of file MachineInfo.h.

anonymous enum
Enumerator:
OS_INVALID 
OS_WIN95 
OS_WIN98 
OS_WINNT 
OS_WIN2K 
OS_WINXP 
OS_WINXP64 
OS_WINVISTA 
OS_WINSEVEN 
OS_WINFUTURE 

Definition at line 26 of file MachineInfo.h.

anonymous enum
Enumerator:
DX_NONE 
DX_3 
DX_5 
DX_6 
DX_7 
DX_8 
DX_9 
DX_PLUS 

Definition at line 27 of file MachineInfo.h.


Member Function Documentation

void MachineInfo::DescribeMachine ( )
static

Definition at line 289 of file MachineInfo.cpp.

int MachineInfo::GetCpuClass ( )
static

Definition at line 183 of file MachineInfo.cpp.

int MachineInfo::GetCpuSpeed ( )
static

Definition at line 205 of file MachineInfo.cpp.

int MachineInfo::GetDirectXVersion ( )
static

Definition at line 277 of file MachineInfo.cpp.

int MachineInfo::GetPlatform ( )
static

Definition at line 230 of file MachineInfo.cpp.

const char * MachineInfo::GetShortDescription ( )
static

Definition at line 44 of file MachineInfo.cpp.

int MachineInfo::GetTotalRam ( )
static

Definition at line 217 of file MachineInfo.cpp.


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