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

One content renderer's registration, reduced to the part the dirty set depends on: which content kind it renders, and which timeline context its compile hook reads beyond that content. More...

#include <compile_context_registry.hpp>

Public Attributes

std::string content_type_name
timeline::CompileContextSubscriptions subscriptions
std::uint32_t schema_version = 0
ContentProgramOutputKind output_kind = ContentProgramOutputKind::Notes
std::size_t maximum_fragment_notes = 0
RegisteredRendererStatePolicy state_policy = RegisteredRendererStatePolicy::Reset
timeline::ProductionDeclaration production
std::shared_ptr< const void > compile_context
RegisteredContentCompileFn compile = nullptr
std::shared_ptr< const void > schema_registry_identity

Detailed Description

One content renderer's registration, reduced to the part the dirty set depends on: which content kind it renders, and which timeline context its compile hook reads beyond that content.

The content kind is named by the schema type of the RegisteredContent it compiles, because that is the identity the document itself carries. Built-in MIDI declares its Groove dependency directly in the playback index; media and empty content declare no context dependency.

Member Data Documentation

◆ compile

RegisteredContentCompileFn pulp::playback::ContentRendererRegistration::compile = nullptr

◆ compile_context

std::shared_ptr<const void> pulp::playback::ContentRendererRegistration::compile_context

◆ content_type_name

std::string pulp::playback::ContentRendererRegistration::content_type_name

◆ maximum_fragment_notes

std::size_t pulp::playback::ContentRendererRegistration::maximum_fragment_notes = 0

◆ output_kind

ContentProgramOutputKind pulp::playback::ContentRendererRegistration::output_kind = ContentProgramOutputKind::Notes

◆ production

timeline::ProductionDeclaration pulp::playback::ContentRendererRegistration::production

◆ schema_registry_identity

std::shared_ptr<const void> pulp::playback::ContentRendererRegistration::schema_registry_identity

◆ schema_version

std::uint32_t pulp::playback::ContentRendererRegistration::schema_version = 0

◆ state_policy

RegisteredRendererStatePolicy pulp::playback::ContentRendererRegistration::state_policy = RegisteredRendererStatePolicy::Reset

◆ subscriptions

timeline::CompileContextSubscriptions pulp::playback::ContentRendererRegistration::subscriptions

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