VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
makVrv::DtOsgProfilerStats Class Reference

A stats which shows the osg profiler. More...

Public Member Functions

 DtOsgProfilerStats (DtDe &de)
 CTOR. More...
 
virtual ~DtOsgProfilerStats ()
 DTOR. More...
 
virtual void updateCallback ()
 Function called via update callback registered with the de. More...
 
virtual void reset ()
 
virtual void enterParent ()
 
virtual void enterChild (int child)
 
virtual void handleKeyEvent (int key, int modifier)
 handle the key event passed from DtStatsHandler More...
 

Public Attributes

boost::signalslib::signal
< void(const std::string
&, int)> 
signal_statsChanged
 Signals when the stats string changed, the int is the numOfLines in the string. More...
 

Protected Member Functions

void appendToString (const std::string &str)
 append a string to myStatsInString, will add '
' in the end. More...
 

Protected Attributes

DtProfileIteratormyProfileIter
 
DtDemyDe
 
DtUInt64 myPreviousTimestamp
 
std::string myStatsInString
 
int myNumOfLines
 
int myMaximumLines
 

Detailed Description

A stats which shows the osg profiler.

Constructor & Destructor Documentation

makVrv::DtOsgProfilerStats::DtOsgProfilerStats ( DtDe de)

CTOR.

virtual makVrv::DtOsgProfilerStats::~DtOsgProfilerStats ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtOsgProfilerStats::updateCallback ( )
virtual

Function called via update callback registered with the de.

virtual void makVrv::DtOsgProfilerStats::reset ( )
virtual
virtual void makVrv::DtOsgProfilerStats::enterParent ( )
virtual
virtual void makVrv::DtOsgProfilerStats::enterChild ( int  child)
virtual
virtual void makVrv::DtOsgProfilerStats::handleKeyEvent ( int  key,
int  modifier 
)
virtual

handle the key event passed from DtStatsHandler

void makVrv::DtOsgProfilerStats::appendToString ( const std::string &  str)
protected

append a string to myStatsInString, will add '
' in the end.

Member Data Documentation

boost::signalslib::signal<void(const std::string&, int)> makVrv::DtOsgProfilerStats::signal_statsChanged

Signals when the stats string changed, the int is the numOfLines in the string.

DtProfileIterator* makVrv::DtOsgProfilerStats::myProfileIter
protected
DtDe& makVrv::DtOsgProfilerStats::myDe
protected
DtUInt64 makVrv::DtOsgProfilerStats::myPreviousTimestamp
protected
std::string makVrv::DtOsgProfilerStats::myStatsInString
protected
int makVrv::DtOsgProfilerStats::myNumOfLines
protected
int makVrv::DtOsgProfilerStats::myMaximumLines
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)