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

Optional non-throwing translation for an externally referenced identity. More...

#include <model.hpp>

Public Member Functions

runtime::Result< ItemId, ModelError > apply (ItemId id) const noexcept
 Applies the callback or returns id unchanged when none is installed.

Public Attributes

void * context = nullptr
runtime::Result< ItemId, ModelError >(* map )(void *, ItemId) noexcept = nullptr

Detailed Description

Optional non-throwing translation for an externally referenced identity.

A null callback preserves the identity. Callback failure makes the enclosing remap fail without advancing its allocator.

Member Function Documentation

◆ apply()

runtime::Result< ItemId, ModelError > pulp::timeline::ExternalIdFixup::apply ( ItemId id) const
noexcept

Applies the callback or returns id unchanged when none is installed.

Member Data Documentation

◆ context

void* pulp::timeline::ExternalIdFixup::context = nullptr

◆ map

runtime::Result< ItemId, ModelError >(* pulp::timeline::ExternalIdFixup::map) (void *, ItemId) noexcept = nullptr
noexcept

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/timeline/include/pulp/timeline/model.hpp