![]() |
PURE API 0.5
PR00F's Ultimate Rendering Engine full documentation
|
Definition at line 24 of file PurehwInfo.cpp.
Public Member Functions | |
CConsole & | getConsole () const |
Returns access to console preset with logger module name as this class. | |
void | Initialize (HGLRC rc, HDC wnd_dc, TPureUInt nResX, TPureUInt nResY, TPureInt nColorBits, TPureInt nDepthBits, TPureInt nStencilBits, TPureInt nFSAAlevel) |
Sets members to real values within the singleton instance. | |
void | Deinitialize () |
Deinitializes the singleton instance. | |
TPureBool | isInitialized () const |
Returns whether the singleton instance is successfully initialized. | |
PureHwCentralProcessor & | getCentralProcessor () const |
Gives access to PureHwCentralProcessor instance. | |
PureHwSystemMemory & | getMemory () const |
Gives access to PureHwSystemMemory instance. | |
PureHwVideo & | getVideo () const |
Gives access to PureHwVideo instance. | |
PureHwAudio & | getAudio () const |
Gives access to PureHwAudio instance. | |
void | WriteStats () |
Writes statistics to the console. | |
![]() |
Static Public Member Functions | |
static PureHwInfoImpl & | get () |
Gets the singleton instance. | |
static const char * | getLoggerModuleName () |
Returns the logger module name of this class. | |
![]() | |
static PureHwInfo & | get () |
Gets the singleton instance. | |
Private Member Functions | |
PureHwInfoImpl () | |
Sets members to default values. | |
PureHwInfoImpl (const PureHwInfoImpl &) | |
PureHwInfoImpl & | operator= (const PureHwInfoImpl &) |
virtual | ~PureHwInfoImpl () |
void | PreInitialize () |
Preinitializes members. | |
Private Attributes | |
PureHwCentralProcessor & | hwCentralProcessor |
PureHwSystemMemory & | hwMemory |
PureHwVideo & | hwVideo |
PureHwAudio & | hwAudio |
Static Private Attributes | |
static PureHwInfoImpl | hwInfoInstance |
static TPureBool | bInitialized = false |
Is the singleton instance initialized? | |
|
private |
Sets members to default values.
Definition at line 285 of file PurehwInfo.cpp.
|
private |
Definition at line 295 of file PurehwInfo.cpp.
|
privatevirtual |
Definition at line 311 of file PurehwInfo.cpp.
|
virtual |
Deinitializes the singleton instance.
Deinitializes PureHwCentralProcessor, PurehwMemory, PureHwVideo and PureHwAudio instances.
Implements PureHwInfo.
Definition at line 171 of file PurehwInfo.cpp.
|
static |
Gets the singleton instance.
Definition at line 85 of file PurehwInfo.cpp.
|
virtual |
Gives access to PureHwAudio instance.
Implements PureHwInfo.
Definition at line 224 of file PurehwInfo.cpp.
|
virtual |
Gives access to PureHwCentralProcessor instance.
Implements PureHwInfo.
Definition at line 197 of file PurehwInfo.cpp.
CConsole & PureHwInfoImpl::getConsole | ( | ) | const |
Returns access to console preset with logger module name as this class.
Intentionally not virtual, so the getConsole() in derived class should hide this instead of overriding.
Definition at line 97 of file PurehwInfo.cpp.
|
static |
Returns the logger module name of this class.
Intentionally not virtual, so derived class should hide this instead of overriding. Not even private, so user can also access this from outside, for any reason like controlling log filtering per logger module name.
Definition at line 110 of file PurehwInfo.cpp.
|
virtual |
Gives access to PureHwSystemMemory instance.
Implements PureHwInfo.
Definition at line 206 of file PurehwInfo.cpp.
|
virtual |
Gives access to PureHwVideo instance.
Implements PureHwInfo.
Definition at line 215 of file PurehwInfo.cpp.
|
virtual |
Sets members to real values within the singleton instance.
Initializes PureHwCentralProcessor, PurehwMemory, PureHwVideo and PureHwAudio instances.
Implements PureHwInfo.
Definition at line 120 of file PurehwInfo.cpp.
|
virtual |
Returns whether the singleton instance is successfully initialized.
Implements PureHwInfo.
Definition at line 188 of file PurehwInfo.cpp.
|
private |
Definition at line 305 of file PurehwInfo.cpp.
|
private |
Preinitializes members.
Definition at line 320 of file PurehwInfo.cpp.
|
virtual |
Writes statistics to the console.
Implements PureHwInfo.
Definition at line 233 of file PurehwInfo.cpp.
|
staticprivate |
Is the singleton instance initialized?
Definition at line 55 of file PurehwInfo.cpp.
|
private |
Definition at line 62 of file PurehwInfo.cpp.
|
private |
Definition at line 59 of file PurehwInfo.cpp.
|
staticprivate |
Definition at line 54 of file PurehwInfo.cpp.
|
private |
Definition at line 60 of file PurehwInfo.cpp.
|
private |
Definition at line 61 of file PurehwInfo.cpp.