Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::timeline::Transaction Struct Reference

Atomically admitted ordered command batch. More...

#include <command.hpp>

Public Attributes

TransactionId id
DocumentRevision expected_revision
std::optional< UndoGroupId > undo_group
GesturePhase gesture_phase = GesturePhase::Single
std::vector< CommandEnvelope > commands

Detailed Description

Atomically admitted ordered command batch.

expected_revision provides optimistic concurrency. Gesture metadata affects undo grouping but not command execution order.

Member Data Documentation

◆ commands

std::vector<CommandEnvelope> pulp::timeline::Transaction::commands

◆ expected_revision

DocumentRevision pulp::timeline::Transaction::expected_revision

◆ gesture_phase

GesturePhase pulp::timeline::Transaction::gesture_phase = GesturePhase::Single

◆ id

TransactionId pulp::timeline::Transaction::id

◆ undo_group

std::optional<UndoGroupId> pulp::timeline::Transaction::undo_group

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/timeline/include/pulp/timeline/command.hpp