class BackTrace

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lang::sys::BackTrace Class Reference

#include <BackTrace.h>

List of all members.

Public Member Functions

 BackTrace (int ignoreTopFrames=0)
int getSize ()
const core_vector< void * > & program_counters () const
::acdk::lang::RStackFrameArray getStackFrames ()
void incIngnoreFrames ()

Static Public Member Functions

RStackFrame getStackFrame (void *pc)
int fillBackTrace (int offset, void **pcBuff, int size)
 fill the program counters from offset up to max size

Private Member Functions

void _save_pcs ()

Private Attributes

core_vector< void * > _program_counters
int _ignoreTopFrames

Constructor & Destructor Documentation

acdk::lang::sys::BackTrace::BackTrace int  ignoreTopFrames = 0  ) 

Member Function Documentation

void acdk::lang::sys::BackTrace::_save_pcs  )  [private]

int acdk::lang::sys::BackTrace::fillBackTrace int  offset,
void **  pcBuff,
int  size

fill the program counters from offset up to max size

number of filled pc's

int acdk::lang::sys::BackTrace::getSize  )  [inline]

RStackFrame acdk::lang::sys::BackTrace::getStackFrame void *  pc  )  [static]

::acdk::lang::RStackFrameArray acdk::lang::sys::BackTrace::getStackFrames  ) 

void acdk::lang::sys::BackTrace::incIngnoreFrames  )  [inline]

const core_vector<void*>& acdk::lang::sys::BackTrace::program_counters  )  const [inline]

Member Data Documentation

int acdk::lang::sys::BackTrace::_ignoreTopFrames [private]

core_vector<void*> acdk::lang::sys::BackTrace::_program_counters [private]