The Gaudi Framework
master (0ea74171)
Toggle main menu visibility
Loading...
Searching...
No Matches
ISignalMonitor.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2025 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
#pragma once
12
13
#include <
GaudiKernel/IInterface.h
>
14
15
namespace
Gaudi
{
16
28
class
GAUDI_API
ISignalMonitor
:
virtual
public
IInterface
{
29
public
:
31
DeclareInterfaceID
(
ISignalMonitor
, 1, 0 );
32
40
virtual
void
monitorSignal
(
int
signum,
bool
propagate =
true
) = 0;
41
45
virtual
void
ignoreSignal
(
int
signum ) = 0;
46
50
virtual
bool
gotSignal
(
int
signum )
const
= 0;
51
55
virtual
void
setSignal
(
int
signum ) = 0;
56
60
virtual
void
clearSignal
(
int
signum ) = 0;
61
};
62
63
}
// namespace Gaudi
IInterface.h
GAUDI_API
#define GAUDI_API
Definition
Kernel.h:49
Gaudi::ISignalMonitor
Interface for the service that monitors the occurrences of system signals.
Definition
ISignalMonitor.h:28
Gaudi::ISignalMonitor::clearSignal
virtual void clearSignal(int signum)=0
Clear the flag for the given signal, so that a new occurrence can be identified.
Gaudi::ISignalMonitor::monitorSignal
virtual void monitorSignal(int signum, bool propagate=true)=0
Add a signal (number) to the list of signals to be monitored.
Gaudi::ISignalMonitor::setSignal
virtual void setSignal(int signum)=0
Set the flag for the given signal, as if the signal was received.
Gaudi::ISignalMonitor::gotSignal
virtual bool gotSignal(int signum) const =0
Tell if the given signal has been received or not.
Gaudi::ISignalMonitor::ignoreSignal
virtual void ignoreSignal(int signum)=0
Ignore future occurrences of the given signal number.
Gaudi::ISignalMonitor::DeclareInterfaceID
DeclareInterfaceID(ISignalMonitor, 1, 0)
InterfaceID.
IInterface
Definition of the basic interface.
Definition
IInterface.h:225
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition
__init__.py:1
GaudiUtils
include
GaudiUtils
ISignalMonitor.h
Generated on
for The Gaudi Framework by
1.17.0