ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Attributes | List of all members
itk::MultiThreaderBase::WorkUnitInfo Struct Reference

#include <itkMultiThreaderBase.h>

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

Public Types

enum  {
  SUCCESS,
  ITK_EXCEPTION,
  ITK_PROCESS_ABORTED_EXCEPTION,
  STD_EXCEPTION,
  UNKNOWN
}
 

Public Attributes

ThreadIdType NumberOfWorkUnits
 
enum
itk::MultiThreaderBase::WorkUnitInfo:: { ... }  
ThreadExitCode
 
ThreadFunctionType ThreadFunction
 
void * UserData
 
ThreadIdType WorkUnitID
 

Member Enumeration Documentation

anonymous enum
Enumerator
SUCCESS 
ITK_EXCEPTION 
ITK_PROCESS_ABORTED_EXCEPTION 
STD_EXCEPTION 
UNKNOWN 

Definition at line 222 of file itkMultiThreaderBase.h.

Member Data Documentation

ThreadIdType itk::MultiThreaderBase::WorkUnitInfo::NumberOfWorkUnits

Definition at line 219 of file itkMultiThreaderBase.h.

enum { ... } itk::MultiThreaderBase::WorkUnitInfo::ThreadExitCode
ThreadFunctionType itk::MultiThreaderBase::WorkUnitInfo::ThreadFunction

Definition at line 221 of file itkMultiThreaderBase.h.

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

Definition at line 220 of file itkMultiThreaderBase.h.

ThreadIdType itk::MultiThreaderBase::WorkUnitInfo::WorkUnitID

Definition at line 218 of file itkMultiThreaderBase.h.


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