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

One committed document delta lowered through the compile-context registry. More...

#include <program_compiler.hpp>

Public Member Functions

 CompileInvalidationInput (std::shared_ptr< const CompileContextRegistry > registry, const timeline::CommitResult &committed)
std::uint64_t captured_registry_revision () const noexcept
const void * captured_registry_generation () const noexcept
const CompileContextRegistry * registry_snapshot () const noexcept
const std::shared_ptr< const CompileContextRegistry > & registry_snapshot_owner () const noexcept
std::shared_ptr< const void > captured_registry_generation_owner () const noexcept

Static Public Member Functions

static CompileInvalidationInput baseline (std::shared_ptr< const CompileContextRegistry > registry, std::shared_ptr< const timeline::Project > snapshot, std::uint64_t document_revision)
 Pin registry state without claiming a document delta.

Friends

class PlaybackProgramCompiler
struct PlaybackProgramCompilerCore

Detailed Description

One committed document delta lowered through the compile-context registry.

This is the production path from sequence-owned context edits to exact track recompilation. Construction binds the dirty set to an exact snapshot pointer and document revision and copies an immutable registry generation. The compiler rejects a request whose project or revision does not match.

Constructor & Destructor Documentation

◆ CompileInvalidationInput()

pulp::playback::CompileInvalidationInput::CompileInvalidationInput ( std::shared_ptr< const CompileContextRegistry > registry,
const timeline::CommitResult & committed )

Member Function Documentation

◆ baseline()

CompileInvalidationInput pulp::playback::CompileInvalidationInput::baseline ( std::shared_ptr< const CompileContextRegistry > registry,
std::shared_ptr< const timeline::Project > snapshot,
std::uint64_t document_revision )
static

Pin registry state without claiming a document delta.

Use only with request.dirty.all for an initial full compile, a registry-only refresh, or full adoption of an already-live document revision.

◆ captured_registry_generation()

const void * pulp::playback::CompileInvalidationInput::captured_registry_generation ( ) const
inlinenoexcept

◆ captured_registry_generation_owner()

std::shared_ptr< const void > pulp::playback::CompileInvalidationInput::captured_registry_generation_owner ( ) const
inlinenoexcept

◆ captured_registry_revision()

std::uint64_t pulp::playback::CompileInvalidationInput::captured_registry_revision ( ) const
inlinenoexcept

◆ registry_snapshot()

const CompileContextRegistry * pulp::playback::CompileInvalidationInput::registry_snapshot ( ) const
inlinenoexcept

◆ registry_snapshot_owner()

const std::shared_ptr< const CompileContextRegistry > & pulp::playback::CompileInvalidationInput::registry_snapshot_owner ( ) const
inlinenoexcept

◆ PlaybackProgramCompiler

friend class PlaybackProgramCompiler
friend

◆ PlaybackProgramCompilerCore

friend struct PlaybackProgramCompilerCore
friend

The documentation for this struct was generated from the following file: