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 | ~Async_ref_t () | 
| Destructor.   | |
| virtual int | svc () | 
| Thread execution function for asynchronous invoke.   | |
| virtual void | invoke () | 
| Asynchronous function Activation.   | |
| virtual bool | finished () | 
| Check on completion state.   | |
| virtual void | finalize () | 
| Finalize the asynchronous function.   | |
Async_ref_t template class.
| coil::Async_ref_t< Object, Func >::Async_ref_t | ( | Object * | obj, | |
| Func & | func, | |||
| bool |  auto_delete = false | |||
| ) |  [inline] | 
        
Constructor.
Constructor
| obj | The target object for the asynchronous function. | |
| func | Asynchronous function. | |
| auto_delete | flag for automatic instance destruction. | 
| virtual coil::Async_ref_t< Object, Func >::~Async_ref_t | ( | ) |  [inline, virtual] | 
        
Destructor.
Destructor
| 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] | 
        
Asynchronous function Activation.
Activate of Asynchronous function.
Implements coil::Async.
References coil::Task::activate().
| 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.
 1.6.3