Back to index

supertuxkart  0.5+dfsg1
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
CProfileIterator Class Reference

#include <btQuickprof.h>

Collaboration diagram for CProfileIterator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void First (void)
void Next (void)
bool Is_Done (void)
bool Is_Root (void)
void Enter_Child (int index)
void Enter_Largest_Child (void)
void Enter_Parent (void)
const char * Get_Current_Name (void)
int Get_Current_Total_Calls (void)
float Get_Current_Total_Time (void)
const char * Get_Current_Parent_Name (void)
int Get_Current_Parent_Total_Calls (void)
float Get_Current_Parent_Total_Time (void)

Protected Member Functions

 CProfileIterator (CProfileNode *start)

Protected Attributes

CProfileNodeCurrentParent
CProfileNodeCurrentChild

Friends

class CProfileManager

Detailed Description

Definition at line 274 of file btQuickprof.h.


Constructor & Destructor Documentation

Definition at line 140 of file btQuickprof.cpp.

Here is the call graph for this function:


Member Function Documentation

void CProfileIterator::Enter_Child ( int  index)

Definition at line 165 of file btQuickprof.cpp.

{
       CurrentChild = CurrentParent->Get_Child();
       while ( (CurrentChild != NULL) && (index != 0) ) {
              index--;
              CurrentChild = CurrentChild->Get_Sibling();
       }

       if ( CurrentChild != NULL ) {
              CurrentParent = CurrentChild;
              CurrentChild = CurrentParent->Get_Child();
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 180 of file btQuickprof.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CProfileIterator::First ( void  )

Definition at line 147 of file btQuickprof.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const char* CProfileIterator::Get_Current_Name ( void  ) [inline]

Definition at line 288 of file btQuickprof.h.

{ return CurrentChild->Get_Name(); }

Here is the call graph for this function:

Here is the caller graph for this function:

const char* CProfileIterator::Get_Current_Parent_Name ( void  ) [inline]

Definition at line 293 of file btQuickprof.h.

{ return CurrentParent->Get_Name(); }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 294 of file btQuickprof.h.

Here is the call graph for this function:

Definition at line 295 of file btQuickprof.h.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 289 of file btQuickprof.h.

Here is the call graph for this function:

Here is the caller graph for this function:

float CProfileIterator::Get_Current_Total_Time ( void  ) [inline]

Definition at line 290 of file btQuickprof.h.

Here is the call graph for this function:

Here is the caller graph for this function:

bool CProfileIterator::Is_Done ( void  )

Definition at line 159 of file btQuickprof.cpp.

{
       return CurrentChild == NULL;
}

Here is the caller graph for this function:

bool CProfileIterator::Is_Root ( void  ) [inline]

Definition at line 281 of file btQuickprof.h.

{ return (CurrentParent->Get_Parent() == 0); }

Here is the call graph for this function:

Here is the caller graph for this function:

void CProfileIterator::Next ( void  )

Definition at line 153 of file btQuickprof.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class CProfileManager [friend]

Definition at line 303 of file btQuickprof.h.


Member Data Documentation

Definition at line 300 of file btQuickprof.h.

Definition at line 299 of file btQuickprof.h.


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