Default service implementation for a signal set. More...
#include <signal_set_service.hpp>
Public Types | |
typedef detail::signal_set_service::implementation_type | implementation_type |
The type of a signal set implementation. More... | |
Public Member Functions | |
signal_set_service (boost::asio::io_service &io_service) | |
Construct a new signal set service for the specified io_service. More... | |
void | construct (implementation_type &impl) |
Construct a new signal set implementation. More... | |
void | destroy (implementation_type &impl) |
Destroy a signal set implementation. More... | |
boost::system::error_code | add (implementation_type &impl, int signal_number, boost::system::error_code &ec) |
Add a signal to a signal_set. More... | |
boost::system::error_code | remove (implementation_type &impl, int signal_number, boost::system::error_code &ec) |
Remove a signal to a signal_set. More... | |
boost::system::error_code | clear (implementation_type &impl, boost::system::error_code &ec) |
Remove all signals from a signal_set. More... | |
boost::system::error_code | cancel (implementation_type &impl, boost::system::error_code &ec) |
Cancel all operations associated with the signal set. More... | |
template<typename SignalHandler > | |
BOOST_ASIO_INITFN_RESULT_TYPE (SignalHandler, void(boost::system::error_code, int)) async_wait(implementation_type &impl | |
BOOST_ASIO_MOVE_ARG (SignalHandler) handler) | |
boost::asio::io_service & | get_io_service () |
Get the io_service object that owns the service. More... | |
Static Public Attributes | |
static boost::asio::detail::service_id < signal_set_service > | id |
Default service implementation for a signal set.
typedef detail::signal_set_service::implementation_type boost::asio::signal_set_service::implementation_type |
The type of a signal set implementation.
|
inlineexplicit |
Construct a new signal set service for the specified io_service.
|
inline |
Add a signal to a signal_set.
boost::asio::signal_set_service::BOOST_ASIO_INITFN_RESULT_TYPE | ( | SignalHandler | , |
void(boost::system::error_code, int) | |||
) |
|
inline |
|
inline |
Cancel all operations associated with the signal set.
|
inline |
Remove all signals from a signal_set.
|
inline |
Construct a new signal set implementation.
|
inline |
Destroy a signal set implementation.
|
inherited |
Get the io_service object that owns the service.
|
inline |
Remove a signal to a signal_set.
|
staticinherited |