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 94 of file btQuickprof.h.

Constructor & Destructor Documentation

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

Definition at line 316 of file btQuickprof.cpp.

CProfileNode::~CProfileNode ( void  )

Definition at line 339 of file btQuickprof.cpp.

Member Function Documentation

void CProfileNode::Call ( void  )

Definition at line 388 of file btQuickprof.cpp.

void CProfileNode::CleanupMemory ( )

Definition at line 331 of file btQuickprof.cpp.

CProfileNode* CProfileNode::Get_Child ( void  )
inline

Definition at line 104 of file btQuickprof.h.

const char* CProfileNode::Get_Name ( void  )
inline

Definition at line 111 of file btQuickprof.h.

CProfileNode* CProfileNode::Get_Parent ( void  )
inline

Definition at line 102 of file btQuickprof.h.

CProfileNode* CProfileNode::Get_Sibling ( void  )
inline

Definition at line 103 of file btQuickprof.h.

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

Definition at line 353 of file btQuickprof.cpp.

int CProfileNode::Get_Total_Calls ( void  )
inline

Definition at line 112 of file btQuickprof.h.

float CProfileNode::Get_Total_Time ( void  )
inline

Definition at line 113 of file btQuickprof.h.

void* CProfileNode::GetUserPointer ( ) const
inline

Definition at line 114 of file btQuickprof.h.

void CProfileNode::Reset ( void  )

Definition at line 373 of file btQuickprof.cpp.

bool CProfileNode::Return ( void  )

Definition at line 397 of file btQuickprof.cpp.

void CProfileNode::SetUserPointer ( void *  ptr)
inline

Definition at line 115 of file btQuickprof.h.

Member Data Documentation

CProfileNode* CProfileNode::Child
protected

Definition at line 125 of file btQuickprof.h.

void* CProfileNode::m_userPtr
protected

Definition at line 127 of file btQuickprof.h.

const char* CProfileNode::Name
protected

Definition at line 118 of file btQuickprof.h.

CProfileNode* CProfileNode::Parent
protected

Definition at line 124 of file btQuickprof.h.

int CProfileNode::RecursionCounter
protected

Definition at line 122 of file btQuickprof.h.

CProfileNode* CProfileNode::Sibling
protected

Definition at line 126 of file btQuickprof.h.

unsigned long int CProfileNode::StartTime
protected

Definition at line 121 of file btQuickprof.h.

int CProfileNode::TotalCalls
protected

Definition at line 119 of file btQuickprof.h.

float CProfileNode::TotalTime
protected

Definition at line 120 of file btQuickprof.h.


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