Simbody
|
Concrete subclasses of this abstract class represent tasks that can be executed by a ParallelWorkQueue. More...
#include <ParallelWorkQueue.h>
Public Member Functions | |
virtual | ~Task () |
virtual void | execute ()=0 |
This method defines the task to be performed. |
Concrete subclasses of this abstract class represent tasks that can be executed by a ParallelWorkQueue.
virtual SimTK::ParallelWorkQueue::Task::~Task | ( | ) | [inline, virtual] |
virtual void SimTK::ParallelWorkQueue::Task::execute | ( | ) | [pure virtual] |
This method defines the task to be performed.
At some point after the Task is added to a ParallelWorkQueue, this method will be called by one of the worker threads.