Realistic 3D camera system
3D camera system components
Public Types | Public Member Functions | List of all members
asio::signal_set_service Class Reference

Default service implementation for a signal set. More...

#include <signal_set_service.hpp>

Inheritance diagram for asio::signal_set_service:
asio::detail::service_base< signal_set_service > asio::io_service::service asio::detail::noncopyable

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 (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...
 
asio::error_code add (implementation_type &impl, int signal_number, asio::error_code &ec)
 Add a signal to a signal_set. More...
 
asio::error_code remove (implementation_type &impl, int signal_number, asio::error_code &ec)
 Remove a signal to a signal_set. More...
 
asio::error_code clear (implementation_type &impl, asio::error_code &ec)
 Remove all signals from a signal_set. More...
 
asio::error_code cancel (implementation_type &impl, asio::error_code &ec)
 Cancel all operations associated with the signal set. More...
 
template<typename SignalHandler >
 ASIO_INITFN_RESULT_TYPE (SignalHandler, void(asio::error_code, int)) async_wait(implementation_type &impl
 
 ASIO_MOVE_ARG (SignalHandler) handler)
 
- Public Member Functions inherited from asio::detail::service_base< signal_set_service >
 service_base (asio::io_service &io_service)
 
- Public Member Functions inherited from asio::io_service::service
asio::io_serviceget_io_service ()
 Get the io_service object that owns the service. More...
 

Additional Inherited Members

- Static Public Attributes inherited from asio::detail::service_base< signal_set_service >
static asio::detail::service_id< signal_set_serviceid
 
- Protected Member Functions inherited from asio::io_service::service
ASIO_DECL service (asio::io_service &owner)
 Constructor. More...
 
virtual ASIO_DECL ~service ()
 Destructor. More...
 

Detailed Description

Default service implementation for a signal set.

Definition at line 29 of file signal_set_service.hpp.

Member Typedef Documentation

The type of a signal set implementation.

Definition at line 47 of file signal_set_service.hpp.

Constructor & Destructor Documentation

asio::signal_set_service::signal_set_service ( asio::io_service io_service)
inlineexplicit

Construct a new signal set service for the specified io_service.

Definition at line 51 of file signal_set_service.hpp.

Member Function Documentation

asio::error_code asio::signal_set_service::add ( implementation_type impl,
int  signal_number,
asio::error_code ec 
)
inline

Add a signal to a signal_set.

Definition at line 70 of file signal_set_service.hpp.

template<typename SignalHandler >
asio::signal_set_service::ASIO_INITFN_RESULT_TYPE ( SignalHandler  ,
void(asio::error_code, int)   
)
asio::signal_set_service::ASIO_MOVE_ARG ( SignalHandler  )
inline

Definition at line 102 of file signal_set_service.hpp.

asio::error_code asio::signal_set_service::cancel ( implementation_type impl,
asio::error_code ec 
)
inline

Cancel all operations associated with the signal set.

Definition at line 91 of file signal_set_service.hpp.

asio::error_code asio::signal_set_service::clear ( implementation_type impl,
asio::error_code ec 
)
inline

Remove all signals from a signal_set.

Definition at line 84 of file signal_set_service.hpp.

void asio::signal_set_service::construct ( implementation_type impl)
inline

Construct a new signal set implementation.

Definition at line 58 of file signal_set_service.hpp.

void asio::signal_set_service::destroy ( implementation_type impl)
inline

Destroy a signal set implementation.

Definition at line 64 of file signal_set_service.hpp.

asio::error_code asio::signal_set_service::remove ( implementation_type impl,
int  signal_number,
asio::error_code ec 
)
inline

Remove a signal to a signal_set.

Definition at line 77 of file signal_set_service.hpp.


The documentation for this class was generated from the following file: