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

One sequence-owned context kind a transaction changed. More...

#include <transaction.hpp>

Public Member Functions

constexpr auto operator<=> (const DirtyContext &) const =default

Public Attributes

ItemId owner_sequence
CompileContextKind kind = CompileContextKind::ChordScale

Detailed Description

One sequence-owned context kind a transaction changed.

Context is dirtied by kind rather than by item because its readers are not its children: the edit is to a sequence lane, while the items that must recompile are clips on tracks that declared they read that kind. Naming the kind is what lets the compiler resolve exactly those readers instead of widening to the whole sequence.

Member Function Documentation

◆ operator<=>()

auto pulp::timeline::DirtyContext::operator<=> ( const DirtyContext & ) const
constexprdefault

Member Data Documentation

◆ kind

CompileContextKind pulp::timeline::DirtyContext::kind = CompileContextKind::ChordScale

◆ owner_sequence

ItemId pulp::timeline::DirtyContext::owner_sequence

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