omegalib  13.1
omega::StatsManager Class Reference

#include <StatsManager.h>

Public Types

enum  StatType {
  Time, Memory, Primitive, Fps,
  Count1, Count2, Count3, Count4
}
 

Public Member Functions

 StatsManager ()
 
StatcreateStat (const String &name, StatType type)
 
StatfindStat (const String &name)
 
void removeStat (Stat *s)
 
List< Stat * >::Range getStats ()
 
void printStats ()
 
void setStatMask (uint m)
 
uint getStatMask ()
 
- Public Member Functions inherited from omicron::ReferenceType
 ReferenceType ()
 
virtual ~ReferenceType ()
 
void ref ()
 
void unref ()
 
long refCount ()
 

Additional Inherited Members

- Static Public Member Functions inherited from omicron::ReferenceType
static void printObjCounts ()
 
- Static Protected Attributes inherited from omicron::ReferenceType
static List< ReferenceType * > mysObjList
 
+ Inheritance diagram for omega::StatsManager:

Member Enumeration Documentation

Enumerator
Time 
Memory 
Primitive 
Fps 
Count1 
Count2 
Count3 
Count4 

Constructor & Destructor Documentation

omega::StatsManager::StatsManager ( )

Member Function Documentation

Stat* omega::StatsManager::createStat ( const String name,
StatType  type 
)
Stat* omega::StatsManager::findStat ( const String name)
uint omega::StatsManager::getStatMask ( )
inline
List<Stat*>::Range omega::StatsManager::getStats ( )
void omega::StatsManager::printStats ( )
void omega::StatsManager::removeStat ( Stat s)
void omega::StatsManager::setStatMask ( uint  m)
inline

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