Bullet Collision Detection & Physics Library
Public Member Functions | Protected Attributes | List of all members
CProfileNode Class Reference

A node in the Profile Hierarchy Tree. More...

#include <btQuickprof.h>

Collaboration diagram for CProfileNode:
Collaboration graph
[legend]

Public Member Functions

 CProfileNode (const char *name, CProfileNode *parent)
 
 ~CProfileNode (void)
 
CProfileNodeGet_Sub_Node (const char *name)
 
CProfileNodeGet_Parent (void)
 
CProfileNodeGet_Sibling (void)
 
CProfileNodeGet_Child (void)
 
void CleanupMemory ()
 
void Reset (void)
 
void Call (void)
 
bool Return (void)
 
const char * Get_Name (void)
 
int Get_Total_Calls (void)
 
float Get_Total_Time (void)
 
void * GetUserPointer () const
 
void SetUserPointer (void *ptr)
 

Protected Attributes

const char * Name
 
int TotalCalls
 
float TotalTime
 
unsigned long int StartTime
 
int RecursionCounter
 
CProfileNodeParent
 
CProfileNodeChild
 
CProfileNodeSibling
 
void * m_userPtr
 

Detailed Description

A node in the Profile Hierarchy Tree.

Definition at line 70 of file btQuickprof.h.

Constructor & Destructor Documentation

CProfileNode::CProfileNode ( const char *  name,
CProfileNode parent 
)

Definition at line 284 of file btQuickprof.cpp.

CProfileNode::~CProfileNode ( void  )

Definition at line 307 of file btQuickprof.cpp.

Member Function Documentation

void CProfileNode::Call ( void  )

Definition at line 356 of file btQuickprof.cpp.

void CProfileNode::CleanupMemory ( )

Definition at line 299 of file btQuickprof.cpp.

CProfileNode* CProfileNode::Get_Child ( void  )
inline

Definition at line 80 of file btQuickprof.h.

const char* CProfileNode::Get_Name ( void  )
inline

Definition at line 87 of file btQuickprof.h.

CProfileNode* CProfileNode::Get_Parent ( void  )
inline

Definition at line 78 of file btQuickprof.h.

CProfileNode* CProfileNode::Get_Sibling ( void  )
inline

Definition at line 79 of file btQuickprof.h.

CProfileNode * CProfileNode::Get_Sub_Node ( const char *  name)

Definition at line 321 of file btQuickprof.cpp.

int CProfileNode::Get_Total_Calls ( void  )
inline

Definition at line 88 of file btQuickprof.h.

float CProfileNode::Get_Total_Time ( void  )
inline

Definition at line 89 of file btQuickprof.h.

void* CProfileNode::GetUserPointer ( ) const
inline

Definition at line 90 of file btQuickprof.h.

void CProfileNode::Reset ( void  )

Definition at line 341 of file btQuickprof.cpp.

bool CProfileNode::Return ( void  )

Definition at line 365 of file btQuickprof.cpp.

void CProfileNode::SetUserPointer ( void *  ptr)
inline

Definition at line 91 of file btQuickprof.h.

Member Data Documentation

CProfileNode* CProfileNode::Child
protected

Definition at line 101 of file btQuickprof.h.

void* CProfileNode::m_userPtr
protected

Definition at line 103 of file btQuickprof.h.

const char* CProfileNode::Name
protected

Definition at line 94 of file btQuickprof.h.

CProfileNode* CProfileNode::Parent
protected

Definition at line 100 of file btQuickprof.h.

int CProfileNode::RecursionCounter
protected

Definition at line 98 of file btQuickprof.h.

CProfileNode* CProfileNode::Sibling
protected

Definition at line 102 of file btQuickprof.h.

unsigned long int CProfileNode::StartTime
protected

Definition at line 97 of file btQuickprof.h.

int CProfileNode::TotalCalls
protected

Definition at line 95 of file btQuickprof.h.

float CProfileNode::TotalTime
protected

Definition at line 96 of file btQuickprof.h.


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