|
CUBRID Engine
latest
|
#include <thread_task.hpp>


Public Member Functions | |
| callable_task ()=delete | |
| template<typename F > | |
| callable_task (const F &f, bool delete_on_retire=true) | |
| template<typename F > | |
| callable_task (F &&f, bool delete_on_retire=true) | |
| template<typename FuncExec , typename FuncRetire > | |
| callable_task (const FuncExec &fe, const FuncRetire &fr) | |
| template<typename FuncExec , typename FuncRetire > | |
| callable_task (FuncExec &&fe, FuncRetire &&fr) | |
| void | execute () final |
| void | retire () final |
Public Member Functions inherited from cubthread::task< void > | |
| task (void)=default | |
| virtual | ~task (void)=default |
Private Attributes | |
| std::function< void(void)> | m_exec_f |
| std::function< void(void)> | m_retire_f |
Definition at line 134 of file thread_task.hpp.
|
delete |
| cubthread::callable_task< void >::callable_task | ( | const F & | f, |
| bool | delete_on_retire = true |
||
| ) |
Definition at line 278 of file thread_task.hpp.
References cubthread::callable_task< Context >::m_retire_f.
| cubthread::callable_task< void >::callable_task | ( | F && | f, |
| bool | delete_on_retire = true |
||
| ) |
Definition at line 292 of file thread_task.hpp.
References cubthread::callable_task< Context >::m_retire_f.
| cubthread::callable_task< void >::callable_task | ( | const FuncExec & | fe, |
| const FuncRetire & | fr | ||
| ) |
Definition at line 306 of file thread_task.hpp.
| cubthread::callable_task< void >::callable_task | ( | FuncExec && | fe, |
| FuncRetire && | fr | ||
| ) |
Definition at line 313 of file thread_task.hpp.
|
inlinefinalvirtual |
Implements cubthread::task< void >.
Definition at line 152 of file thread_task.hpp.
|
inlinefinalvirtual |
Reimplemented from cubthread::task< void >.
Definition at line 157 of file thread_task.hpp.
|
private |
Definition at line 163 of file thread_task.hpp.
|
private |
Definition at line 164 of file thread_task.hpp.