DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Interruptsback interface class with argument. More...
#include <Geant4Interrupts.h>
Public Member Functions | |
Geant4Kernel & | kernel () |
Geant4Interrupts (Geant4Kernel &krnl) | |
Default constructor. More... | |
virtual | ~Geant4Interrupts ()=default |
Default destructor. More... | |
bool | registerHandler_SIGINT () |
Specialized handler for SIGINT. More... | |
Public Member Functions inherited from dd4hep::SignalHandler | |
SignalHandler () | |
Default constructor. More... | |
virtual | ~SignalHandler () |
Default destructor. More... | |
void | applyHandlers () |
(Re-)apply registered interrupt handlers to override potentially later registrations by other libraries More... | |
bool | registerHandler (int sig_num, void *param, signal_handler_t handler) |
Specialized handler for any signal. More... | |
Static Public Member Functions | |
static bool | default_sigint_handler (void *user_context, int signum) |
Default SIGINT handler: trigger end-of-event-loop in Geant4Kernel object. More... | |
Public Attributes | |
Geant4Kernel & | m_kernel |
Reference to simulation kernel. More... | |
Additional Inherited Members | |
Public Types inherited from dd4hep::SignalHandler | |
typedef bool(* | signal_handler_t) (void *user_context, int signal) |
User signal handler definition. More... | |
Interruptsback interface class with argument.
Definition at line 36 of file Geant4Interrupts.h.
|
inline |
Default constructor.
Definition at line 47 of file Geant4Interrupts.h.
|
virtualdefault |
Default destructor.
|
static |
Default SIGINT handler: trigger end-of-event-loop in Geant4Kernel object.
Definition at line 20 of file Geant4Interrupts.cpp.
|
inline |
Definition at line 40 of file Geant4Interrupts.h.
bool dd4hep::sim::Geant4Interrupts::registerHandler_SIGINT | ( | ) |
Specialized handler for SIGINT.
Install specialized handler for SIGINT.
Definition at line 31 of file Geant4Interrupts.cpp.
Geant4Kernel& dd4hep::sim::Geant4Interrupts::m_kernel |
Reference to simulation kernel.
Definition at line 39 of file Geant4Interrupts.h.