asio::detail::strand_service Class Reference

#include <strand_service.hpp>

Inheritance diagram for asio::detail::strand_service:

asio::detail::service_base< Type > asio::io_service::service

List of all members.

Public Types

typedef boost::intrusive_ptr
< strand_impl
implementation_type

Public Member Functions

 strand_service (asio::io_service &io_service)
void shutdown_service ()
 Destroy all user-defined handler objects owned by the service.
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)

Private Attributes

asio::detail::mutex mutex_
strand_implimpl_list_

Friends

class strand_impl

Classes

class  handler_base
class  handler_wrapper
class  invoke_current_handler
class  post_next_waiter_on_exit
class  strand_impl


Detailed Description

Definition at line 39 of file strand_service.hpp.


Member Typedef Documentation

Definition at line 167 of file strand_service.hpp.


Constructor & Destructor Documentation

asio::detail::strand_service::strand_service ( asio::io_service io_service  )  [inline, explicit]

Definition at line 354 of file strand_service.hpp.


Member Function Documentation

void asio::detail::strand_service::shutdown_service (  )  [inline, virtual]

void asio::detail::strand_service::construct ( implementation_type impl  )  [inline]

Definition at line 397 of file strand_service.hpp.

References strand_impl.

Referenced by asio::io_service::strand::strand().

void asio::detail::strand_service::destroy ( implementation_type impl  )  [inline]

Definition at line 403 of file strand_service.hpp.

Referenced by asio::io_service::strand::~strand().

template<typename Handler>
void asio::detail::strand_service::dispatch ( implementation_type impl,
Handler  handler 
) [inline]

template<typename Handler>
void asio::detail::strand_service::post ( implementation_type impl,
Handler  handler 
) [inline]


Friends And Related Function Documentation

friend class strand_impl [friend]

Definition at line 165 of file strand_service.hpp.

Referenced by construct().


Member Data Documentation


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

Generated on Sun May 25 00:21:33 2008 by  doxygen 1.5.6