The Gaudi Framework  v29r0 (ff2e7097)
ISignalMonitor.h
Go to the documentation of this file.
1 #ifndef GAUDIUTILS_ISIGNALMONITOR_H
2 #define GAUDIUTILS_ISIGNALMONITOR_H
3 
5 
6 namespace Gaudi
7 {
8 
20  class GAUDI_API ISignalMonitor : virtual public IInterface
21  {
22  public:
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 */
#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
Definition of the basic interface.
Definition: IInterface.h:277
Interface for the service that monitors the occurrences of system signals.
#define GAUDI_API
Definition: Kernel.h:110
Helper functions to set/get the application return code.
Definition: __init__.py:1