| The Gaudi Framework v29r1 (5cd95fa2)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

ISignalMonitor.h
Go to the documentation of this file.
1 #ifndef GAUDIUTILS_ISIGNALMONITOR_H
2 #define GAUDIUTILS_ISIGNALMONITOR_H
3
4 #include "GaudiKernel/IInterface.h"
5
6 namespace Gaudi
7 {
8
20 class GAUDI_API ISignalMonitor : virtual public IInterface
21 {
22 public:
24 DeclareInterfaceID( ISignalMonitor, 1, 0 );
25
33 virtual void monitorSignal( int signum, bool propagate = true ) = 0;
34
38 virtual void ignoreSignal( int signum ) = 0;
39
43 virtual bool gotSignal( int signum ) const = 0;
44
48 virtual void setSignal( int signum ) = 0;
49
53 virtual void clearSignal( int signum ) = 0;
54 };
55
56 } // namespace Gaudi
57
58 #endif /* GAUDIUTILS_ISIGNALMONITOR_H */
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:13
IInterface
Definition of the basic interface.
Definition: IInterface.h:277
Gaudi::ISignalMonitor
Interface for the service that monitors the occurrences of system signals.
Definition: ISignalMonitor.h:20
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110
IInterface.h
Gaudi
Helper functions to set/get the application return code.
Definition: __init__.py:1