Async_ref_t template class.
More...
#include <Async.h>
template<typename Object, typename Func>
class coil::Async_ref_t< Object, Func >
Async_ref_t template class.
Definition at line 301 of file Async.h.
◆ Async_ref_t()
template<typename Object, typename Func>
Constructor.
Constructor
- Parameters
-
obj | The target object for the asynchronous function. |
func | Asynchronous function. |
auto_delete | flag for automatic instance destruction. |
Definition at line 329 of file Async.h.
◆ ~Async_ref_t()
template<typename Object, typename Func>
Destructor.
Destructor
Definition at line 349 of file Async.h.
◆ finalize()
template<typename Object, typename Func>
Finalize the asynchronous function.
Finalize the asynchronous function for preparing it for destruction.
Reimplemented from coil::Task.
Definition at line 438 of file Async.h.
◆ finished()
template<typename Object, typename Func>
Check on completion state.
Return a completion state.
- Returns
- true: finished, false: unfinished
Implements coil::Async.
Definition at line 418 of file Async.h.
◆ invoke()
template<typename Object, typename Func>
Asynchronous function Activation.
Activate of Asynchronous function.
Implements coil::Async.
Definition at line 394 of file Async.h.
◆ svc()
template<typename Object, typename Func>
Thread execution function for asynchronous invoke.
Invoke the registered objects operation.
- Returns
- The execution result.
Reimplemented from coil::Task.
Definition at line 372 of file Async.h.
◆ m_autodelete
template<typename Object, typename Func>
◆ m_finished
template<typename Object, typename Func>
◆ m_func
template<typename Object, typename Func>
◆ m_obj
template<typename Object, typename Func>
The documentation for this class was generated from the following file: