Public Member Functions | List of all members
coil::Async Class Referenceabstract

Async class. More...

#include <Async.h>

Inheritance diagram for coil::Async:
Inheritance graph
[legend]

Public Member Functions

 Async ()
 Constructor. More...
 
virtual bool finished ()=0
 Check on completion state. More...
 
virtual void invoke ()=0
 Asynchronous invocation. More...
 
virtual ~Async ()
 Destructor. More...
 
- Public Member Functions inherited from coil::Task
virtual void activate ()
 Create a thread. More...
 
virtual void activate ()
 Create a thread. More...
 
virtual int close (unsigned long flags=0)
 Task close. More...
 
virtual int close (unsigned long flags=0)
 Task close. More...
 
virtual void finalize ()
 Finalizing the task. More...
 
virtual void finalize ()
 Finalizing the task. More...
 
virtual int open (void *args=0)
 Task open. More...
 
virtual int open (void *args=0)
 Task open. More...
 
virtual void reset ()
 Reset of task count. More...
 
virtual void reset ()
 Reset of task count. More...
 
virtual int resume (void)
 Resuming the suspended task. More...
 
virtual int resume (void)
 Resuming the suspended task. More...
 
virtual int suspend (void)
 Suspending the task. More...
 
virtual int suspend (void)
 Suspending the task. More...
 
virtual int svc ()
 Execute thread. More...
 
virtual int svc ()
 Execute thread. More...
 
 Task ()
 Constructor. More...
 
 Task ()
 Constructor. More...
 
virtual int wait (void)
 Waiting for the thread terminate. More...
 
virtual int wait (void)
 Waiting for the thread terminate. More...
 
virtual ~Task ()
 Destructor. More...
 
virtual ~Task ()
 Destructor. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from coil::Task
static void * svc_run (void *args=0)
 Start thread Execution. More...
 
static unsigned int WINAPI svc_run (void *args=0)
 Start thread Execution. More...
 

Detailed Description

Async class.

Definition at line 41 of file Async.h.

Constructor & Destructor Documentation

◆ Async()

coil::Async::Async ( )
inline

Constructor.

Constructor

Definition at line 60 of file Async.h.

◆ ~Async()

virtual coil::Async::~Async ( )
inlinevirtual

Destructor.

Destructor

Definition at line 77 of file Async.h.

Member Function Documentation

◆ finished()

virtual bool coil::Async::finished ( )
pure virtual

Check on completion state.

Pure virtual function for check on completion state.

Returns
true: finished, false: unfinished

Implemented in coil::Async_ref_t< Object, Func >, and coil::Async_t< Object, Func >.

◆ invoke()

virtual void coil::Async::invoke ( )
pure virtual

Asynchronous invocation.

Pure virtual function for Asynchronous invocation.

Implemented in coil::Async_ref_t< Object, Func >, and coil::Async_t< Object, Func >.


The documentation for this class was generated from the following file:


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:46