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

One way a new descriptor version broke a previously-shipped parameter's host-facing identity. More...

#include <param_ordering.hpp>

Public Types

enum class  Kind { IdChangedAtIndex , ParamRemoved }

Public Attributes

Kind kind
std::size_t index
 Registration index in the OLD version.
ParamID old_id
 The ID the old version shipped at this slot.
ParamID new_id
 The ID now at this index (0 for ParamRemoved).

Detailed Description

One way a new descriptor version broke a previously-shipped parameter's host-facing identity.

Member Enumeration Documentation

◆ Kind

Enumerator
IdChangedAtIndex 

The parameter that used to occupy index now carries a different host-facing ID (it was re-ID'd, or a parameter was inserted/removed ahead of it and shifted it).

Automation keyed to old_id at that slot now targets new_id.

ParamRemoved 

A host-facing ID present in the old version is absent from the new version entirely.

Any saved automation for it is orphaned.

Member Data Documentation

◆ index

std::size_t pulp::state::ParamOrderingViolation::index

Registration index in the OLD version.

◆ kind

Kind pulp::state::ParamOrderingViolation::kind

◆ new_id

ParamID pulp::state::ParamOrderingViolation::new_id

The ID now at this index (0 for ParamRemoved).

◆ old_id

ParamID pulp::state::ParamOrderingViolation::old_id

The ID the old version shipped at this slot.


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