mafw.steering_gui.models.pipeline

UI-only pipeline structures used to render editable processor hierarchies.

Author:

Bulgheroni Antonio

Description:

Lightweight in-memory objects that mirror the processor/group layout for the GUI.

Classes

PipelineItem(config, parent, children)

UI wrapper around a processor or group configuration.

ProcessorPipeline(items)

Container for the current processor pipeline tree.

class mafw.steering_gui.models.pipeline.PipelineItem(config: ~mafw.steering.models.ProcessorConfig | ~mafw.steering.models.GroupConfig, parent: ~mafw.steering_gui.models.pipeline.PipelineItem | None = None, children: list[~mafw.steering_gui.models.pipeline.PipelineItem] = <factory>)[source]

Bases: object

UI wrapper around a processor or group configuration.

Parameters:
  • config – Domain configuration backing the item.

  • parent – Parent pipeline item (None when top-level).

  • children – Ordered list of child items.

is_group() bool[source]

Return True if this item wraps a group configuration.

name() str[source]

Return the replica-aware processor name or group name.

class mafw.steering_gui.models.pipeline.ProcessorPipeline(items: list[~mafw.steering_gui.models.pipeline.PipelineItem] = <factory>)[source]

Bases: object

Container for the current processor pipeline tree.

Parameters:

items – Top-level pipeline items in execution order.