libcsdbg  1.28
C++ exception (and generic) stack trace debug library
csdbg::tracer::tracer ( )
protected

Object default constructor.

Exceptions
std::bad_alloc

Definition at line 454 of file tracer.cpp.

References m_filters, m_plugins, and m_proc.

Referenced by clone(), and on_lib_load().

455  :
456 m_proc(NULL)
457 #ifdef CSDBG_WITH_PLUGIN
458 ,m_plugins(NULL)
459 #endif
460 #ifdef CSDBG_WITH_FILTER
461 ,m_filters(NULL)
462 #endif
463 {
464 #ifdef CSDBG_WITH_PLUGIN
465  m_plugins = new chain<plugin>;
466 #endif
467 #ifdef CSDBG_WITH_FILTER
468  m_filters = new chain<filter>;
469 #endif
470 
471  m_proc = new process;
472 }
473 
474 catch (...) {
475  destroy();
476 }
virtual tracer & destroy()
Release object resources.
Definition: tracer.cpp:561
chain< plugin > * m_plugins
Instrumentation plugins.
Definition: tracer.hpp:48
process * m_proc
Process handle.
Definition: tracer.hpp:45
chain< filter > * m_filters
Instrumentation filters.
Definition: tracer.hpp:51

+ Here is the caller graph for this function: