Async_t template class.
More...
#include <Async.h>
template<typename Object, typename Func>
class coil::Async_t< Object, Func >
Async_t template class.
Definition at line 132 of file Async.h.
◆ Async_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 160 of file Async.h.
◆ ~Async_t()
template<typename Object, typename Func>
Destructor.
Destructor
Definition at line 180 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 229 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 274 of file Async.h.
◆ invoke()
template<typename Object, typename Func>
Asynchronous function Activation.
Activate of Asynchronous function.
Implements coil::Async.
Definition at line 250 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 203 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_mutex
template<typename Object, typename Func>
◆ m_obj
template<typename Object, typename Func>
The documentation for this class was generated from the following file: