DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Classes | Public Types | Public Member Functions | List of all members
dd4hep::SignalHandler Class Reference

Interruptsback interface class with argument. More...

#include <SignalHandler.h>

Inheritance diagram for dd4hep::SignalHandler:
dd4hep::sim::Geant4Interrupts

Classes

class  implementation
 

Public Types

typedef bool(* signal_handler_t) (void *user_context, int signal)
 User signal handler definition. More...
 

Public Member Functions

 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...
 

Detailed Description

Interruptsback interface class with argument.

Author
M.Frank
Version
1.0

Definition at line 29 of file SignalHandler.h.

Member Typedef Documentation

◆ signal_handler_t

typedef bool(* dd4hep::SignalHandler::signal_handler_t) (void *user_context, int signal)

User signal handler definition.

Definition at line 32 of file SignalHandler.h.

Constructor & Destructor Documentation

◆ SignalHandler()

dd4hep::SignalHandler::SignalHandler ( )

Default constructor.

◆ ~SignalHandler()

virtual dd4hep::SignalHandler::~SignalHandler ( )
virtual

Default destructor.

Member Function Documentation

◆ applyHandlers()

void dd4hep::SignalHandler::applyHandlers ( )

(Re-)apply registered interrupt handlers to override potentially later registrations by other libraries

◆ registerHandler()

bool dd4hep::SignalHandler::registerHandler ( int  sig_num,
void *  param,
signal_handler_t  handler 
)

Specialized handler for any signal.


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