Clementine
Classes | Public Types | Public Member Functions | List of all members
asio::detail::strand_service Class Reference
Inheritance diagram for asio::detail::strand_service:
Inheritance graph
[legend]
Collaboration diagram for asio::detail::strand_service:
Collaboration graph
[legend]

Classes

struct  on_dispatch_exit
 
struct  on_do_complete_exit
 
class  strand_impl
 

Public Types

typedef strand_implimplementation_type
 

Public Member Functions

ASIO_DECL strand_service (asio::io_context &io_context)
 
ASIO_DECL void shutdown ()
 Destroy all user-defined handler objects owned by the service.
 
ASIO_DECL void construct (implementation_type &impl)
 
template<typename Handler >
void dispatch (implementation_type &impl, Handler &handler)
 
template<typename Handler >
void post (implementation_type &impl, Handler &handler)
 
ASIO_DECL bool running_in_this_thread (const implementation_type &impl) const
 
- Public Member Functions inherited from asio::detail::service_base< strand_service >
 service_base (asio::io_context &io_context)
 
- Public Member Functions inherited from asio::io_context::service
asio::io_contextget_io_context ()
 Get the io_context object that owns the service.
 
- Public Member Functions inherited from asio::execution_context::service
execution_contextcontext ()
 Get the context object that owns the service.
 

Additional Inherited Members

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

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