Simbody  3.5
SimTK::ParallelWorkQueue::Task Class Referenceabstract

Concrete subclasses of this abstract class represent tasks that can be executed by a ParallelWorkQueue. More...

Public Member Functions

virtual ~Task ()
 
virtual void execute ()=0
 This method defines the task to be performed. More...
 

Detailed Description

Concrete subclasses of this abstract class represent tasks that can be executed by a ParallelWorkQueue.

Constructor & Destructor Documentation

virtual SimTK::ParallelWorkQueue::Task::~Task ( )
inlinevirtual

Member Function Documentation

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.


The documentation for this class was generated from the following file: