29 #include <boost/shared_ptr.hpp>
31 #include "../logging/Logger.h"
32 #include "../misc/langutils.h"
33 #include "rsc/rscexports.h"
61 virtual void cancel() = 0;
68 virtual bool isCancelRequested() = 0;
79 virtual void run() = 0;
88 virtual bool isDone() = 0;
99 virtual void waitDone() = 0;
A task is a self.contained piece of work that can be executed by another thread.
boost::shared_ptr< Task > TaskPtr