#include <SigHandlersList.h>
Inheritance diagram for ASSA::CFUNC_Handler:
Public Member Functions | |
CFUNC_Handler (C_SIG_HANDLER csigh_) | |
int | handle_signal (int signum_) |
Signal handler callback. | |
C_SIG_HANDLER | handler () |
Private Attributes | |
C_SIG_HANDLER | m_c_sig_hand |
CFUNC_Handler is a wrapper around C signal handler function. It wraps C signal handler function into EventHandler interface.
Definition at line 44 of file SigHandlersList.h.
|
Definition at line 371 of file SigHandlersList.h. References ASSA::SIGHAND, and trace_with_mask. 00372 : m_c_sig_hand (csigh_) 00373 { 00374 trace_with_mask("CFUNC_Handler::CFUNC_Handler", SIGHAND); 00375 }
|
|
Signal handler callback.
Reimplemented from ASSA::EventHandler. Definition at line 379 of file SigHandlersList.h. References m_c_sig_hand, ASSA::SIGHAND, and trace_with_mask. 00380 { 00381 trace_with_mask("CFUNC_Handler::handle_signal", SIGHAND); 00382 00383 if (m_c_sig_hand) { 00384 (*m_c_sig_hand)(signum_); 00385 } 00386 return 1; 00387 }
|
|
Definition at line 50 of file SigHandlersList.h. References m_c_sig_hand. 00050 { return m_c_sig_hand; }
|
|
Definition at line 53 of file SigHandlersList.h. Referenced by handle_signal(), and handler(). |