MySQL 9.0.0
Source Code Documentation
net::executor_work_guard< Executor > Class Template Reference

#include <executor.h>

Public Types

using executor_type = Executor
 

Public Member Functions

 executor_work_guard (const executor_type &ex) noexcept
 
 executor_work_guard (const executor_work_guard &other) noexcept
 
 executor_work_guard (executor_work_guard &&other) noexcept
 
executor_work_guardoperator= (const executor_work_guard &other)=delete
 
 ~executor_work_guard ()
 
executor_type get_executor () const noexcept
 
bool owns_work () const noexcept
 
void reset () noexcept
 

Private Attributes

Executor ex_
 
bool owns_
 

Member Typedef Documentation

◆ executor_type

template<class Executor >
using net::executor_work_guard< Executor >::executor_type = Executor

Constructor & Destructor Documentation

◆ executor_work_guard() [1/3]

template<class Executor >
net::executor_work_guard< Executor >::executor_work_guard ( const executor_type ex)
inlineexplicitnoexcept

◆ executor_work_guard() [2/3]

template<class Executor >
net::executor_work_guard< Executor >::executor_work_guard ( const executor_work_guard< Executor > &  other)
inlinenoexcept

◆ executor_work_guard() [3/3]

template<class Executor >
net::executor_work_guard< Executor >::executor_work_guard ( executor_work_guard< Executor > &&  other)
inlinenoexcept

◆ ~executor_work_guard()

template<class Executor >
net::executor_work_guard< Executor >::~executor_work_guard ( )
inline

Member Function Documentation

◆ get_executor()

template<class Executor >
executor_type net::executor_work_guard< Executor >::get_executor ( ) const
inlinenoexcept

◆ operator=()

template<class Executor >
executor_work_guard & net::executor_work_guard< Executor >::operator= ( const executor_work_guard< Executor > &  other)
delete

◆ owns_work()

template<class Executor >
bool net::executor_work_guard< Executor >::owns_work ( ) const
inlinenoexcept

◆ reset()

template<class Executor >
void net::executor_work_guard< Executor >::reset ( )
inlinenoexcept

Member Data Documentation

◆ ex_

template<class Executor >
Executor net::executor_work_guard< Executor >::ex_
private

◆ owns_

template<class Executor >
bool net::executor_work_guard< Executor >::owns_
private

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