Skip to main content

EditorLib::PendingOperation

EditorLib::PendingOperation

A pending request for data from one widget to another.

#include <OperationContext.hpp>

Public Functions

Name
OperationResult const * initialSeed() const
Get initial seed data, if provided by the requester.

Public Attributes

Name
OperationId id
Unique identifier for this operation.
EditorInstanceId requester
Who wants the result.
EditorTypeId producer_type
What type of widget produces it.
DataChannel channel
What kind of output expected.
bool close_on_selection_change
If true, operation closes when user selects data elsewhere.
bool close_after_delivery
If true, operation closes after first delivery.
bool keep_open_for_iteration
If true, keep the connection open after delivery for iterative refinement.
std::optional< OperationResult > seed
Optional initial state for the producer to load (e.g. existing pipeline JSON).

Public Functions Documentation

function initialSeed

inline OperationResult const * initialSeed() const

Get initial seed data, if provided by the requester.

Return: Pointer to the seed result, or nullptr if no seed was set

Public Attributes Documentation

variable id

OperationId id;

Unique identifier for this operation.

variable requester

EditorInstanceId requester;

Who wants the result.

variable producer_type

EditorTypeId producer_type;

What type of widget produces it.

variable channel

DataChannel channel;

What kind of output expected.

variable close_on_selection_change

bool close_on_selection_change = true;

If true, operation closes when user selects data elsewhere.

variable close_after_delivery

bool close_after_delivery = false;

If true, operation closes after first delivery.

variable keep_open_for_iteration

bool keep_open_for_iteration = false;

If true, keep the connection open after delivery for iterative refinement.

variable seed

std::optional< OperationResult > seed;

Optional initial state for the producer to load (e.g. existing pipeline JSON).


Updated on 2026-11-13 at 20:25:42 +0000