Async_ref_t template class. More...
#include <Async.h>

Public Member Functions | |
| Async_ref_t (Object *obj, Func &func, bool auto_delete=false) | |
| Constructor. | |
| virtual void | finalize () |
| Finalize the asynchronous function. | |
| virtual bool | finished () |
| Check on completion state. | |
| virtual void | invoke () |
| Asynchronous function Activation. | |
| virtual int | svc () |
| Thread execution function for asynchronous invoke. | |
| virtual | ~Async_ref_t () |
| Destructor. | |
Private Attributes | |
| bool | m_autodelete |
| bool | m_finished |
| Func & | m_func |
| Object * | m_obj |
Async_ref_t template class.
| coil::Async_ref_t< Object, Func >::Async_ref_t | ( | Object * | obj, |
| Func & | func, | ||
| bool | auto_delete = false |
||
| ) | [inline] |
| virtual coil::Async_ref_t< Object, Func >::~Async_ref_t | ( | ) | [inline, virtual] |
| virtual void coil::Async_ref_t< Object, Func >::finalize | ( | ) | [inline, virtual] |
Finalize the asynchronous function.
Finalize the asynchronous function for preparing it for destruction.
Reimplemented from coil::Task.
| virtual bool coil::Async_ref_t< Object, Func >::finished | ( | ) | [inline, virtual] |
Check on completion state.
Return a completion state.
Implements coil::Async.
| virtual void coil::Async_ref_t< Object, Func >::invoke | ( | ) | [inline, virtual] |
| virtual int coil::Async_ref_t< Object, Func >::svc | ( | void | ) | [inline, virtual] |
Thread execution function for asynchronous invoke.
Invoke the registered objects operation.
Reimplemented from coil::Task.
bool coil::Async_ref_t< Object, Func >::m_autodelete [private] |
bool coil::Async_ref_t< Object, Func >::m_finished [private] |
Func& coil::Async_ref_t< Object, Func >::m_func [private] |
Object* coil::Async_ref_t< Object, Func >::m_obj [private] |