The AsyncInvoker.
More...
#include <async.hpp>
|
| AsyncInvoker (Callable &&_callable, Args &&..._args) |
|
result_type | invoke () |
| Invoke the callable. More...
|
|
void | run () |
| Run the invoker. More...
|
|
template<class T = std::enable_if<HasSignal>> |
void | emit () |
| Emit the signal impl. More...
|
|
| AsyncBase (Args &&...args) |
| Construct a new Async Base object. More...
|
|
void | cleanup () |
|
void | store (T &&t) |
|
|
static void | Run (void *__self) |
| The main entry for invoker. More...
|
|
template<class T = std::enable_if<HasSignal>> |
static void | EmitSignal (void *__self) |
| Emit Signal in main thread. More...
|
|
template<bool HasSignal, class Callable, class ... Args>
struct Btk::Impl::AsyncInvoker< HasSignal, Callable, Args >
The AsyncInvoker.
- Template Parameters
-
Callable | The callable type |
Args | The args types |
◆ result_type
template<bool HasSignal, class Callable , class ... Args>
◆ emit()
template<bool HasSignal, class Callable , class ... Args>
template<class T = std::enable_if<HasSignal>>
◆ EmitSignal()
template<bool HasSignal, class Callable , class ... Args>
template<class T = std::enable_if<HasSignal>>
Emit Signal in main thread.
- Parameters
-
◆ invoke()
template<bool HasSignal, class Callable , class ... Args>
Invoke the callable.
- Returns
- The callable's result
◆ run()
template<bool HasSignal, class Callable , class ... Args>
◆ Run()
template<bool HasSignal, class Callable , class ... Args>
The main entry for invoker.
- Parameters
-
◆ callable
template<bool HasSignal, class Callable , class ... Args>
The signal.
- Note
- It will be emit after exec
◆ signal_has_args
template<bool HasSignal, class Callable , class ... Args>
The documentation for this struct was generated from the following file: