Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::AsyncResult::AsyncTask Class Reference

#include <Delegates.h>

Inheritance diagram for VCF::AsyncResult::AsyncTask:

VCF::Runnable List of all members.

Public Member Functions

 AsyncTask (AsyncResult *res, AsyncReturns *returnObject, Runnable *internalRunnable)
virtual ~AsyncTask ()
virtual bool run ()
 Executes the runnable code.
virtual void stop ()
 stops the task from running.

Public Attributes

AsyncResultres_
AsyncReturnsreturnObject_
RunnableinternalRunnable_

Constructor & Destructor Documentation

VCF::AsyncResult::AsyncTask::AsyncTask AsyncResult res,
AsyncReturns returnObject,
Runnable internalRunnable
[inline]
 

virtual VCF::AsyncResult::AsyncTask::~AsyncTask  )  [inline, virtual]
 


Member Function Documentation

virtual bool VCF::AsyncResult::AsyncTask::run  )  [inline, virtual]
 

Executes the runnable code.

Returns:
returns true is the execution was suvvessful, or false if not.

Implements VCF::Runnable.

virtual void VCF::AsyncResult::AsyncTask::stop  )  [inline, virtual]
 

stops the task from running.

Should allow the implementer to gracefully finish whatever they were doing and exit the run() method as soon as possible.

Implements VCF::Runnable.


Member Data Documentation

Runnable* VCF::AsyncResult::AsyncTask::internalRunnable_
 

AsyncResult* VCF::AsyncResult::AsyncTask::res_
 

AsyncReturns* VCF::AsyncResult::AsyncTask::returnObject_
 


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information