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

An Iterator for navigating through the function call tree. More...

Public Member Functions

void first ()
 reset the iterator to the first child in the current level More...
 
DtProfileNodenext ()
 move to the next child More...
 
bool isDone () const
 if the iterator has reached the end of the list More...
 
void enterChild (int index)
 Enter into a child node if it exists negative indexes will cause no change indexes greater than the number of children will cause the first child to be selected. More...
 
void enterParent ()
 Enter the parent if it exists. More...
 
void enterLargestChild ()
 enter the child with the largest amount of time More...
 
const charcurrentName ()
 the name of the current node. More...
 
int currentTotalCalls ()
 the number of calls of the current node since the last reset Do not call if isDone()==true More...
 
DtUInt64 currentTotalTime ()
 the total time spent in the current node since the last reset Do not call if isDone()==true More...
 
DtUInt64 currentMaxTime ()
 get the maximum time spent in this function since the last reset More...
 
DtUInt64 currentMinTime ()
 get the minimum time spent in this function since the last reset More...
 
const charcurrentParentName () const
 the name of the parent of the current node More...
 
int currentParentTotalCalls () const
 the number calls of the parent of the current node since the last reset More...
 
DtUInt64 currentParentTotalTime () const
 the total time of the parent of the current node since the last reset More...
 
DtProfileNodecurrentNode ()
 pointer to the current node More...
 
DtProfileNodecurrentParent ()
 pointer to the parent of the current node More...
 

Protected Member Functions

 DtProfileIterator (DtProfileNode *start)
 Only created by the profile manager. More...
 

Protected Attributes

DtProfileNodemyCurrentParent
 
DtProfileNodemyCurrentChild
 

Friends

class DtProfileManager
 

Detailed Description

An Iterator for navigating through the function call tree.

Constructor & Destructor Documentation

makVrv::DtProfileIterator::DtProfileIterator ( DtProfileNode start)
protected

Only created by the profile manager.

Member Function Documentation

void makVrv::DtProfileIterator::first ( )

reset the iterator to the first child in the current level

DtProfileNode* makVrv::DtProfileIterator::next ( )

move to the next child

bool makVrv::DtProfileIterator::isDone ( ) const

if the iterator has reached the end of the list

void makVrv::DtProfileIterator::enterChild ( int  index)

Enter into a child node if it exists negative indexes will cause no change indexes greater than the number of children will cause the first child to be selected.

void makVrv::DtProfileIterator::enterParent ( )

Enter the parent if it exists.

void makVrv::DtProfileIterator::enterLargestChild ( )

enter the child with the largest amount of time

const char* makVrv::DtProfileIterator::currentName ( )

the name of the current node.

Do not call if isDone()==true

int makVrv::DtProfileIterator::currentTotalCalls ( )

the number of calls of the current node since the last reset Do not call if isDone()==true

DtUInt64 makVrv::DtProfileIterator::currentTotalTime ( )

the total time spent in the current node since the last reset Do not call if isDone()==true

DtUInt64 makVrv::DtProfileIterator::currentMaxTime ( )

get the maximum time spent in this function since the last reset

DtUInt64 makVrv::DtProfileIterator::currentMinTime ( )

get the minimum time spent in this function since the last reset

const char* makVrv::DtProfileIterator::currentParentName ( ) const

the name of the parent of the current node

int makVrv::DtProfileIterator::currentParentTotalCalls ( ) const

the number calls of the parent of the current node since the last reset

DtUInt64 makVrv::DtProfileIterator::currentParentTotalTime ( ) const

the total time of the parent of the current node since the last reset

DtProfileNode* makVrv::DtProfileIterator::currentNode ( )

pointer to the current node

DtProfileNode* makVrv::DtProfileIterator::currentParent ( )

pointer to the parent of the current node

Friends And Related Function Documentation

friend class DtProfileManager
friend

Member Data Documentation

DtProfileNode* makVrv::DtProfileIterator::myCurrentParent
protected
DtProfileNode* makVrv::DtProfileIterator::myCurrentChild
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)