- class ikomia.dataprocess.pydataprocess.CWidgetFactory#
Abstract class defining the core structure of the widget factory. The system extensibility for the task library is based on the factory design pattern. Each task must implement a widget factory class derived from this class. Then the system is able to instantiate dynamically a task widget object (even user-defined).
from ikomia.dataprocess import CWidgetFactory
Pure virtual method to create new task widget instance with the given task parameters.
Name of the associated task.
- __init__((object)arg1) None #
- create((CWidgetFactory)self, (CWorkflowTaskParam)param) CWorkflowTaskWidget : #
Pure virtual method to create new task widget instance with the given task parameters. Must be implemented.
create( (CWidgetFactory)arg1, (CWorkflowTaskParam)arg2) -> None
Name of the associated task. This name must be the same of the one set in the task class.