ImagingTools Core SDK
Protected Slots | Protected Member Functions | List of all members
imthype::CJobExecutionControllerCompBaseabstract

#include <CJobExecutionControllerCompBase.h>

Inheritance diagram for imthype::CJobExecutionControllerCompBase:
imthype::CJobExecutionControllerComp

Protected Slots

void OnJobPolling ()
 

Protected Member Functions

virtual const IJobProcessorGetTaskProcessor (const QByteArray &workerTypeId) const =0
 

Detailed Description

Base implementation of a controller for the job execution. This impementation works using polling of the underlaying job manager. If a job in the job queue becomes the status PS_WAITING_FOR_PROCESSING, the controller takes the job item and starts the job execution in a separate thread.

Definition at line 33 of file CJobExecutionControllerCompBase.h.

Member Function Documentation

◆ GetTaskProcessor()

virtual const IJobProcessor * imthype::CJobExecutionControllerCompBase::GetTaskProcessor ( const QByteArray &  workerTypeId) const
protectedpure virtual

Get job processor instance for a given worker type.

◆ OnJobPolling

void imthype::CJobExecutionControllerCompBase::OnJobPolling ( )
protectedslot

Transport the inserted job objects to the processing queue.