![]() |
VR-Forces 4.10 Class Documentation
|
A stats which shows the IG's performance stats. More...
Classes | |
| struct | StatData |
Public Types | |
| typedef std::vector< StatData * > | StatList |
| typedef std::map< std::string, StatList * > | GroupMap |
Public Member Functions | |
| DtOsgPerformanceStats (DtDe &de) | |
| CTOR. More... | |
| virtual void | reset () |
| void | addLabel (const std::string &group, const std::string &name) |
| Add a stats label with specified name and top left location. More... | |
| void | removeLabel (const std::string &group, const std::string &name) |
| virtual | ~DtOsgPerformanceStats () |
| DTOR. More... | |
| virtual void | updateCallback () |
| Function called via update callback registered with the de. More... | |
| virtual void | handleKeyEvent (int key, int modifier) |
| handle the key event passed from DtStatsHandler More... | |
| const GroupMap & | groupData () |
Public Attributes | |
| boost::signalslib::signal < void(const std::string &)> | signal_statsChanged |
| Signals when the stats string changed. More... | |
Protected Member Functions | |
| void | updateGroupNodeList () |
| void | updateFrameTimes () |
| void | appendToString (const std::string &str) |
| append a string to myStatsInString, will add ' ' in the end. More... | |
| bool | findNodes (DtProfileNode *parent, const std::string &name, std::vector< DtProfileNode * > &found) |
Protected Attributes | |
| DtDe & | myDe |
| GroupMap | myGroupData |
| int | myCurrentFrameIndex |
| int | myPrevousEvictionCount |
| int | myPreviousEvictionMemory |
| std::string | myStatsInString |
| int | myFramesLowerThan30FPS |
| int | myFramesLowerThan60FPS |
| int | myFramesRendered |
A stats which shows the IG's performance stats.
| typedef std::vector<StatData*> makVrv::DtOsgPerformanceStats::StatList |
| typedef std::map<std::string, StatList*> makVrv::DtOsgPerformanceStats::GroupMap |
| makVrv::DtOsgPerformanceStats::DtOsgPerformanceStats | ( | DtDe & | de | ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
| void makVrv::DtOsgPerformanceStats::addLabel | ( | const std::string & | group, |
| const std::string & | name | ||
| ) |
Add a stats label with specified name and top left location.
| void makVrv::DtOsgPerformanceStats::removeLabel | ( | const std::string & | group, |
| const std::string & | name | ||
| ) |
|
virtual |
Function called via update callback registered with the de.
handle the key event passed from DtStatsHandler
|
inline |
|
protected |
|
protected |
|
protected |
append a string to myStatsInString, will add '
' in the end.
|
protected |
| boost::signalslib::signal<void(const std::string&)> makVrv::DtOsgPerformanceStats::signal_statsChanged |
Signals when the stats string changed.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |