18 #ifndef itkDomainThreader_h
19 #define itkDomainThreader_h
65 template<
typename TDomainPartitioner,
typename TAssociate >
76 typedef typename DomainPartitionerType::DomainType
DomainType;
100 MultiThreader * GetMultiThreader()
const;
107 void SetMaximumNumberOfThreads(
const ThreadIdType threads );
116 virtual
void DetermineNumberOfThreadsUsed();
121 virtual
void BeforeThreadedExecution(){}
131 virtual void ThreadedExecution(
const DomainType& subdomain,
139 itkSetObjectMacro( MultiThreader, MultiThreader );
151 void StartThreadingSequence();
171 #ifndef ITK_MANUAL_INSTANTIATION
172 #include "itkDomainThreader.hxx"
DomainThreader * domainThreader
DomainType m_CompleteDomain
Multi-threaded processing on a domain by processing sub-domains per thread.
virtual void AfterThreadedExecution()
AssociateType * m_Associate
#define ITK_THREAD_RETURN_TYPE
DomainPartitionerType::DomainType DomainType
TDomainPartitioner DomainPartitionerType
SmartPointer< Self > Pointer
DomainPartitionerType::Pointer m_DomainPartitioner
int Execute(int argc, char *argv[])
Partitions an indexed container.
SmartPointer< const Self > ConstPointer
unsigned int ThreadIdType
ThreadIdType m_NumberOfThreadsUsed
MultiThreader::Pointer m_MultiThreader
Base class for most ITK classes.