Simbody
Public Member Functions

SimTK::ParallelWorkQueue::Task Class Reference

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

#include <ParallelWorkQueue.h>

List of all members.

Public Member Functions

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

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 ( ) [inline, virtual]

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines