Class cubthread::callable_task< void >¶
template <>
ClassList > cubthread > callable_task< void >
#include <thread_task.hpp>
Inherits the following classes: cubthread::task< void >
Public Functions¶
| Type | Name |
|---|---|
| callable_task () = delete |
|
| callable_task (const F & f, bool delete_on_retire=true) |
|
| callable_task (F && f, bool delete_on_retire=true) |
|
| callable_task (const FuncExec & fe, const FuncRetire & fr) |
|
| callable_task (FuncExec && fe, FuncRetire && fr) |
|
| virtual void | execute () |
| virtual void | retire () |
Public Functions inherited from cubthread::task< void >¶
| Type | Name |
|---|---|
| virtual void | execute (void) = 0 |
| virtual void | retire (void) |
| task (void) = default |
|
| virtual | ~task (void) = default |
Public Functions Documentation¶
function callable_task [1/5]¶
function callable_task [2/5]¶
template<typename F>
cubthread::callable_task< void >::callable_task (
const F & f,
bool delete_on_retire=true
)
function callable_task [3/5]¶
template<typename F>
cubthread::callable_task< void >::callable_task (
F && f,
bool delete_on_retire=true
)
function callable_task [4/5]¶
template<typename FuncExec, typename FuncRetire>
cubthread::callable_task< void >::callable_task (
const FuncExec & fe,
const FuncRetire & fr
)
function callable_task [5/5]¶
template<typename FuncExec, typename FuncRetire>
cubthread::callable_task< void >::callable_task (
FuncExec && fe,
FuncRetire && fr
)
function execute¶
Implements cubthread::task< void >::execute
function retire¶
Implements cubthread::task< void >::retire
The documentation for this class was generated from the following file cubrid/src/thread/thread_task.hpp