OpenRTM-aist  1.2.1
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]
Collaboration diagram for coil::Async:
Collaboration graph
[legend]

Public Member Functions

 Async ()
 Constructor. More...
 
virtual ~Async ()
 Destructor. More...
 
virtual void invoke ()=0
 Asynchronous invocation. More...
 
virtual bool finished ()=0
 Check on completion state. 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 int svc ()
 Execute thread. 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...
 
virtual void finalize ()
 Finalizing the task. More...
 

Additional Inherited Members

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

Detailed Description

Async class.

Constructor & Destructor Documentation

coil::Async::Async ( )
inline

Constructor.

Constructor

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

Destructor.

Destructor

References finished(), and invoke().

Member Function Documentation

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 >.

Referenced by ~Async().

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 >.

Referenced by ~Async().


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