PURE API 0.5
PR00F's Ultimate Rendering Engine full documentation
Loading...
Searching...
No Matches
PurehwCentralProcessorImpl Class Reference

Detailed Description

Definition at line 25 of file PurehwCentralProcessor.cpp.

+ Inheritance diagram for PurehwCentralProcessorImpl:

Public Member Functions

CConsole & getConsole () const
 Returns access to console preset with logger module name as this class.
 
void WriteStats ()
 Writes statistics to the console.
 
- Public Member Functions inherited from PureHwCentralProcessor
- Public Member Functions inherited from PureHwBase
void Initialize ()
 Initializes the instance.
 
void Deinitialize ()
 Deinitializes the instance.
 
TPureBool isInitialized () const
 Returns whether the instance is successfully initialized.
 

Static Public Member Functions

static PurehwCentralProcessorImplget ()
 Gets the singleton instance.
 
static const char * getLoggerModuleName ()
 Returns the logger module name of this class.
 
static bool isMachineBigEndian ()
 Returns if the current machine is big endian.
 
- Static Public Member Functions inherited from PureHwCentralProcessor
static PureHwCentralProcessorget ()
 Gets the singleton instance.
 

Private Member Functions

 PurehwCentralProcessorImpl ()
 Sets members to default values.
 
 PurehwCentralProcessorImpl (const PurehwCentralProcessorImpl &)
 
PurehwCentralProcessorImploperator= (const PurehwCentralProcessorImpl &)
 
virtual ~PurehwCentralProcessorImpl ()
 
void PreInitialize ()
 Preinitializes members.
 
TPureBool initializeBase ()
 Does the real initializations.
 
void DeinitializeBase ()
 Does the real deinitialization.
 

Static Private Attributes

static PurehwCentralProcessorImpl hwCentralProcessorInstance
 

Additional Inherited Members

- Protected Member Functions inherited from PureHwBase
 PureHwBase ()
 Sets members to default values.
 
 PureHwBase (const PureHwBase &)
 
PureHwBaseoperator= (const PureHwBase &)
 
virtual ~PureHwBase ()
 

Constructor & Destructor Documentation

◆ PurehwCentralProcessorImpl() [1/2]

PurehwCentralProcessorImpl::PurehwCentralProcessorImpl ( )
private

Sets members to default values.

Definition at line 141 of file PurehwCentralProcessor.cpp.

◆ PurehwCentralProcessorImpl() [2/2]

PurehwCentralProcessorImpl::PurehwCentralProcessorImpl ( const PurehwCentralProcessorImpl & )
private

Definition at line 147 of file PurehwCentralProcessor.cpp.

◆ ~PurehwCentralProcessorImpl()

PurehwCentralProcessorImpl::~PurehwCentralProcessorImpl ( )
privatevirtual

Definition at line 159 of file PurehwCentralProcessor.cpp.

Member Function Documentation

◆ DeinitializeBase()

void PurehwCentralProcessorImpl::DeinitializeBase ( )
privatevirtual

Does the real deinitialization.

Implements PureHwBase.

Definition at line 214 of file PurehwCentralProcessor.cpp.

◆ get()

PurehwCentralProcessorImpl & PurehwCentralProcessorImpl::get ( )
static

Gets the singleton instance.

Definition at line 71 of file PurehwCentralProcessor.cpp.

◆ getConsole()

CConsole & PurehwCentralProcessorImpl::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.

Returns
Console instance used by this class.

Definition at line 83 of file PurehwCentralProcessor.cpp.

◆ getLoggerModuleName()

const char * PurehwCentralProcessorImpl::getLoggerModuleName ( )
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.

Returns
The logger module name of this class.

Definition at line 96 of file PurehwCentralProcessor.cpp.

◆ initializeBase()

TPureBool PurehwCentralProcessorImpl::initializeBase ( )
privatevirtual

Does the real initializations.

Does the real initialization.

Implements PureHwBase.

Definition at line 177 of file PurehwCentralProcessor.cpp.

◆ isMachineBigEndian()

bool PurehwCentralProcessorImpl::isMachineBigEndian ( )
static

Returns if the current machine is big endian.

Returns
True if machine is big endian, false otherwise.

Definition at line 107 of file PurehwCentralProcessor.cpp.

◆ operator=()

PurehwCentralProcessorImpl & PurehwCentralProcessorImpl::operator= ( const PurehwCentralProcessorImpl & )
private

Definition at line 153 of file PurehwCentralProcessor.cpp.

◆ PreInitialize()

void PurehwCentralProcessorImpl::PreInitialize ( )
privatevirtual

Preinitializes members.

Reimplemented from PureHwBase.

Definition at line 168 of file PurehwCentralProcessor.cpp.

◆ WriteStats()

void PurehwCentralProcessorImpl::WriteStats ( )
virtual

Writes statistics to the console.

Implements PureHwCentralProcessor.

Definition at line 122 of file PurehwCentralProcessor.cpp.

Member Data Documentation

◆ hwCentralProcessorInstance

PurehwCentralProcessorImpl PurehwCentralProcessorImpl::hwCentralProcessorInstance
staticprivate

Definition at line 47 of file PurehwCentralProcessor.cpp.


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