Zrythm v2.0.0-DEV
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 (double start_ticks)
Builder & with_end_ticks (double end_ticks)
Builder & with_name (const QString &name)
Builder & with_pitch (const int pitch)
Builder & with_velocity (const int vel)
Builder & with_automatable_value (const double automatable_val)
Builder & with_chord_descriptor (const int chord_descriptor_index)
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 47 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 131 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 166 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 100 of file arranger_object_factory.h.

◆ with_chord_descriptor()

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

Definition at line 107 of file arranger_object_factory.h.

◆ with_end_ticks()

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

Definition at line 72 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 121 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 79 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 86 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 114 of file arranger_object_factory.h.

◆ with_start_ticks()

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

Definition at line 65 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 93 of file arranger_object_factory.h.

◆ ArrangerObjectFactory

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

Definition at line 49 of file arranger_object_factory.h.


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