Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::format::GraphRuntimeSnapshot Class Reference

Control-thread-built graph snapshot for GraphRuntimeExecutor. More...

#include <graph_runtime_executor.hpp>

Classes

struct  InputPortSource

Public Member Functions

bool reset (graph::GraphRuntimePlan plan, std::span< const GraphRuntimeNodeBinding > bindings, bool parallel_safe=false)
void clear () noexcept
bool parallel_safe () const noexcept
bool valid () const noexcept
const graph::GraphRuntimePlan & plan () const noexcept
bool contains_node (graph::NodeId node_id) const noexcept
std::span< const GraphRuntimeNodeBinding > bindings () const noexcept
std::uint32_t node_count () const noexcept
const graph::GraphRuntimeBufferAssignment & buffer_assignment () const noexcept
std::uint32_t buffer_slot_count () const noexcept
std::span< const InputPortSource > input_port_sources (std::uint32_t node_index) const noexcept
bool sole_audio_output () const noexcept
std::uint32_t sole_audio_output_ports () const noexcept
std::uint64_t id () const noexcept

Detailed Description

Control-thread-built graph snapshot for GraphRuntimeExecutor.

A snapshot is logically immutable after a successful reset(). Do not call reset() or clear() on a snapshot object while any realtime process() call may still reference it; use a publish/lifetime policy above this primitive.

Member Function Documentation

◆ bindings()

std::span< const GraphRuntimeNodeBinding > pulp::format::GraphRuntimeSnapshot::bindings ( ) const
inlinenoexcept

◆ buffer_assignment()

const graph::GraphRuntimeBufferAssignment & pulp::format::GraphRuntimeSnapshot::buffer_assignment ( ) const
inlinenoexcept

◆ buffer_slot_count()

std::uint32_t pulp::format::GraphRuntimeSnapshot::buffer_slot_count ( ) const
inlinenoexcept

◆ clear()

void pulp::format::GraphRuntimeSnapshot::clear ( )
noexcept

◆ contains_node()

bool pulp::format::GraphRuntimeSnapshot::contains_node ( graph::NodeId node_id) const
noexcept

◆ id()

std::uint64_t pulp::format::GraphRuntimeSnapshot::id ( ) const
inlinenoexcept

◆ input_port_sources()

std::span< const InputPortSource > pulp::format::GraphRuntimeSnapshot::input_port_sources ( std::uint32_t node_index) const
inlinenoexcept

◆ node_count()

std::uint32_t pulp::format::GraphRuntimeSnapshot::node_count ( ) const
inlinenoexcept

◆ parallel_safe()

bool pulp::format::GraphRuntimeSnapshot::parallel_safe ( ) const
inlinenoexcept

◆ plan()

const graph::GraphRuntimePlan & pulp::format::GraphRuntimeSnapshot::plan ( ) const
inlinenoexcept

◆ reset()

bool pulp::format::GraphRuntimeSnapshot::reset ( graph::GraphRuntimePlan plan,
std::span< const GraphRuntimeNodeBinding > bindings,
bool parallel_safe = false )

◆ sole_audio_output()

bool pulp::format::GraphRuntimeSnapshot::sole_audio_output ( ) const
inlinenoexcept

◆ sole_audio_output_ports()

std::uint32_t pulp::format::GraphRuntimeSnapshot::sole_audio_output_ports ( ) const
inlinenoexcept

◆ valid()

bool pulp::format::GraphRuntimeSnapshot::valid ( ) const
noexcept

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