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

Reference to the track-owned source a route reads. More...

#include <modulation.hpp>

Public Member Functions

constexpr bool valid () const noexcept
 Returns whether the referenced source identity is nonzero.
constexpr bool operator== (const ModulationSourceRef &) const =default

Public Attributes

ItemId id
ModulationSourceKind kind = ModulationSourceKind::Modulator

Detailed Description

Reference to the track-owned source a route reads.

The kind is carried rather than inferred from the identity, so a route that names a modulator can never be silently satisfied by a macro that happens to hold that ID after a remap.

Member Function Documentation

◆ operator==()

bool pulp::timeline::ModulationSourceRef::operator== ( const ModulationSourceRef & ) const
constexprdefault

◆ valid()

bool pulp::timeline::ModulationSourceRef::valid ( ) const
inlineconstexprnoexcept

Returns whether the referenced source identity is nonzero.

Member Data Documentation

◆ id

ItemId pulp::timeline::ModulationSourceRef::id

◆ kind

ModulationSourceKind pulp::timeline::ModulationSourceRef::kind = ModulationSourceKind::Modulator

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