Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
Represents an automation region, which contains a collection of automation points. More...
#include <src/structure/arrangement/automation_region.h>
Properties | |
RegionMixin * | regionMixin |
Friends | |
void | init_from (AutomationRegion &obj, const AutomationRegion &other, utils::ObjectCloneType clone_type) |
void | to_json (nlohmann::json &j, const AutomationRegion ®ion) |
void | from_json (const nlohmann::json &j, AutomationRegion ®ion) |
Additional Inherited Members | |
Public Types inherited from zrythm::structure::arrangement::ArrangerObject | |
enum class | Type : basic_enum_base_type_t { MidiRegion , AudioRegion , ChordRegion , AutomationRegion , MidiNote , ChordObject , ScaleObject , Marker , AutomationPoint , AudioSourceObject } |
The type of the object. More... | |
using | SelectionStatusGetter = std::function<bool (const Uuid &)> |
Public Types inherited from zrythm::structure::arrangement::ArrangerObjectOwner< AutomationPoint > | |
using | ArrangerObjectChildType |
using | ArrangerObjectListModel |
Public Member Functions inherited from zrythm::structure::arrangement::ArrangerObject | |
bool | is_start_hit_by_range (const signed_frame_t frames_start, const signed_frame_t frames_end, bool range_start_inclusive=true, bool range_end_inclusive=false) const |
void | set_selection_status_getter (SelectionStatusGetter getter) |
void | unset_selection_status_getter () |
auto | type () const |
bool | getSelected () const |
dsp::AtomicPositionQmlAdapter * | position () const |
auto & | get_tempo_map () const |
Public Member Functions inherited from zrythm::utils::UuidIdentifiableObject< ArrangerObject > | |
UuidIdentifiableObject & | operator= (const UuidIdentifiableObject &other)=default |
auto | get_uuid () const |
Public Member Functions inherited from zrythm::structure::arrangement::ArrangerObjectOwner< AutomationPoint > | |
ArrangerObjectOwner (ArrangerObjectRegistry ®istry, dsp::FileAudioSourceRegistry &file_audio_source_registry, QObject &derived) | |
auto & | get_children_vector () |
auto | get_children_view () const |
void | add_ticks_to_children (double ticks) |
ArrangerObjectListModel * | get_model () const |
ArrangerObjectUuidReference | remove_object (this SelfT &self, const ArrangerObject::Uuid &id) |
void | insert_object (this SelfT &self, const ArrangerObjectUuidReference &obj_ref, int idx) |
void | add_object (this SelfT &self, const ArrangerObjectUuidReference &obj_ref) |
void | clear_objects () |
virtual std::string | get_field_name_for_serialization (const ChildT *) const=0 |
Get the children field name to be used during serialization/deserialization. | |
Protected Member Functions inherited from zrythm::structure::arrangement::ArrangerObject | |
ArrangerObject (Type type, const dsp::TempoMap &tempo_map, QObject &derived) noexcept | |
Construct a new ArrangerObject. | |
Protected Attributes inherited from zrythm::structure::arrangement::ArrangerObject | |
std::optional< SelectionStatusGetter > | selection_status_getter_ |
Represents an automation region, which contains a collection of automation points.
The automation points must always stay sorted by position. The last recorded automation point is also stored.
Definition at line 17 of file automation_region.h.
|
friend |
Definition at line 101 of file automation_region.h.
|
friend |
Definition at line 95 of file automation_region.h.
|
read |
Definition at line 24 of file automation_region.h.