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

Constructor & Destructor Documentation

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

Definition at line 271 of file btQuickprof.cpp.

CProfileNode::~CProfileNode ( void  )

Definition at line 294 of file btQuickprof.cpp.

Member Function Documentation

void CProfileNode::Call ( void  )

Definition at line 344 of file btQuickprof.cpp.

void CProfileNode::CleanupMemory ( )

Definition at line 286 of file btQuickprof.cpp.

CProfileNode* CProfileNode::Get_Child ( void  )
inline

Definition at line 75 of file btQuickprof.h.

const char* CProfileNode::Get_Name ( void  )
inline

Definition at line 82 of file btQuickprof.h.

CProfileNode* CProfileNode::Get_Parent ( void  )
inline

Definition at line 73 of file btQuickprof.h.

CProfileNode* CProfileNode::Get_Sibling ( void  )
inline

Definition at line 74 of file btQuickprof.h.

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

Definition at line 309 of file btQuickprof.cpp.

int CProfileNode::Get_Total_Calls ( void  )
inline

Definition at line 83 of file btQuickprof.h.

float CProfileNode::Get_Total_Time ( void  )
inline

Definition at line 84 of file btQuickprof.h.

void* CProfileNode::GetUserPointer ( ) const
inline

Definition at line 85 of file btQuickprof.h.

void CProfileNode::Reset ( void  )

Definition at line 329 of file btQuickprof.cpp.

bool CProfileNode::Return ( void  )

Definition at line 353 of file btQuickprof.cpp.

void CProfileNode::SetUserPointer ( void *  ptr)
inline

Definition at line 86 of file btQuickprof.h.

Member Data Documentation

CProfileNode* CProfileNode::Child
protected

Definition at line 96 of file btQuickprof.h.

void* CProfileNode::m_userPtr
protected

Definition at line 98 of file btQuickprof.h.

const char* CProfileNode::Name
protected

Definition at line 89 of file btQuickprof.h.

CProfileNode* CProfileNode::Parent
protected

Definition at line 95 of file btQuickprof.h.

int CProfileNode::RecursionCounter
protected

Definition at line 93 of file btQuickprof.h.

CProfileNode* CProfileNode::Sibling
protected

Definition at line 97 of file btQuickprof.h.

unsigned long int CProfileNode::StartTime
protected

Definition at line 92 of file btQuickprof.h.

int CProfileNode::TotalCalls
protected

Definition at line 90 of file btQuickprof.h.

float CProfileNode::TotalTime
protected

Definition at line 91 of file btQuickprof.h.


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