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

Immutable state published by a successful session commit. More...

#include <transaction.hpp>

Public Attributes

std::shared_ptr< const Project > snapshot
DocumentRevision revision
DirtySet dirty
std::vector< CommandId > applied_commands
std::shared_ptr< const Project > predecessor_snapshot

Detailed Description

Immutable state published by a successful session commit.

snapshot and revision are an atomic pair and remain valid independently of later commits. predecessor_snapshot is the exact immutable snapshot reduced by this commit, allowing downstream incremental consumers to prove lineage. applied_commands lists IDs in transaction order.

Member Data Documentation

◆ applied_commands

std::vector<CommandId> pulp::timeline::CommitResult::applied_commands

◆ dirty

DirtySet pulp::timeline::CommitResult::dirty

◆ predecessor_snapshot

std::shared_ptr<const Project> pulp::timeline::CommitResult::predecessor_snapshot

◆ revision

DocumentRevision pulp::timeline::CommitResult::revision

◆ snapshot

std::shared_ptr<const Project> pulp::timeline::CommitResult::snapshot

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