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

Application-owned, exact-version registration. More...

#include <processor_restore.hpp>

Public Attributes

ProcessorTypeKey type
int state_schema_version = 1
int input_channels = 0
int output_channels = 0
format::NodeCapabilities capabilities
std::function< std::shared_ptr< format::ProcessorNodeInstance >()> create
 Trusted control-thread code.

Detailed Description

Application-owned, exact-version registration.

No discovery or migration occurs. The envelope version is independent of the StateStore schema: the embedded parameter version must match the factory's store version exactly. Register another exact type version explicitly when required.

Member Data Documentation

◆ capabilities

format::NodeCapabilities pulp::host::ProcessorRestoreDescriptor::capabilities

◆ create

std::function<std::shared_ptr<format::ProcessorNodeInstance>()> pulp::host::ProcessorRestoreDescriptor::create

Trusted control-thread code.

Return a newly created, unprepared instance without retaining it or exposing it to another thread. Aliases to live or candidate instances are rejected before any parameter/custom restoration.

◆ input_channels

int pulp::host::ProcessorRestoreDescriptor::input_channels = 0

◆ output_channels

int pulp::host::ProcessorRestoreDescriptor::output_channels = 0

◆ state_schema_version

int pulp::host::ProcessorRestoreDescriptor::state_schema_version = 1

◆ type

ProcessorTypeKey pulp::host::ProcessorRestoreDescriptor::type

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