19 #ifndef CORE_POSIX_SIGNALABLE_H_ 20 #define CORE_POSIX_SIGNALABLE_H_ 26 #include <system_error> 43 virtual void send_signal_or_throw(
Signal signal);
50 virtual void send_signal(
Signal signal, std::error_code& e) noexcept(
true);
57 std::shared_ptr<Private> d;
62 #endif // CORE_POSIX_SIGNALABLE_H_ #define CORE_POSIX_DLL_PUBLIC
The Signalable class abstracts the ability of an entity to be delivered a posix signal.
Signal
The Signal enum collects the most common POSIX signals.
#define CORE_POSIX_DLL_LOCAL