amino::FutureTask Class Reference

#include <ftask.h>

Inheritance diagram for amino::FutureTask:

amino::AbstractFuture amino::Runnable amino::Future

List of all members.

Public Member Functions

 FutureTask (Runnable *task)
 construct a runnable future which will notifier its listener when task is finished.
virtual ~FutureTask ()
virtual void * run ()
 Execute the task and notify listener of this future object.


Constructor & Destructor Documentation

amino::FutureTask::FutureTask ( Runnable task  )  [inline]

construct a runnable future which will notifier its listener when task is finished.

Parameters:
task actual task which should be executed to generate result

virtual amino::FutureTask::~FutureTask (  )  [inline, virtual]


Member Function Documentation

virtual void* amino::FutureTask::run (  )  [inline, virtual]

Execute the task and notify listener of this future object.

Implements amino::Runnable.


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

Generated on Tue Dec 9 13:39:39 2008 for Amino by  doxygen 1.5.6