This is the documentation for Enlighten.

class Enlighten TaskProcessor

class Enlighten::TaskProcessor

TaskProcessor runs a loop for pulling tasks off the current queue until either the whole list is done, or an ILimiter tells it to stop.

Functions

Name Description
operator()()

Operator () overload.

SetData(MultithreadCpuWorkerCommon *, ILimiter *, Geo::s32)

A separate SetData function is required since MultithreadCpuWorker creates an array of TaskProcessors.


void Enlighten::TaskProcessor::operator()


public: void operator()()


Operator () overload.


void Enlighten::TaskProcessor::SetData


public: void SetData
(
    MultithreadCpuWorkerCommon * worker,
    ILimiter * limiter,
    Geo::s32 threadId
)


A separate SetData function is required since MultithreadCpuWorker creates an array of TaskProcessors.