com.bulletphysics.linearmath
Class CProfileIterator

java.lang.Object
  extended by com.bulletphysics.linearmath.CProfileIterator

public class CProfileIterator
extends java.lang.Object

An iterator to navigate through the tree.


Field Summary
protected  CProfileNode currentChild
           
protected  CProfileNode currentParent
           
 
Constructor Summary
protected CProfileIterator(CProfileNode start)
           
 
Method Summary
 void enterChild(int index)
          Make the given child the new parent.
 void enterParent()
          Make the current parent's parent the new parent.
 void first()
           
 java.lang.String getCurrentName()
           
 java.lang.String getCurrentParentName()
           
 int getCurrentParentTotalCalls()
           
 float getCurrentParentTotalTime()
           
 int getCurrentTotalCalls()
           
 float getCurrentTotalTime()
           
 boolean isDone()
           
 boolean isRoot()
           
 void next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentParent

protected CProfileNode currentParent

currentChild

protected CProfileNode currentChild
Constructor Detail

CProfileIterator

protected CProfileIterator(CProfileNode start)
Method Detail

first

public void first()

next

public void next()

isDone

public boolean isDone()

isRoot

public boolean isRoot()

enterChild

public void enterChild(int index)
Make the given child the new parent.


enterParent

public void enterParent()
Make the current parent's parent the new parent.


getCurrentName

public java.lang.String getCurrentName()

getCurrentTotalCalls

public int getCurrentTotalCalls()

getCurrentTotalTime

public float getCurrentTotalTime()

getCurrentParentName

public java.lang.String getCurrentParentName()

getCurrentParentTotalCalls

public int getCurrentParentTotalCalls()

getCurrentParentTotalTime

public float getCurrentParentTotalTime()