Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkThreadWorkerCreator Class Reference

#include <mitkThreadMasterWorker.h>

Inherits mitkObject.

Inheritance diagram for mitkThreadWorkerCreator:

Inheritance graph
[legend]
Collaboration diagram for mitkThreadWorkerCreator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual int GetWorkerNum ()
virtual mitkThreadWorkerCreateThreadWorker (int WorkerID)=0

Detailed Description

mitkThreadWorkerCreator - An abstract class whose descendant can be used by master to create workers. Subclass it when different kind of workers should be used is calculation.

mitkThreadWorkerCreator is an abstract class whose descendant can be used by master to create workers. Subclass it when different kind of workers should be used is calculation.


Member Function Documentation

virtual mitkThreadWorker* mitkThreadWorkerCreator::CreateThreadWorker int  WorkerID  )  [pure virtual]
 

Called by master to create workers.

Parameters:
WorkerID id of the worker currently being created
Returns:
Return a pointer to the created worker

virtual int mitkThreadWorkerCreator::GetWorkerNum  )  [virtual]
 

Called by master to decided how many workers(threads) should be created

Returns:
Return the desired number of workers


The documentation for this class was generated from the following file:
Generated on Tue Feb 25 15:06:40 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3