com.bulletphysics.linearmath
Class CProfileIterator
java.lang.Object
com.bulletphysics.linearmath.CProfileIterator
public class CProfileIterator
- extends java.lang.Object
An iterator to navigate through the tree.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentParent
protected CProfileNode currentParent
currentChild
protected CProfileNode currentChild
CProfileIterator
protected CProfileIterator(CProfileNode start)
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()