|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
Public Types | |
| using | ArrangerObjectChildType = ChildT |
| using | ArrangerObjectListModel |
Public Member Functions | |
| template<typename T> requires std::derived_from<T, QObject> | |
| ArrangerObjectOwner (ArrangerObjectRegistry ®istry, dsp::FileAudioSourceRegistry &file_audio_source_registry, T &derived) | |
| auto & | get_children_vector () const |
| auto | get_children_view () const |
| auto | get_sorted_children_view () const |
| void | add_ticks_to_children (double ticks) |
| bool | contains_object (const ArrangerObject::Uuid &id) const |
| O(1) lookup if an object with the given ID exists. | |
| ArrangerObjectListModel * | get_model () const |
| template<typename SelfT> | |
| ArrangerObjectUuidReference | remove_object (this SelfT &self, const ArrangerObject::Uuid &id) |
| template<typename SelfT> | |
| void | insert_object (this SelfT &self, const ArrangerObjectUuidReference &obj_ref, int idx) |
| template<typename SelfT> | |
| 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. | |
Friends | |
| void | init_from (ArrangerObjectOwner &obj, const ArrangerObjectOwner &other, utils::ObjectCloneType clone_type) |
| void | to_json (nlohmann::json &j, const ArrangerObjectOwner &obj) |
| void | from_json (const nlohmann::json &j, ArrangerObjectOwner &obj) |
Definition at line 23 of file arranger_object_owner.h.
| using zrythm::structure::arrangement::ArrangerObjectOwner< ChildT >::ArrangerObjectChildType = ChildT |
Definition at line 26 of file arranger_object_owner.h.
| using zrythm::structure::arrangement::ArrangerObjectOwner< ChildT >::ArrangerObjectListModel |
Definition at line 27 of file arranger_object_owner.h.
|
inlineexplicit |
Definition at line 31 of file arranger_object_owner.h.
|
inline |
Definition at line 128 of file arranger_object_owner.h.
|
inline |
Definition at line 74 of file arranger_object_owner.h.
|
inline |
Definition at line 135 of file arranger_object_owner.h.
|
inline |
O(1) lookup if an object with the given ID exists.
Definition at line 85 of file arranger_object_owner.h.
|
inline |
Definition at line 53 of file arranger_object_owner.h.
|
inline |
Definition at line 58 of file arranger_object_owner.h.
|
pure virtual |
Get the children field name to be used during serialization/deserialization.
This is used because a class may derive from this multiple times so make sure the field name is unique.
|
inline |
Definition at line 90 of file arranger_object_owner.h.
|
inline |
Definition at line 66 of file arranger_object_owner.h.
|
inline |
Definition at line 119 of file arranger_object_owner.h.
|
inline |
Definition at line 94 of file arranger_object_owner.h.
|
friend |
Definition at line 204 of file arranger_object_owner.h.
|
friend |
Definition at line 149 of file arranger_object_owner.h.
|
friend |
Definition at line 198 of file arranger_object_owner.h.