#include <strand_service.hpp>
Classes | |
class | handler_base |
class | handler_wrapper |
class | invoke_current_handler |
class | post_next_waiter_on_exit |
class | strand_impl |
Public Types | |
typedef boost::intrusive_ptr < strand_impl > | implementation_type |
Public Member Functions | |
void | construct (implementation_type &impl) |
void | destroy (implementation_type &impl) |
template<typename Handler > | |
void | dispatch (implementation_type &impl, Handler handler) |
template<typename Handler > | |
void | post (implementation_type &impl, Handler handler) |
void | shutdown_service () |
Destroy all user-defined handler objects owned by the service. | |
strand_service (asio::io_service &io_service) | |
Private Attributes | |
strand_impl * | impl_list_ |
asio::detail::mutex | mutex_ |
Friends | |
class | strand_impl |
Definition at line 40 of file strand_service.hpp.
typedef boost::intrusive_ptr<strand_impl> asio::detail::strand_service::implementation_type |
Definition at line 162 of file strand_service.hpp.
asio::detail::strand_service::strand_service | ( | asio::io_service & | io_service | ) | [inline, explicit] |
Definition at line 360 of file strand_service.hpp.
void asio::detail::strand_service::construct | ( | implementation_type & | impl | ) | [inline] |
Definition at line 403 of file strand_service.hpp.
void asio::detail::strand_service::destroy | ( | implementation_type & | impl | ) | [inline] |
Definition at line 409 of file strand_service.hpp.
void asio::detail::strand_service::dispatch | ( | implementation_type & | impl, |
Handler | handler | ||
) | [inline] |
Definition at line 416 of file strand_service.hpp.
void asio::detail::strand_service::post | ( | implementation_type & | impl, |
Handler | handler | ||
) | [inline] |
Definition at line 461 of file strand_service.hpp.
void asio::detail::strand_service::shutdown_service | ( | ) | [inline, virtual] |
Destroy all user-defined handler objects owned by the service.
Implements asio::io_service::service.
Definition at line 368 of file strand_service.hpp.
friend class strand_impl [friend] |
Definition at line 160 of file strand_service.hpp.
Definition at line 502 of file strand_service.hpp.
Definition at line 499 of file strand_service.hpp.