MySQL 8.0.40
Source Code Documentation
net::impl::Dispatcher< CompletionHandler > Class Template Reference

function object for net::dispatch(), net::post(), net::defer(). More...

#include <executor.h>

Public Member Functions

 Dispatcher (CompletionHandler &handler)
 
void operator() ()
 

Private Attributes

CompletionHandler handler_
 
decltype(net::make_work_guard(handler_)) work_guard_
 

Detailed Description

template<class CompletionHandler>
class net::impl::Dispatcher< CompletionHandler >

function object for net::dispatch(), net::post(), net::defer().

Constructor & Destructor Documentation

◆ Dispatcher()

template<class CompletionHandler >
net::impl::Dispatcher< CompletionHandler >::Dispatcher ( CompletionHandler &  handler)
inlineexplicit

Member Function Documentation

◆ operator()()

template<class CompletionHandler >
void net::impl::Dispatcher< CompletionHandler >::operator() ( )
inline

Member Data Documentation

◆ handler_

template<class CompletionHandler >
CompletionHandler net::impl::Dispatcher< CompletionHandler >::handler_
private

◆ work_guard_

template<class CompletionHandler >
decltype(net::make_work_guard(handler_)) net::impl::Dispatcher< CompletionHandler >::work_guard_
private

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