Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::structure::arrangement::AutomationRegion Class Referencefinal

Represents an automation region, which contains a collection of automation points. More...

#include <src/structure/arrangement/automation_region.h>

Inheritance diagram for zrythm::structure::arrangement::AutomationRegion:
Collaboration diagram for zrythm::structure::arrangement::AutomationRegion:

Properties

RegionMixinregionMixin

Friends

void init_from (AutomationRegion &obj, const AutomationRegion &other, utils::ObjectCloneType clone_type)
void to_json (nlohmann::json &j, const AutomationRegion &region)
void from_json (const nlohmann::json &j, AutomationRegion &region)

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::AtomicPositionQmlAdapterposition () const
auto & get_tempo_map () const
Public Member Functions inherited from zrythm::utils::UuidIdentifiableObject< ArrangerObject >
UuidIdentifiableObjectoperator= (const UuidIdentifiableObject &other)=default
auto get_uuid () const
Public Member Functions inherited from zrythm::structure::arrangement::ArrangerObjectOwner< AutomationPoint >
 ArrangerObjectOwner (ArrangerObjectRegistry &registry, dsp::FileAudioSourceRegistry &file_audio_source_registry, QObject &derived)
auto & get_children_vector ()
auto get_children_view () const
void add_ticks_to_children (double ticks)
ArrangerObjectListModelget_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_

Detailed Description

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.

◆ from_json

void from_json ( const nlohmann::json & j,
AutomationRegion & region )
friend

Definition at line 101 of file automation_region.h.

◆ to_json

void to_json ( nlohmann::json & j,
const AutomationRegion & region )
friend

Definition at line 95 of file automation_region.h.

Property Documentation

◆ regionMixin

RegionMixin * zrythm::structure::arrangement::AutomationRegion::regionMixin
read

Definition at line 24 of file automation_region.h.


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