ParallelImage::PixelJob< WORKER > Class Template Reference
Inheritance diagram for ParallelImage::PixelJob< WORKER >:

Public Member Functions

 PixelJob (Int x, Int y, const ImageData< WORKER > &data)
 
 PixelJob (PixelJob &&src)
 
 MAXON_OPERATOR_MOVE_ASSIGNMENT (PixelJob)
 
Result< void > operator() ()
 
const CharGetName () const
 
- 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 ()
 
String ToString (const FormatStatement *formatStatement=nullptr) const
 

Private Attributes

const ImageData< WORKER > & _data
 
const Int _x
 
const Int _y
 

Additional Inherited Members

- Static Public Member Functions inherited from JobInterfaceTemplate< PixelJob< WORKER > >
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 Member Functions inherited from JobResultInterface< void >
ResultOk< void > SetResult ()
 
template<typename FN , typename... ARGS>
Result< void > Invoke (FN &&obj, ARGS &&... args)
 

Constructor & Destructor Documentation

◆ PixelJob() [1/2]

PixelJob ( Int  x,
Int  y,
const ImageData< WORKER > &  data 
)

◆ PixelJob() [2/2]

PixelJob ( PixelJob< WORKER > &&  src)

move constructor

Member Function Documentation

◆ MAXON_OPERATOR_MOVE_ASSIGNMENT()

MAXON_OPERATOR_MOVE_ASSIGNMENT ( PixelJob< WORKER >  )

move assignment operator

◆ operator()()

Result<void> operator() ( )

◆ GetName()

const Char* GetName ( ) const

Member Data Documentation

◆ _data

const ImageData<WORKER>& _data
private

◆ _x

const Int _x
private

◆ _y

const Int _y
private