| The Gaudi Framework v28r2-patches (bc4ad17a)

- 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
19 class GAUDI_API ISignalMonitor: virtual public IInterface {
20 public:
22 DeclareInterfaceID(ISignalMonitor, 1, 0);
23
31 virtual void monitorSignal(int signum, bool propagate = true) = 0;
32
36 virtual void ignoreSignal(int signum) = 0;
37
41 virtual bool gotSignal(int signum) const = 0;
42
46 virtual void setSignal(int signum) = 0;
47
51 virtual void clearSignal(int signum) = 0;
52
53 };
54
55 } // namespace Gaudi
56
57 #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:14
IInterface
Definition of the basic interface.
Definition: IInterface.h:234
Gaudi::ISignalMonitor
Interface for the service that monitors the occurrences of system signals.
Definition: ISignalMonitor.h:19
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107
IInterface.h
Gaudi
Helper functions to set/get the application return code.
Definition: __init__.py:1