BC_Signals Class Reference

#include <bcsignals.h>

Inherited by SigHandler.

Collaboration diagram for BC_Signals:

Collaboration graph
[legend]

Public Member Functions

 BC_Signals ()
void initialize ()
void initialize2 ()
virtual void signal_handler (int signum)

Static Public Member Functions

static void delete_temps ()
static void set_temp (char *string)
static void unset_temp (char *string)
static int set_lock (void *ptr, char *title, char *location)
static void set_lock2 (int table_id)
static void set_lock2_condition (int table_id)
static void unset_lock2 (int table_id)
static void unset_lock (void *ptr)
static void unset_all_locks (void *ptr)
static void new_trace (char *text)
static void new_trace (const char *file, const char *function, int line)
static void delete_traces ()
static void enable_memory ()
static void disable_memory ()
static void set_buffer (int size, void *ptr, char *location)
static int unset_buffer (void *ptr)
static void dump_traces ()
static void dump_locks ()
static void dump_buffers ()
static char * sig_to_str (int number)

Static Public Attributes

static BC_Signalsglobal_signals = 0

Detailed Description

Definition at line 35 of file bcsignals.h.


Constructor & Destructor Documentation

BC_Signals::BC_Signals (  ) 

Definition at line 192 of file bcsignals.C.


Member Function Documentation

void BC_Signals::initialize (  ) 

Definition at line 269 of file bcsignals.C.

References handler_lock, initialize2(), and lock.

Referenced by MWindow::init_signals(), and RenderFarmClient::RenderFarmClient().

Here is the call graph for this function:

void BC_Signals::initialize2 (  ) 

Definition at line 281 of file bcsignals.C.

References signal_entry(), and signal_entry_recoverable().

Referenced by initialize().

Here is the call graph for this function:

void BC_Signals::signal_handler ( int  signum  )  [virtual]

Reimplemented in SigHandler.

Definition at line 295 of file bcsignals.C.

Referenced by bc_ipc_termination(), and signal_entry().

void BC_Signals::delete_temps (  )  [static]

Definition at line 238 of file bcsignals.C.

References lock, bc_table_t::size, and bc_table_t::values.

Referenced by signal_entry().

void BC_Signals::set_temp ( char *  string  )  [static]

Definition at line 250 of file bcsignals.C.

References append_table().

Here is the call graph for this function:

void BC_Signals::unset_temp ( char *  string  )  [static]

Definition at line 256 of file bcsignals.C.

References clear_table_entry(), bc_table_t::size, and bc_table_t::values.

Here is the call graph for this function:

int BC_Signals::set_lock ( void *  ptr,
char *  title,
char *  location 
) [static]

Definition at line 343 of file bcsignals.C.

References append_table(), clear_table(), global_signals, bc_locktrace_t::id, lock, new_bc_locktrace(), bc_table_t::size, and TOTAL_LOCKS.

Here is the call graph for this function:

void BC_Signals::set_lock2 ( int  table_id  )  [static]

static void BC_Signals::set_lock2_condition ( int  table_id  )  [static]

void BC_Signals::unset_lock2 ( int  table_id  )  [static]

Definition at line 384 of file bcsignals.C.

References clear_table_entry(), global_signals, bc_locktrace_t::id, lock, bc_table_t::size, and bc_table_t::values.

Here is the call graph for this function:

void BC_Signals::unset_lock ( void *  ptr  )  [static]

Definition at line 403 of file bcsignals.C.

References clear_table_entry(), global_signals, bc_locktrace_t::is_owner, lock, bc_locktrace_t::ptr, bc_table_t::size, and bc_table_t::values.

Here is the call graph for this function:

void BC_Signals::unset_all_locks ( void *  ptr  )  [static]

Definition at line 429 of file bcsignals.C.

References clear_table_entry(), global_signals, lock, bc_locktrace_t::ptr, bc_table_t::size, and bc_table_t::values.

Here is the call graph for this function:

void BC_Signals::new_trace ( char *  text  )  [static]

Definition at line 308 of file bcsignals.C.

References append_table(), global_signals, lock, overwrite_table(), bc_table_t::size, and TOTAL_TRACES.

Referenced by new_trace().

Here is the call graph for this function:

void BC_Signals::new_trace ( const char *  file,
const char *  function,
int  line 
) [static]

Definition at line 326 of file bcsignals.C.

References BCTEXTLEN, and new_trace().

Here is the call graph for this function:

void BC_Signals::delete_traces (  )  [static]

Definition at line 333 of file bcsignals.C.

References clear_table(), global_signals, and lock.

Here is the call graph for this function:

void BC_Signals::enable_memory (  )  [static]

Definition at line 446 of file bcsignals.C.

References trace_memory.

void BC_Signals::disable_memory (  )  [static]

Definition at line 451 of file bcsignals.C.

References trace_memory.

void BC_Signals::set_buffer ( int  size,
void *  ptr,
char *  location 
) [static]

Definition at line 457 of file bcsignals.C.

References append_table(), global_signals, lock, new_bc_buffertrace(), and trace_memory.

Here is the call graph for this function:

int BC_Signals::unset_buffer ( void *  ptr  )  [static]

Definition at line 468 of file bcsignals.C.

References clear_table_entry(), global_signals, lock, bc_table_t::size, trace_memory, and bc_table_t::values.

Here is the call graph for this function:

void BC_Signals::dump_traces (  )  [static]

Definition at line 196 of file bcsignals.C.

References bc_table_t::current_value, bc_table_t::size, and bc_table_t::values.

Referenced by signal_entry().

void BC_Signals::dump_locks (  )  [static]

void BC_Signals::dump_buffers (  )  [static]

char * BC_Signals::sig_to_str ( int  number  )  [static]

Definition at line 301 of file bcsignals.C.

References signal_titles.


Field Documentation


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

Generated on Mon Apr 28 14:15:28 2008 for Cinelerra by  doxygen 1.5.5