![]() |
VR-Forces 4.1.1 Class Documentation
|
Manager for sets of performance stats. More...

Public Types | |
| typedef std::vector< std::string > | NameList |
| List of stats set names. | |
Public Member Functions | |
| virtual | ~DtPerformanceStatsManager () |
| DTOR. | |
| virtual void | add (const std::string &statsSetName, DtStatsSet *statsSet) |
| Add a new stats set to the manager. | |
| virtual void | remove (const std::string &statsSetName) |
| Remove a stats set from the manager. | |
| virtual DtStatsSet * | find (const std::string &statsSetName) |
| Find a stats set by name. | |
| virtual void | setActive (const std::string &statsSetName) |
| Set the currently active stats set by name. | |
| virtual DtStatsSet * | activeSet () |
| Get the currently active stats set. | |
| virtual void | tickStats (double tickTime) |
| Update the stats sets with the last tick time. | |
| NameList | names () const |
| Make a list of the current stats set names. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtPerformanceStatsManager & | instance (DtDe &de) |
| Get the performance stats manager instance for the display engine. | |
Protected Types | |
| typedef boost::unordered_map < std::string, DtStatsSet * > | PerformanceStatsMap |
Protected Member Functions | |
| DtPerformanceStatsManager (DtDe &de) | |
| The CTOR. | |
Protected Attributes | |
| DtDe & | myDe |
| DtPerformanceStatsManagerSignaler & | mySignaler |
| DtStatsSet * | myActiveStatsSet |
| PerformanceStatsMap | myStatsSets |
Manager for sets of performance stats.
Provides centralized access to stats sets and controls which set is currently displayed
| typedef std::vector<std::string> makVrv::DtPerformanceStatsManager::NameList |
List of stats set names.
|
protected |
|
virtual |
DTOR.
|
protected |
The CTOR.
|
static |
Get the performance stats manager instance for the display engine.
|
virtual |
Add a new stats set to the manager.
Transfers ownership If no stats set is currently active, also sets the active stats set to the newly added set.
|
virtual |
Remove a stats set from the manager.
Frees the stats set's memory
|
virtual |
Find a stats set by name.
Returns null if no matching set is found
|
virtual |
Set the currently active stats set by name.
Throws DtInvalidInput if no matching set exists Currently active stats set is displayed by the performance stats overlay (or other display mechanism)
|
virtual |
Get the currently active stats set.
Can return null if no sets exist
|
virtual |
Update the stats sets with the last tick time.
This defines the boundary of the frame that we use to calculate stats
| NameList makVrv::DtPerformanceStatsManager::names | ( | ) | const |
Make a list of the current stats set names.
|
protected |
|
protected |
|
protected |
|
protected |