The Gaudi Framework
v33r1 (b1225454)
ISignalMonitor.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#ifndef GAUDIUTILS_ISIGNALMONITOR_H
12
#define GAUDIUTILS_ISIGNALMONITOR_H
13
14
#include "
GaudiKernel/IInterface.h
"
15
16
namespace
Gaudi
{
17
29
class
GAUDI_API
ISignalMonitor
:
virtual
public
IInterface
{
30
public
:
32
DeclareInterfaceID
(
ISignalMonitor
, 1, 0 );
33
41
virtual
void
monitorSignal(
int
signum,
bool
propagate =
true
) = 0;
42
46
virtual
void
ignoreSignal(
int
signum ) = 0;
47
51
virtual
bool
gotSignal(
int
signum )
const
= 0;
52
56
virtual
void
setSignal(
int
signum ) = 0;
57
61
virtual
void
clearSignal(
int
signum ) = 0;
62
};
63
64
}
// namespace Gaudi
65
66
#endif
/* GAUDIUTILS_ISIGNALMONITOR_H */
IInterface
Definition of the basic interface.
Definition:
IInterface.h:254
Gaudi::ISignalMonitor
Interface for the service that monitors the occurrences of system signals.
Definition:
ISignalMonitor.h:29
DeclareInterfaceID
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition:
IInterface.h:23
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:81
IInterface.h
Gaudi
Header file for std:chrono::duration-based Counters.
Definition:
__init__.py:1
GaudiUtils
GaudiUtils
ISignalMonitor.h
Generated on Mon Mar 23 2020 15:31:07 for The Gaudi Framework by
1.8.15