Download Source Code

CStackTrace::CStack Class Reference

Encapsulates stack tracing functionality for a single thread. More...

#include <stacktrace.h>

Collaboration diagram for CStackTrace::CStack:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CStack ()
 Constructor.
void Push (LPCTSTR pFunction)
 Push pointer onto the stack.
void Pop ()
 Pop a pointer off the stack.
UINT GetStackPtr ()
 Returns the current stack pointer.
LPCTSTR * GetStack ()
 Retuns the actual stack.

Detailed Description

Encapsulates stack tracing functionality for a single thread.


Member Function Documentation

void CStackTrace::CStack::Push LPCTSTR  pFunction  )  [inline]
 

Push pointer onto the stack.

Parameters:
[in] pFunction - Name of function to push on the stack
Returns:
Pointer to profile item if profiling is enabled, otherwise void
See also:
Pop()


The documentation for this class was generated from the following file:
  • inc/stacktrace.h
Copyright Robert Umbehant
This documentation is covered by the LGPL