Simbody  3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SimTK::ParallelWorkQueue::Task Class Referenceabstract

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. 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: