ImagingTools Core SDK
CJobExecutionControllerComp.h
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ImtCore-Commercial
2#pragma once
3
4
5// Acula includes
6#include <imthype/CJobExecutionControllerCompBase.h>
7
8
9namespace imthype
10{
11
12
17{
18public:
20
21 I_BEGIN_COMPONENT(CJobExecutionControllerComp);
22 I_ASSIGN_MULTI_0(m_jobTasksCompPtr, "JobTasks", "List of processors for corresponding file types", true);
23 I_END_COMPONENT;
24
25protected:
26 // reimplemented (CJobExecutionControllerCompBase)
27 virtual const IJobProcessor* GetTaskProcessor(const QByteArray& workerTypeId) const override;
28
29private:
33 I_MULTIREF(IJobProcessor, m_jobTasksCompPtr);
34};
35
36
37} // namespace imthype
38
39