Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ParallelTask Class Referenceabstract

A base class for parallel task classes which are defined by a set of macros. More...

#include <quickmp.h>

Public Member Functions

virtual ~ParallelTask ()
 
virtual void run (int firstIndex, int lastIndex, const unsigned int threadIndex, int indexIncrement)=0
 The function which is executed by each thread with different indices. More...
 

Detailed Description

A base class for parallel task classes which are defined by a set of macros.

Constructor & Destructor Documentation

virtual ~ParallelTask ( )
inlinevirtual

Member Function Documentation

virtual void run ( int  firstIndex,
int  lastIndex,
const unsigned int  threadIndex,
int  indexIncrement 
)
pure virtual

The function which is executed by each thread with different indices.

The last index is included.


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