#include <signal_graph_prepared_topology_edit.hpp>
Public Member Functions | |
| ~PreparedTopologyEdit () | |
| PreparedTopologyEdit (const PreparedTopologyEdit &)=delete | |
| PreparedTopologyEdit & | operator= (const PreparedTopologyEdit &)=delete |
| bool | register_custom_node_type (CustomNodeType type) |
| bool | register_custom_node_type (CustomNodeType type, SampleKernelDescriptor sample_kernel) |
| bool | unregister_custom_node_type (std::string_view type_id, int version) |
| std::size_t | prune_unused_custom_node_types () |
| std::size_t | custom_node_type_count () const |
| NodeId | add_input_node (int channels, const std::string &name="Input") |
| SpectralResult< SpectralAnalysisPorts > | add_spectral_analysis (SpectralIdentity identity, const std::string &name) |
| SpectralResult< SpectralStagePorts > | add_spectral_stage (SpectralIdentity identity, QualifiedSpectralStage stage, const std::string &name) |
| SpectralResult< SpectralSynthesisPorts > | add_spectral_synthesis (SpectralIdentity identity, const std::string &name) |
| GraphResult | connect (SpectralOutputPort source, SpectralInputPort destination) |
| GraphResult | connect (const PortHandle &source, const PortHandle &destination) |
| NodeId | add_output_node (int channels, const std::string &name="Output") |
| NodeId | add_gain_node (const std::string &name="Gain") |
| NodeId | add_midi_input_node (const std::string &name="MIDI In") |
| NodeId | add_midi_output_node (const std::string &name="MIDI Out") |
| NodeId | add_owned_builtin_plugin_node (std::unique_ptr< PluginSlot > slot, int num_inputs, int num_outputs, const std::string &name) |
| Transfers a pathless Pulp-owned slot into this disposable candidate. | |
| NodeId | add_processor_node (std::shared_ptr< format::ProcessorNodeInstance > processor, const std::string &name={}) |
| NodeId | add_processor_node (std::unique_ptr< format::Processor > processor, const std::string &name={}) |
| NodeId | add_custom_node (std::string_view type_id, const std::string &name={}) |
| NodeId | add_custom_node (std::string_view type_id, int version, const std::string &name={}) |
| NodeId | add_unresolved_custom_node (std::string_view type_id, int version, int num_inputs, int num_outputs, const std::string &name) |
| bool | remove_node (NodeId id) |
| bool | connect (NodeId source, PortIndex source_port, NodeId dest, PortIndex dest_port) |
| bool | connect_automation (NodeId source, PortIndex source_port, NodeId dest, uint32_t dest_param_id, float range_lo, float range_hi, float smoothing_ms=0.0f, AutomationMix mix=AutomationMix::Replace) |
| bool | connect_audio_rate_modulation (NodeId source, PortIndex source_port, NodeId dest, uint32_t dest_param_id, float range_lo, float range_hi, float smoothing_ms=0.0f, AutomationMix mix=AutomationMix::Replace) |
| bool | connect_feedback (NodeId source, PortIndex source_port, NodeId dest, PortIndex dest_port) |
| bool | connect_midi (NodeId source, NodeId dest) |
| bool | disconnect (NodeId source, PortIndex source_port, NodeId dest, PortIndex dest_port) |
| bool | disconnect_modulation (NodeId source, PortIndex source_port, NodeId dest, uint32_t dest_param_id, bool audio_rate) |
| bool | set_node_gain (NodeId id, float linear_gain) |
| SampleRegionResult | declare_sample_region (SampleRegionDefinition definition) |
| SampleRegionResult | remove_sample_region (SampleRegionId id) |
| SampleRegionResult | add_sample_region_member (SampleRegionId id, NodeId member, SampleKernelConfig config) |
| SampleRegionResult | remove_sample_region_member (SampleRegionId id, NodeId member) |
| SampleRegionResult | set_sample_kernel_config (SampleRegionId id, NodeId member, SampleKernelConfig config) |
| SampleRegionResult | connect_in_sample_region (SampleRegionId id, NodeId source, PortIndex source_port, NodeId destination, PortIndex destination_port) |
| SampleRegionProof | prove_sample_region (SampleRegionId id) const |
| std::optional< SampleRegionDescriptor > | sample_region (SampleRegionId id) const |
| std::vector< SampleRegionDescriptor > | sample_regions () const |
| SampleRegionParameterContract | sample_region_parameter_contract () const |
| SampleRegionResult | bind_sample_region_parameters (const SampleRegionParameterBinding &binding) |
| const SampleRegionParameterBinding * | sample_region_parameter_binding () const noexcept |
| void | set_canonical_executor_routing_enabled (bool enabled) noexcept |
| void | set_parallel_routing_enabled (bool enabled) noexcept |
| void | set_anticipation_enabled (bool enabled) noexcept |
| const GraphNode * | node (NodeId id) const |
| const std::vector< GraphNode > & | nodes () const |
| const std::vector< Connection > & | connections () const |
| bool | routed_execution_ready (int block_size) const noexcept |
| Result | prepare (double sample_rate, int max_block_size) |
| Result | prepare_quiesced (double sample_rate, int max_block_size) |
| Requires process, MIDI injection, and anticipation to be stopped. | |
| Result | commit () |
| ExecutionSnapshot | committed_execution_snapshot () const noexcept |
| Result | last_result () const noexcept |
| bool | set_exact_parameter_event_nodes (const std::shared_ptr< detail::ExactParameterIngressOwner > &owner, std::span< const NodeId > nodes, ExactParameterNodeClaimPasskey) |
Friends | |
| class | SignalGraph |
| bool | register_builtin_sample_region_types (SignalGraph::PreparedTopologyEdit &edit) |
|
strong |
| pulp::host::SignalGraph::PreparedTopologyEdit::~PreparedTopologyEdit | ( | ) |
|
delete |
| NodeId pulp::host::SignalGraph::PreparedTopologyEdit::add_custom_node | ( | std::string_view | type_id, |
| const std::string & | name = {} ) |
| NodeId pulp::host::SignalGraph::PreparedTopologyEdit::add_custom_node | ( | std::string_view | type_id, |
| int | version, | ||
| const std::string & | name = {} ) |
| NodeId pulp::host::SignalGraph::PreparedTopologyEdit::add_gain_node | ( | const std::string & | name = "Gain" | ) |
| NodeId pulp::host::SignalGraph::PreparedTopologyEdit::add_input_node | ( | int | channels, |
| const std::string & | name = "Input" ) |
| NodeId pulp::host::SignalGraph::PreparedTopologyEdit::add_midi_input_node | ( | const std::string & | name = "MIDI In" | ) |
| NodeId pulp::host::SignalGraph::PreparedTopologyEdit::add_midi_output_node | ( | const std::string & | name = "MIDI Out" | ) |
| NodeId pulp::host::SignalGraph::PreparedTopologyEdit::add_output_node | ( | int | channels, |
| const std::string & | name = "Output" ) |
| NodeId pulp::host::SignalGraph::PreparedTopologyEdit::add_owned_builtin_plugin_node | ( | std::unique_ptr< PluginSlot > | slot, |
| int | num_inputs, | ||
| int | num_outputs, | ||
| const std::string & | name ) |
Transfers a pathless Pulp-owned slot into this disposable candidate.
| NodeId pulp::host::SignalGraph::PreparedTopologyEdit::add_processor_node | ( | std::shared_ptr< format::ProcessorNodeInstance > | processor, |
| const std::string & | name = {} ) |
| NodeId pulp::host::SignalGraph::PreparedTopologyEdit::add_processor_node | ( | std::unique_ptr< format::Processor > | processor, |
| const std::string & | name = {} ) |
| SampleRegionResult pulp::host::SignalGraph::PreparedTopologyEdit::add_sample_region_member | ( | SampleRegionId | id, |
| NodeId | member, | ||
| SampleKernelConfig | config ) |
|
inline |
|
inline |
|
inline |
| NodeId pulp::host::SignalGraph::PreparedTopologyEdit::add_unresolved_custom_node | ( | std::string_view | type_id, |
| int | version, | ||
| int | num_inputs, | ||
| int | num_outputs, | ||
| const std::string & | name ) |
| SampleRegionResult pulp::host::SignalGraph::PreparedTopologyEdit::bind_sample_region_parameters | ( | const SampleRegionParameterBinding & | binding | ) |
| Result pulp::host::SignalGraph::PreparedTopologyEdit::commit | ( | ) |
|
inlinenoexcept |
|
inline |
| bool pulp::host::SignalGraph::PreparedTopologyEdit::connect | ( | NodeId | source, |
| PortIndex | source_port, | ||
| NodeId | dest, | ||
| PortIndex | dest_port ) |
|
inline |
| bool pulp::host::SignalGraph::PreparedTopologyEdit::connect_audio_rate_modulation | ( | NodeId | source, |
| PortIndex | source_port, | ||
| NodeId | dest, | ||
| uint32_t | dest_param_id, | ||
| float | range_lo, | ||
| float | range_hi, | ||
| float | smoothing_ms = 0.0f, | ||
| AutomationMix | mix = AutomationMix::Replace ) |
| bool pulp::host::SignalGraph::PreparedTopologyEdit::connect_automation | ( | NodeId | source, |
| PortIndex | source_port, | ||
| NodeId | dest, | ||
| uint32_t | dest_param_id, | ||
| float | range_lo, | ||
| float | range_hi, | ||
| float | smoothing_ms = 0.0f, | ||
| AutomationMix | mix = AutomationMix::Replace ) |
| bool pulp::host::SignalGraph::PreparedTopologyEdit::connect_feedback | ( | NodeId | source, |
| PortIndex | source_port, | ||
| NodeId | dest, | ||
| PortIndex | dest_port ) |
| SampleRegionResult pulp::host::SignalGraph::PreparedTopologyEdit::connect_in_sample_region | ( | SampleRegionId | id, |
| NodeId | source, | ||
| PortIndex | source_port, | ||
| NodeId | destination, | ||
| PortIndex | destination_port ) |
| const std::vector< Connection > & pulp::host::SignalGraph::PreparedTopologyEdit::connections | ( | ) | const |
| std::size_t pulp::host::SignalGraph::PreparedTopologyEdit::custom_node_type_count | ( | ) | const |
| SampleRegionResult pulp::host::SignalGraph::PreparedTopologyEdit::declare_sample_region | ( | SampleRegionDefinition | definition | ) |
| bool pulp::host::SignalGraph::PreparedTopologyEdit::disconnect | ( | NodeId | source, |
| PortIndex | source_port, | ||
| NodeId | dest, | ||
| PortIndex | dest_port ) |
| bool pulp::host::SignalGraph::PreparedTopologyEdit::disconnect_modulation | ( | NodeId | source, |
| PortIndex | source_port, | ||
| NodeId | dest, | ||
| uint32_t | dest_param_id, | ||
| bool | audio_rate ) |
|
inlinenoexcept |
| const std::vector< GraphNode > & pulp::host::SignalGraph::PreparedTopologyEdit::nodes | ( | ) | const |
|
delete |
| Result pulp::host::SignalGraph::PreparedTopologyEdit::prepare | ( | double | sample_rate, |
| int | max_block_size ) |
| Result pulp::host::SignalGraph::PreparedTopologyEdit::prepare_quiesced | ( | double | sample_rate, |
| int | max_block_size ) |
Requires process, MIDI injection, and anticipation to be stopped.
| SampleRegionProof pulp::host::SignalGraph::PreparedTopologyEdit::prove_sample_region | ( | SampleRegionId | id | ) | const |
| std::size_t pulp::host::SignalGraph::PreparedTopologyEdit::prune_unused_custom_node_types | ( | ) |
| bool pulp::host::SignalGraph::PreparedTopologyEdit::register_custom_node_type | ( | CustomNodeType | type | ) |
| bool pulp::host::SignalGraph::PreparedTopologyEdit::register_custom_node_type | ( | CustomNodeType | type, |
| SampleKernelDescriptor | sample_kernel ) |
| bool pulp::host::SignalGraph::PreparedTopologyEdit::remove_node | ( | NodeId | id | ) |
| SampleRegionResult pulp::host::SignalGraph::PreparedTopologyEdit::remove_sample_region | ( | SampleRegionId | id | ) |
| SampleRegionResult pulp::host::SignalGraph::PreparedTopologyEdit::remove_sample_region_member | ( | SampleRegionId | id, |
| NodeId | member ) |
|
noexcept |
| std::optional< SampleRegionDescriptor > pulp::host::SignalGraph::PreparedTopologyEdit::sample_region | ( | SampleRegionId | id | ) | const |
|
inlinenoexcept |
| SampleRegionParameterContract pulp::host::SignalGraph::PreparedTopologyEdit::sample_region_parameter_contract | ( | ) | const |
| std::vector< SampleRegionDescriptor > pulp::host::SignalGraph::PreparedTopologyEdit::sample_regions | ( | ) | const |
|
noexcept |
|
noexcept |
| bool pulp::host::SignalGraph::PreparedTopologyEdit::set_exact_parameter_event_nodes | ( | const std::shared_ptr< detail::ExactParameterIngressOwner > & | owner, |
| std::span< const NodeId > | nodes, | ||
| ExactParameterNodeClaimPasskey | ) |
| bool pulp::host::SignalGraph::PreparedTopologyEdit::set_node_gain | ( | NodeId | id, |
| float | linear_gain ) |
|
noexcept |
| SampleRegionResult pulp::host::SignalGraph::PreparedTopologyEdit::set_sample_kernel_config | ( | SampleRegionId | id, |
| NodeId | member, | ||
| SampleKernelConfig | config ) |
| bool pulp::host::SignalGraph::PreparedTopologyEdit::unregister_custom_node_type | ( | std::string_view | type_id, |
| int | version ) |
|
friend |
|
friend |