Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
control_standalone_host.hpp
Go to the documentation of this file.
1#pragma once
2
8
9#include <cstdint>
10#include <filesystem>
11#include <functional>
12#include <memory>
13#include <string_view>
14
15namespace pulp::host {
17}
18
19namespace pulp::inspect {
20
22enum class ControlTelemetrySensitivity : std::uint8_t;
23
24} // namespace pulp::inspect
25
26namespace pulp::view::motion {
28}
29
30namespace pulp::format {
31class ViewBridge;
32}
33
34namespace pulp::playback {
35class MasterTransport;
36}
37
38namespace pulp::inspect {
39
43std::unique_ptr<format::StandaloneControlHost> make_control_standalone_host();
44
45namespace detail {
46
48 std::function<ControlTelemetrySensitivity(std::string_view)> telemetry_classifier;
50 std::filesystem::path motion_fixture_path;
51 std::function<std::vector<ControlDiagnosticItem>()> diagnostics;
58};
59
61
67
69 std::shared_ptr<RuntimeEvaluator> (*)(format::Processor&, format::ViewBridge&);
70
72 std::shared_ptr<state::SequencerStateChannel> (*)(format::Processor&);
73
84std::shared_ptr<state::SequencerStateChannel>
86
90 StandaloneRuntimeEvaluatorFactory factory) noexcept;
91std::shared_ptr<RuntimeEvaluator> create_standalone_runtime_evaluator(format::Processor& processor,
92 format::ViewBridge& bridge);
93
95 std::optional<ControlTimelineDocumentSessionSource> (*)(const ControlAdmissionPlan&);
96
105std::optional<ControlTimelineDocumentSessionSource>
107
117
121using StandaloneSampleRegionTargetFactory = std::shared_ptr<ControlSampleRegionTarget> (*)(
124 StandaloneSampleRegionTargetFactory factory) noexcept;
125std::shared_ptr<ControlSampleRegionTarget>
128
129} // namespace detail
130
131} // namespace pulp::inspect
Definition processor.hpp:174
Definition view_bridge.hpp:76
The sole host-side authority for live graph modulation-route lifecycle.
Definition signal_graph_control.hpp:56
Host-injected arbitrary-execution boundary.
Definition runtime_evaluator.hpp:41
Master musical transport with one control-thread writer and one audio-thread consumer.
Definition transport.hpp:197
Centralized parameter storage with lock-free value access.
Definition store.hpp:164
Definition resource_counters.hpp:35
What the product grants a device: the quota table indexed by capability tier and live thermal state.
Definition aax_editor.hpp:31
Bounded event contracts shared by host ingress and graph-authored nodes.
Definition anticipation_eligibility.hpp:9
std::shared_ptr< ControlSampleRegionTarget > create_standalone_sample_region_target(format::Processor &processor, state::StateStore &store, ControlSampleRegionGeneration &generation)
bool install_standalone_signal_graph_authority_factory(StandaloneSignalGraphAuthorityFactory factory) noexcept
std::optional< ControlTimelineDocumentSessionSource >(*)(const ControlAdmissionPlan &) StandaloneTimelineDocumentSessionFactory
Definition control_standalone_host.hpp:94
bool install_standalone_sample_region_target_factory(StandaloneSampleRegionTargetFactory factory) noexcept
std::shared_ptr< RuntimeEvaluator > create_standalone_runtime_evaluator(format::Processor &processor, format::ViewBridge &bridge)
pulp::host::SignalGraphControlAuthority * create_standalone_signal_graph_authority(format::Processor &processor)
StandaloneControlAuthorHooks(*)(format::Processor &) StandaloneControlAuthorHooksFactory
Definition control_standalone_host.hpp:60
std::optional< ControlTimelineDocumentSessionSource > create_standalone_timeline_document_session_source(const ControlAdmissionPlan &plan)
std::shared_ptr< state::SequencerStateChannel >(*)(format::Processor &) StandaloneSequencerStateChannelFactory
Definition control_standalone_host.hpp:71
bool install_standalone_timeline_document_session_factory(StandaloneTimelineDocumentSessionFactory factory) noexcept
Installs the host-owned binding between the broker's admitted plan and a live timeline::DocumentSessi...
std::shared_ptr< state::SequencerStateChannel > create_standalone_sequencer_state_channel(format::Processor &processor)
bool install_standalone_runtime_evaluator_factory(StandaloneRuntimeEvaluatorFactory factory) noexcept
Installed only by a research-unsafe author target that also links the separately shipped high-risk ev...
std::shared_ptr< ControlSampleRegionTarget >(*)( format::Processor &, state::StateStore &, ControlSampleRegionGeneration &) StandaloneSampleRegionTargetFactory
Installs the product-owned binding between a live Processor graph and the unified sample-region execu...
Definition control_standalone_host.hpp:121
StandaloneControlAuthorHooks create_standalone_control_author_hooks(format::Processor &processor)
bool install_standalone_sequencer_state_channel_factory(StandaloneSequencerStateChannelFactory factory) noexcept
Installs the author-owned sequencer state channel the control operations dev.pulp....
pulp::host::SignalGraphControlAuthority *(*)(format::Processor &) StandaloneSignalGraphAuthorityFactory
Installs the product-owned binding for live SignalGraph modulation-route control.
Definition control_standalone_host.hpp:111
std::shared_ptr< RuntimeEvaluator >(*)(format::Processor &, format::ViewBridge &) StandaloneRuntimeEvaluatorFactory
Definition control_standalone_host.hpp:68
bool install_standalone_control_author_hooks_factory(StandaloneControlAuthorHooksFactory factory) noexcept
Installs optional author-owned observability inputs.
Definition agent_context.hpp:7
std::unique_ptr< format::StandaloneControlHost > make_control_standalone_host()
Creates the canonical broker-enrolled host bridge for an explicitly control-enabled Standalone execut...
ControlTelemetrySensitivity
Definition control_telemetry_tap.hpp:16
Definition audio_renderer.hpp:20
Definition motion.hpp:26
Immutable authority snapshot minted by ControlBroker after all seven permission terms pass.
Definition control_admission.hpp:58
Definition control_host_development_executor.hpp:75
Definition control_host_development_executor.hpp:66
The host shares this authority with every topology publication for one graph.
Definition control_sample_region_target.hpp:21
Definition control_standalone_host.hpp:47
std::function< view::motion::RenderCostSnapshot()> motion_cost_probe
Definition control_standalone_host.hpp:49
std::function< ControlTelemetrySensitivity(std::string_view)> telemetry_classifier
Definition control_standalone_host.hpp:48
std::filesystem::path motion_fixture_path
Definition control_standalone_host.hpp:50
std::function< std::vector< ControlDiagnosticItem >()> diagnostics
Definition control_standalone_host.hpp:51
std::function< ControlAuthoringApplyResult(const ControlAuthoringChanges &)> apply_authoring
Definition control_standalone_host.hpp:52
std::function< playback::MasterTransport *()> sequencer_transport
The live master transport the sequencer loop capabilities observe and edit.
Definition control_standalone_host.hpp:57
Snapshot of render-layer cost for the current frame.
Definition motion_cost.hpp:72