|
| DeclareInterfaceID (ISignalMonitor, 1, 0) |
| InterfaceID.
|
|
virtual void | monitorSignal (int signum, bool propagate=true)=0 |
| Add a signal (number) to the list of signals to be monitored.
|
|
virtual void | ignoreSignal (int signum)=0 |
| Ignore future occurrences of the given signal number.
|
|
virtual bool | gotSignal (int signum) const =0 |
| Tell if the given signal has been received or not.
|
|
virtual void | setSignal (int signum)=0 |
| Set the flag for the given signal, as if the signal was received.
|
|
virtual void | clearSignal (int signum)=0 |
| Clear the flag for the given signal, so that a new occurrence can be identified.
|
|
template<Gaudi::IsInterface TARGET> |
TARGET * | cast () |
|
template<Gaudi::IsInterface TARGET> |
TARGET const * | cast () const |
|
template<typename TARGET>
requires ( !Gaudi::IsInterface<TARGET> ) |
TARGET * | cast () |
|
template<typename TARGET>
requires ( !Gaudi::IsInterface<TARGET> ) |
TARGET const * | cast () const |
|
virtual std::vector< std::string > | getInterfaceNames () const =0 |
| Returns a vector of strings containing the names of all the implemented interfaces.
|
|
virtual unsigned long | addRef () const =0 |
| Increment the reference count of Interface instance.
|
|
virtual unsigned long | release () const =0 |
| Release Interface instance.
|
|
virtual unsigned long | refCount () const =0 |
| Current reference count.
|
|
virtual StatusCode | queryInterface (const InterfaceID &ti, void **pp)=0 |
| Set the void** to the pointer to the requested interface of the instance.
|
|
virtual | ~IInterface ()=default |
| Virtual destructor.
|
|
virtual void const * | i_cast (const InterfaceID &) const =0 |
|
void * | i_cast (const InterfaceID &iid) |
|
Interface for the service that monitors the occurrences of system signals.
The signal to be monitored have to be declared via the method monitorSignal(). The method gotSignal() can used to check if a signal has been received.
Note that the service is passive, in the sense that it simply keeps track of received signals without performing any action. So it is responsibility of the users to add a check if the signal has been received or not.
- Author
- Marco Clemencic
Definition at line 28 of file ISignalMonitor.h.