powerd++  0.4.4
Classes | Namespaces | Typedefs
signal.hpp File Reference

Implements a c++ wrapper for the signal(3) call. More...

#include "error.hpp"
#include <csignal>
Include dependency graph for signal.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sys::sig::error
 The domain error type. More...
 
class  sys::sig::Signal
 Sets up a given signal handler and restores the old handler when going out of scope. More...
 

Namespaces

 sys
 Wrappers around native system interfaces.
 
 sys::sig
 This namespace provides c++ wrappers for signal(3).
 

Typedefs

using sys::sig::sig_t = void(*)(int)
 Convenience type for signal handlers.
 

Detailed Description

Implements a c++ wrapper for the signal(3) call.


Class Documentation

◆ sys::sig::error

struct sys::sig::error

The domain error type.