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

Pure system memory info class. More...

Detailed Description

Pure system memory info class.

Definition at line 20 of file PureHwSystemMemory.h.

#include <PureHwSystemMemory.h>

+ Inheritance diagram for PureHwSystemMemory:

Public Member Functions

virtual TPureULong getFreeSystemMemory ()=0
 Gets the amount of free physical memory.
 
virtual TPureULong getTotalSystemMemory () const =0
 Gets the total amount of physical memory.
 
virtual void WriteStats ()=0
 Writes statistics to the console.
 
- 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 PureHwSystemMemoryget ()
 Gets the singleton instance.
 

Additional Inherited Members

- Protected Member Functions inherited from PureHwBase
 PureHwBase ()
 Sets members to default values.
 
 PureHwBase (const PureHwBase &)
 
PureHwBaseoperator= (const PureHwBase &)
 
virtual ~PureHwBase ()
 
virtual void PreInitialize ()
 Preinitializes members.
 
virtual TPureBool initializeBase ()=0
 Does the real initialization within descendant class.
 
virtual void DeinitializeBase ()=0
 Does the real deinitialization within descendant class.
 

Member Function Documentation

◆ get()

PureHwSystemMemory & PureHwSystemMemory::get ( )
static

Gets the singleton instance.

Definition at line 220 of file PurehwSystemMemory.cpp.

◆ getFreeSystemMemory()

virtual TPureULong PureHwSystemMemory::getFreeSystemMemory ( )
pure virtual

Gets the amount of free physical memory.

Implemented in PureHwSystemMemoryImpl.

◆ getTotalSystemMemory()

virtual TPureULong PureHwSystemMemory::getTotalSystemMemory ( ) const
pure virtual

Gets the total amount of physical memory.

Implemented in PureHwSystemMemoryImpl.

◆ WriteStats()

virtual void PureHwSystemMemory::WriteStats ( )
pure virtual

Writes statistics to the console.

Implements PureHwBase.

Implemented in PureHwSystemMemoryImpl.


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