33 canceled(false), done(false) {
40 boost::recursive_mutex::scoped_lock lock(
mutex);
45 boost::recursive_mutex::scoped_lock lock(
mutex);
50 boost::recursive_mutex::scoped_lock lock(
mutex);
58 boost::recursive_mutex::scoped_lock lock(
mutex);
65 boost::recursive_mutex::scoped_lock lock(
mutex);
virtual void waitDone()
Waits for the execution of this task to finish.
virtual void cancel()
Interrupts the task as soon as possible.
boost::condition condition
boost::recursive_mutex mutex
virtual bool isCancelRequested()
Tells whether the task was interrupted by a call to cancel.
virtual bool isDone()
Indicates whether the task finished execution, either through being canceled or through successfully ...