Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::dsp::PortSpan Class Reference

Span that offers helper methods on a range of ports. More...

#include <src/dsp/port_span.h>

Inheritance diagram for zrythm::dsp::PortSpan:
Collaboration diagram for zrythm::dsp::PortSpan:

Public Types

using Base = utils::UuidIdentifiableObjectView<dsp::PortRegistry>
using VariantType = typename Base::VariantType
using PortUuid = typename Base::UuidType
Public Types inherited from zrythm::utils::UuidIdentifiableObjectView< dsp::PortRegistry >
using UuidType
using VariantType
using UuidRefType

Static Public Member Functions

static auto label_projection (const VariantType &port_var)
Static Public Member Functions inherited from zrythm::utils::UuidIdentifiableObjectView< dsp::PortRegistry >
static UuidType uuid_projection (const VariantType &var)
static dsp::PortRegistry::BaseType * base_projection (const VariantType &var)
static auto type_projection (const VariantType &var)
static auto derived_from_type_projection (const VariantType &var)
static auto type_transformation (const VariantType &var)
static auto derived_from_type_transformation (const VariantType &var)

Additional Inherited Members

Public Member Functions inherited from zrythm::utils::UuidIdentifiableObjectView< dsp::PortRegistry >
 UuidIdentifiableObjectView (std::span< const VariantType > objects)
 Constructor for direct object range.
 UuidIdentifiableObjectView (std::span< const UuidRefType > refs)
 Constructor for UuidReference range.
 UuidIdentifiableObjectView (const dsp::PortRegistry &registry, std::span< const UuidType > uuids)
 Constructor for Uuid + Registry.
 UuidIdentifiableObjectView (const VariantType &obj)
 Single object constructor.
Iterator begin () const
Iterator end () const
VariantType operator[] (size_t index) const
VariantType front () const
VariantType back () const
VariantType at (size_t index) const
size_t size () const
bool empty () const
auto get_elements_by_type () const
auto as_base_type () const
bool contains_type () const
auto as_type () const
auto get_elements_derived_from () const

Detailed Description

Span that offers helper methods on a range of ports.

Definition at line 14 of file port_span.h.

Member Typedef Documentation

◆ Base

using zrythm::dsp::PortSpan::Base = utils::UuidIdentifiableObjectView<dsp::PortRegistry>

Definition at line 17 of file port_span.h.

◆ PortUuid

using zrythm::dsp::PortSpan::PortUuid = typename Base::UuidType

Definition at line 19 of file port_span.h.

◆ VariantType

using zrythm::dsp::PortSpan::VariantType = typename Base::VariantType

Definition at line 18 of file port_span.h.

Member Function Documentation

◆ label_projection()

auto zrythm::dsp::PortSpan::label_projection ( const VariantType & port_var)
inlinestatic

Definition at line 22 of file port_span.h.


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