DD4hep
1.31.0
Detector Description Toolkit for High Energy Physics
Main Page
Related Pages
Modules
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
_
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
u
Enumerator
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
b
d
g
o
p
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
x
Functions
_
c
d
g
h
i
l
m
n
o
p
r
s
u
Variables
Typedefs
_
a
c
d
e
f
g
j
l
o
p
r
s
t
u
v
x
Enumerations
Enumerator
Macros
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
DDCore
include
DD4hep
SignalHandler.h
Go to the documentation of this file.
1
//==========================================================================
2
// AIDA Detector description implementation
3
//--------------------------------------------------------------------------
4
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5
// All rights reserved.
6
//
7
// For the licensing terms see $DD4hepINSTALL/LICENSE.
8
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9
//
10
// Author : M.Frank
11
//
12
//==========================================================================
13
#ifndef DD4HEP_DDCORE_SIGNALHANDLER_H
14
#define DD4HEP_DDCORE_SIGNALHANDLER_H
15
17
#include <csignal>
18
20
namespace
dd4hep
{
21
23
28
class
SignalHandler
{
29
public
:
31
typedef
bool (*
signal_handler_t
)(
void
* user_context,
int
signal);
33
class
implementation;
34
35
public
:
37
SignalHandler
();
39
virtual
~SignalHandler
();
41
void
applyHandlers
();
43
bool
registerHandler
(
int
sig_num,
void
* param,
signal_handler_t
handler);
44
};
45
}
// End namespace dd4hep
46
#endif // DD4HEP_DDCORE_SIGNALHANDLER_H
dd4hep::SignalHandler::applyHandlers
void applyHandlers()
(Re-)apply registered interrupt handlers to override potentially later registrations by other librari...
SignalHandler
dd4hep::SignalHandler::SignalHandler
SignalHandler()
Default constructor.
dd4hep::SignalHandler::~SignalHandler
virtual ~SignalHandler()
Default destructor.
dd4hep::SignalHandler::registerHandler
bool registerHandler(int sig_num, void *param, signal_handler_t handler)
Specialized handler for any signal.
dd4hep
Namespace for the AIDA detector description toolkit.
Definition:
AlignmentsCalib.h:28
signal_handler_t
SignalHandler::signal_handler_t signal_handler_t
Definition:
SignalHandler.cpp:27
Generated on Tue Apr 8 2025 12:27:10 for DD4hep by
1.8.18