7 #ifndef IO_SERVICE_SIGNAL_H
8 #define IO_SERVICE_SIGNAL_H
12 #include <boost/shared_ptr.hpp>
47 void remove(
int signum);
51 boost::shared_ptr<IOSignalSetImpl> impl_;
60 #endif // IO_SERVICE_SIGNAL_H
IOSignalSet(asiolink::IOServicePtr io_service, IOSignalHandler handler)
Constructor.
boost::shared_ptr< IOService > IOServicePtr
Defines a smart pointer to an IOService instance.
std::function< void(int signum)> IOSignalHandler
Defines a handler function for an IOSignal.
Implements an asynchronous "signal" for IOService driven processing.
boost::shared_ptr< IOSignalSet > IOSignalSetPtr
Defines a pointer to an IOSignalSet.
Defines the logger used by the top-level component of kea-dhcp-ddns.
A wrapper interface for the ASIO library.
Implementation class of IOSignalSet.
void add(int signum)
Add a signal to the list of signals to handle.
~IOSignalSet()=default
Destructor.