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

Immutable callback bundle and shared context for a registered type. More...

#include <schema_registry.hpp>

Public Attributes

std::shared_ptr< const void > context
SchemaDecodeFn decode = nullptr
SchemaEncodeFn encode = nullptr
SchemaRetainedSizeFn retained_size = nullptr

Detailed Description

Immutable callback bundle and shared context for a registered type.

A registry retains context for its lifetime. Decode, encode, and retained_size must either all be present or all be null.

Member Data Documentation

◆ context

std::shared_ptr<const void> pulp::timeline::SchemaCodec::context

◆ decode

SchemaDecodeFn pulp::timeline::SchemaCodec::decode = nullptr

◆ encode

SchemaEncodeFn pulp::timeline::SchemaCodec::encode = nullptr

◆ retained_size

SchemaRetainedSizeFn pulp::timeline::SchemaCodec::retained_size = nullptr

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