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

VCF::AsyncResult::Task Class Reference

#include <Delegates.h>

Inheritance diagram for VCF::AsyncResult::Task:

VCF::Runnable List of all members.

Public Member Functions

 Task (AsyncResult *res)
virtual ~Task ()
virtual bool run ()
 Executes the runnable code.
virtual void stop ()
 stops the task from running.

Public Attributes

AsyncResultres_

Constructor & Destructor Documentation

VCF::AsyncResult::Task::Task AsyncResult res  )  [inline]
 

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


Member Function Documentation

virtual bool VCF::AsyncResult::Task::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::Task::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

AsyncResult* VCF::AsyncResult::Task::res_
 


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