| Reference | Class Hierarchy | Class Index | Member Index |
Inheritance diagram for asio::strand_service:

Public Types | |
| typedef implementation_defined | implementation_type |
| The implementation type of the strand. | |
Public Member Functions | |
| strand_service (asio::io_service &io_service) | |
| Construct a new timer service for the specified io_service. | |
| void | shutdown_service () |
| Destroy all user-defined handler objects owned by the service. | |
| void | construct (implementation_type &impl) |
| Construct a new timer implementation. | |
| void | destroy (implementation_type &impl) |
| Destroy a timer implementation. | |
| template<typename Handler> | |
| void | dispatch (implementation_type &impl, Handler handler) |
| Request the io_service to invoke the given handler. | |
| template<typename Handler> | |
| void | post (implementation_type &impl, Handler handler) |
| Request the io_service to invoke the given handler and return immediately. | |
| io_service & | owner () |
| Get the io_service object that owns the service. | |
| typedef implementation_defined asio::strand_service::implementation_type |
The implementation type of the strand.
| asio::strand_service::strand_service | ( | asio::io_service & | io_service | ) | [explicit] |
Construct a new timer service for the specified io_service.
| void asio::strand_service::shutdown_service | ( | ) | [virtual] |
Destroy all user-defined handler objects owned by the service.
Implements asio::io_service::service.
| void asio::strand_service::construct | ( | implementation_type & | impl | ) |
Construct a new timer implementation.
| void asio::strand_service::destroy | ( | implementation_type & | impl | ) |
Destroy a timer implementation.
| void asio::strand_service::dispatch | ( | implementation_type & | impl, | |
| Handler | handler | |||
| ) |
Request the io_service to invoke the given handler.
| void asio::strand_service::post | ( | implementation_type & | impl, | |
| Handler | handler | |||
| ) |
Request the io_service to invoke the given handler and return immediately.
| io_service & asio::io_service::service::owner | ( | ) | [inherited] |
Get the io_service object that owns the service.