ParadisHealJob< kth_byte, T, GETINT > Class Template Reference

#include <sort_paradis.h>

Inheritance diagram for ParadisHealJob< kth_byte, T, GETINT >:

Public Member Functions

 ParadisHealJob (BaseArray< Int32 > &pfp, BaseArray< PerThreadData > &perThreadData, Int32(&globalHead)[BYTEMAX], Int32(&globalTail)[BYTEMAX], Block< T > data, Int32 processID, Int32 processes, GETINT &&getInt)
 
Result< void > operator() ()
 
- Public Member Functions inherited from JobInterface
JOBOPTIONFLAGS GetJobOptions () const
 
const CharGetName () const
 
 JobInterface (const JobInterfaceJumpTablePOD &jmpTable)
 
 ~JobInterface ()
 
 JobInterface (JobInterface &&src)
 
JobInterfaceoperator= (JobInterface &&src)
 
Bool Wait (TimeValue timeout=TIMEVALUE_INFINITE, WAITMODE mode=WAITMODE::DEFAULT) const
 
Result< void > GetResult (TimeValue timeout=TIMEVALUE_INFINITE, WAITMODE mode=WAITMODE::DEFAULT) const
 
Result< void > MoveResult (TimeValue timeout=TIMEVALUE_INFINITE, WAITMODE mode=WAITMODE::DEFAULT)
 
void Cancel ()
 
Bool IsCancelled () const
 
void CancelAndWait (WAITMODE mode=WAITMODE::DEFAULT)
 
JobInterfaceEnqueue (JobQueueInterface *queue=JOBQUEUE_CURRENT)
 
Result< void > AddSubJob (JobInterface *subJob)
 
template<typename JOB >
Result< void > AddSubJob (ResultMemT< JOB * > subJob)
 
template<typename JOBREF >
Result< void > AddSubJob (ResultMemT< JOBREF > &&subJob)
 
template<typename GROUP >
Result< void > AddSubGroup (GROUP *subGroup)
 
template<typename GROUP >
Result< void > AddSubGroup (ResultMemT< GROUP * > subGroup)
 
template<typename GROUP >
Result< void > AddSubGroup (ResultMemT< GROUP > subGroup)
 
JobGroupInterfaceGetJobGroup () const
 
ObservableFinishedBase< JobInterfaceObservableFinished ()
 
ObservableCancelledBase< JobInterfaceObservableCancelled ()
 
Result< void > Then (JobInterface *next, JobQueueInterface *queue=JOBQUEUE_CURRENT)
 
String ToString (const FormatStatement *formatStatement=nullptr) const
 

Private Attributes

BaseArray< Int32 > & _pfp
 
BaseArray< PerThreadData > & _perThreadData
 
Int32(& _globalHead )[BYTEMAX]
 
Int32(& _globalTail )[BYTEMAX]
 
Block< T > _data
 
Int32 _pID
 
Int32 _processes
 
GETINT && _getInt
 

Additional Inherited Members

- Static Public Member Functions inherited from JobInterfaceTemplate< ParadisHealJob< kth_byte, T, GETINT > >
static ResultMemT< JobResultRef< void > > Create (ARGS &&... args)
 
- Static Public Member Functions inherited from JobInterface
static Int GetCurrentWorkerThreadIndex ()
 
static Int GetCurrentThreadCount ()
 
static Bool IsCurrentJobCancelled (const JobInterface *optionalJob=nullptr)
 
static JobStatusInterfaceGetCurrentJob ()
 
- Protected Types inherited from JobResultInterface< void >
using ValueType = void
 
- Protected Member Functions inherited from JobResultInterface< void >
ResultOk< void > SetResult ()
 
void GetResultValue ()
 
template<typename FN , typename... ARGS>
Result< void > Invoke (FN &&obj, ARGS &&... args)
 

Constructor & Destructor Documentation

◆ ParadisHealJob()

ParadisHealJob ( BaseArray< Int32 > &  pfp,
BaseArray< PerThreadData > &  perThreadData,
Int32(&)  globalHead[BYTEMAX],
Int32(&)  globalTail[BYTEMAX],
Block< T >  data,
Int32  processID,
Int32  processes,
GETINT &&  getInt 
)
explicit

Member Function Documentation

◆ operator()()

Result<void> operator() ( )

Member Data Documentation

◆ _pfp

BaseArray<Int32>& _pfp
private

◆ _perThreadData

BaseArray<PerThreadData>& _perThreadData
private

◆ _globalHead

Int32(& _globalHead)[BYTEMAX]
private

◆ _globalTail

Int32(& _globalTail)[BYTEMAX]
private

◆ _data

Block<T> _data
private

◆ _pID

Int32 _pID
private

◆ _processes

Int32 _processes
private

◆ _getInt

GETINT&& _getInt
private