OpenRTM-aist
1.2.1
|
Async_ref_t template class. More...
#include <Async.h>
Public Member Functions | |
Async_ref_t (Object *obj, Func &func, bool auto_delete=false) | |
Constructor. More... | |
virtual | ~Async_ref_t () |
Destructor. More... | |
virtual int | svc () |
Thread execution function for asynchronous invoke. More... | |
virtual void | invoke () |
Asynchronous function Activation. More... | |
virtual bool | finished () |
Check on completion state. More... | |
virtual void | finalize () |
Finalize the asynchronous function. More... | |
Public Member Functions inherited from coil::Async | |
Async () | |
Constructor. More... | |
virtual | ~Async () |
Destructor. More... | |
Public Member Functions inherited from coil::Task | |
Task () | |
Constructor. More... | |
virtual | ~Task () |
Destructor. More... | |
virtual int | open (void *args=0) |
Task open. More... | |
virtual int | close (unsigned long flags=0) |
Task close. More... | |
virtual void | activate () |
Create a thread. More... | |
virtual int | wait (void) |
Waiting for the thread terminate. More... | |
virtual int | suspend (void) |
Suspending the task. More... | |
virtual int | resume (void) |
Resuming the suspended task. More... | |
virtual void | reset () |
Reset of task count. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from coil::Task | |
static void * | svc_run (void *args=0) |
Start thread Execution. More... | |
Async_ref_t template class.
|
inline |
Constructor.
Constructor
obj | The target object for the asynchronous function. |
func | Asynchronous function. |
auto_delete | flag for automatic instance destruction. |
|
inlinevirtual |
Destructor.
Destructor
|
inlinevirtual |
Finalize the asynchronous function.
Finalize the asynchronous function for preparing it for destruction.
Reimplemented from coil::Task.
References coil::Task::finalize().
|
inlinevirtual |
Check on completion state.
Return a completion state.
Implements coil::Async.
|
inlinevirtual |
Asynchronous function Activation.
Activate of Asynchronous function.
Implements coil::Async.
References coil::Task::activate().
|
inlinevirtual |
Thread execution function for asynchronous invoke.
Invoke the registered objects operation.
Reimplemented from coil::Task.