|
process-cpp 3.0.0
A simple convenience library for handling processes in C++11.
|
The Signalable class abstracts the ability of an entity to be delivered a posix signal. More...
#include <signalable.h>
Inheritance diagram for core::posix::Signalable:
Collaboration diagram for core::posix::Signalable:Classes | |
| struct | Private |
Public Member Functions | |
| virtual void | send_signal_or_throw (Signal signal) |
| Sends a signal to this signalable object. | |
| virtual void | send_signal (Signal signal, std::error_code &e) noexcept(true) |
| Sends a signal to this signalable object. | |
Protected Member Functions | |
| CORE_POSIX_DLL_LOCAL | Signalable (pid_t pid) |
The Signalable class abstracts the ability of an entity to be delivered a posix signal.
Definition at line 35 of file signalable.h.
|
explicitprotected |
Definition at line 30 of file signalable.cpp.
Sends a signal to this signalable object.
| [in] | signal | The signal to be sent to the process. |
| [out] | e | Set to contain an error if an issue arises. |
Definition at line 42 of file signalable.cpp.
Sends a signal to this signalable object.
| std::system_error | in case of problems. |
| [in] | signal | The signal to be sent to the process. |
Definition at line 34 of file signalable.cpp.