Zrythm v2.0.0-alpha.1
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::structure::arrangement::ArrangerObjectFactory::Builder< ObjT > Class Template Reference

Public Member Functions

Builder & with_start_ticks (units::precise_tick_t start_ticks)
Builder & with_end_ticks (units::precise_tick_t end_ticks)
Builder & with_name (const QString &name)
Builder & with_pitch (const int pitch)
Builder & with_velocity (const int vel)
Builder & with_midi_channel (const int channel)
Builder & with_automatable_value (const double automatable_val)
Builder & with_chord_descriptor (dsp::MusicalNote root, dsp::ChordType type, dsp::ChordAccent accent=dsp::ChordAccent::None, int inversion=0, std::optional< dsp::MusicalNote > bass=std::nullopt)
Builder & with_scale (utils::QObjectUniquePtr< dsp::MusicalScale > scale)
Builder & with_marker_type (Marker::MarkerType marker_type)
std::unique_ptr< ObjT > build_empty () const
 Returns an instantiated object to be used for deserialization.
auto build_in_registry ()

Friends

class ArrangerObjectFactory

Detailed Description

template<structure::arrangement::FinalArrangerObjectSubclass ObjT>
class zrythm::structure::arrangement::ArrangerObjectFactory::Builder< ObjT >

Definition at line 46 of file arranger_object_factory.h.

Member Function Documentation

◆ build_empty()

template<structure::arrangement::FinalArrangerObjectSubclass ObjT>
std::unique_ptr< ObjT > zrythm::structure::arrangement::ArrangerObjectFactory::Builder< ObjT >::build_empty ( ) const
inline

Returns an instantiated object to be used for deserialization.

Definition at line 144 of file arranger_object_factory.h.

◆ build_in_registry()

template<structure::arrangement::FinalArrangerObjectSubclass ObjT>
auto zrythm::structure::arrangement::ArrangerObjectFactory::Builder< ObjT >::build_in_registry ( )
inline

Definition at line 177 of file arranger_object_factory.h.

◆ with_automatable_value()

template<structure::arrangement::FinalArrangerObjectSubclass ObjT>
Builder & zrythm::structure::arrangement::ArrangerObjectFactory::Builder< ObjT >::with_automatable_value ( const double automatable_val)
inline

Definition at line 107 of file arranger_object_factory.h.

◆ with_chord_descriptor()

template<structure::arrangement::FinalArrangerObjectSubclass ObjT>
Builder & zrythm::structure::arrangement::ArrangerObjectFactory::Builder< ObjT >::with_chord_descriptor ( dsp::MusicalNote root,
dsp::ChordType type,
dsp::ChordAccent accent = dsp::ChordAccent::None,
int inversion = 0,
std::optional< dsp::MusicalNote > bass = std::nullopt )
inline

Definition at line 114 of file arranger_object_factory.h.

◆ with_end_ticks()

template<structure::arrangement::FinalArrangerObjectSubclass ObjT>
Builder & zrythm::structure::arrangement::ArrangerObjectFactory::Builder< ObjT >::with_end_ticks ( units::precise_tick_t end_ticks)
inline

Definition at line 71 of file arranger_object_factory.h.

◆ with_marker_type()

template<structure::arrangement::FinalArrangerObjectSubclass ObjT>
Builder & zrythm::structure::arrangement::ArrangerObjectFactory::Builder< ObjT >::with_marker_type ( Marker::MarkerType marker_type)
inline

Definition at line 134 of file arranger_object_factory.h.

◆ with_midi_channel()

template<structure::arrangement::FinalArrangerObjectSubclass ObjT>
Builder & zrythm::structure::arrangement::ArrangerObjectFactory::Builder< ObjT >::with_midi_channel ( const int channel)
inline

Definition at line 99 of file arranger_object_factory.h.

◆ with_name()

template<structure::arrangement::FinalArrangerObjectSubclass ObjT>
Builder & zrythm::structure::arrangement::ArrangerObjectFactory::Builder< ObjT >::with_name ( const QString & name)
inline

Definition at line 78 of file arranger_object_factory.h.

◆ with_pitch()

template<structure::arrangement::FinalArrangerObjectSubclass ObjT>
Builder & zrythm::structure::arrangement::ArrangerObjectFactory::Builder< ObjT >::with_pitch ( const int pitch)
inline

Definition at line 85 of file arranger_object_factory.h.

◆ with_scale()

template<structure::arrangement::FinalArrangerObjectSubclass ObjT>
Builder & zrythm::structure::arrangement::ArrangerObjectFactory::Builder< ObjT >::with_scale ( utils::QObjectUniquePtr< dsp::MusicalScale > scale)
inline

Definition at line 127 of file arranger_object_factory.h.

◆ with_start_ticks()

template<structure::arrangement::FinalArrangerObjectSubclass ObjT>
Builder & zrythm::structure::arrangement::ArrangerObjectFactory::Builder< ObjT >::with_start_ticks ( units::precise_tick_t start_ticks)
inline

Definition at line 64 of file arranger_object_factory.h.

◆ with_velocity()

template<structure::arrangement::FinalArrangerObjectSubclass ObjT>
Builder & zrythm::structure::arrangement::ArrangerObjectFactory::Builder< ObjT >::with_velocity ( const int vel)
inline

Definition at line 92 of file arranger_object_factory.h.

◆ ArrangerObjectFactory

template<structure::arrangement::FinalArrangerObjectSubclass ObjT>
friend class ArrangerObjectFactory
friend

Definition at line 48 of file arranger_object_factory.h.


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