#include <itkMultiThreaderBase.h>
This is the structure that is passed to the thread that is created from the SingleMethodExecute. It is passed in as a void *, and it is up to the method to cast correctly and extract the information. The WorkUnitID is a number between 0 and NumberOfWorkUnits-1 that indicates the id of this work unit. The UserData is the (void *)arg passed into the SetSingleMethod.
Definition at line 287 of file itkMultiThreaderBase.h.
Inheritance diagram for itk::MultiThreaderBase::WorkUnitInfo:Public Types | |
| using | ThreadExitCodeEnum = MultiThreaderBaseEnums::ThreadExitCode |
Public Attributes | |
| ThreadIdType | NumberOfWorkUnits |
| ThreadExitCodeEnum | ThreadExitCode |
| ThreadFunctionType | ThreadFunction |
| void * | UserData |
| ThreadIdType | WorkUnitID |
| using itk::MultiThreaderBase::WorkUnitInfo::ThreadExitCodeEnum = MultiThreaderBaseEnums::ThreadExitCode |
Definition at line 293 of file itkMultiThreaderBase.h.
| ThreadIdType itk::MultiThreaderBase::WorkUnitInfo::NumberOfWorkUnits |
Definition at line 290 of file itkMultiThreaderBase.h.
| ThreadExitCodeEnum itk::MultiThreaderBase::WorkUnitInfo::ThreadExitCode |
Definition at line 294 of file itkMultiThreaderBase.h.
| ThreadFunctionType itk::MultiThreaderBase::WorkUnitInfo::ThreadFunction |
Definition at line 292 of file itkMultiThreaderBase.h.
| void* itk::MultiThreaderBase::WorkUnitInfo::UserData |
Definition at line 291 of file itkMultiThreaderBase.h.
| ThreadIdType itk::MultiThreaderBase::WorkUnitInfo::WorkUnitID |
Definition at line 289 of file itkMultiThreaderBase.h.