ITK  5.2.0
Insight Toolkit
Public Types | Public Attributes | List of all members
itk::MultiThreaderBase::WorkUnitInfo Struct Reference

#include <itkMultiThreaderBase.h>

Public Types

using ThreadExitCodeEnum = MultiThreaderBaseEnums::ThreadExitCode
 

Public Attributes

ThreadIdType NumberOfWorkUnits
 
ThreadExitCodeEnum ThreadExitCode
 
ThreadFunctionType ThreadFunction
 
void * UserData
 
ThreadIdType WorkUnitID
 

Detailed Description

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 290 of file itkMultiThreaderBase.h.

Member Typedef Documentation

◆ ThreadExitCodeEnum

Definition at line 296 of file itkMultiThreaderBase.h.

Member Data Documentation

◆ NumberOfWorkUnits

ThreadIdType itk::MultiThreaderBase::WorkUnitInfo::NumberOfWorkUnits

Definition at line 293 of file itkMultiThreaderBase.h.

◆ ThreadExitCode

ThreadExitCodeEnum itk::MultiThreaderBase::WorkUnitInfo::ThreadExitCode

Definition at line 297 of file itkMultiThreaderBase.h.

◆ ThreadFunction

ThreadFunctionType itk::MultiThreaderBase::WorkUnitInfo::ThreadFunction

Definition at line 295 of file itkMultiThreaderBase.h.

◆ UserData

void* itk::MultiThreaderBase::WorkUnitInfo::UserData

Definition at line 294 of file itkMultiThreaderBase.h.

◆ WorkUnitID

ThreadIdType itk::MultiThreaderBase::WorkUnitInfo::WorkUnitID

Definition at line 292 of file itkMultiThreaderBase.h.


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