VR-Forces 4.6.1 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.
virtual ~DtOsgProfilerStats ()
 DTOR.
virtual void updateCallback ()
 Function called via update callback registered with the de.
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

Public Attributes

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

Protected Member Functions

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

Protected Attributes

DtProfileIteratormyProfileIter
DtDemyDe
DtUInt64myFrameHistory
DtUInt64 myPreviousTimestamp
int myCurrentFrameIndex
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::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::myFrameHistory
protected
DtUInt64 makVrv::DtOsgProfilerStats::myPreviousTimestamp
protected
int makVrv::DtOsgProfilerStats::myCurrentFrameIndex
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 Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)