|
Zrythm v2.0.0-alpha.1
a highly automated and intuitive digital audio workstation
|
Public Types | |
| using | ArrangerObjectChildType = ChildT |
Public Member Functions | |
| template<typename T> requires std::derived_from<T, QObject> | |
| ArrangerObjectOwner (utils::IObjectRegistry ®istry, T &derived) | |
| auto & | get_children_vector () const |
| auto | get_children_view () const |
| auto | get_sorted_children_view () const |
| void | add_ticks_to_children (dsp::ContentTick ticks) |
| bool | contains_object (const ArrangerObject::Uuid &id) const |
| O(1) lookup if an object with the given ID exists. | |
| ArrangerObjectListModel * | get_model () const |
| ArrangerObjectUuidReference | remove_object (const ArrangerObject::Uuid &id) |
| void | insert_object (const ArrangerObjectUuidReference &obj_ref, int idx) |
| void | add_object (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 27 of file arranger_object_owner.h.
| using zrythm::structure::arrangement::ArrangerObjectOwner< ChildT >::ArrangerObjectChildType = ChildT |
Definition at line 30 of file arranger_object_owner.h.
|
inlineexplicit |
Definition at line 32 of file arranger_object_owner.h.
|
inline |
Definition at line 118 of file arranger_object_owner.h.
|
inline |
Definition at line 71 of file arranger_object_owner.h.
|
inline |
Definition at line 125 of file arranger_object_owner.h.
|
inline |
O(1) lookup if an object with the given ID exists.
Definition at line 82 of file arranger_object_owner.h.
|
inline |
Definition at line 50 of file arranger_object_owner.h.
|
inline |
Definition at line 55 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 87 of file arranger_object_owner.h.
|
inline |
Definition at line 63 of file arranger_object_owner.h.
|
inline |
Definition at line 113 of file arranger_object_owner.h.
|
inline |
Definition at line 89 of file arranger_object_owner.h.
|
friend |
Definition at line 191 of file arranger_object_owner.h.
|
friend |
Definition at line 139 of file arranger_object_owner.h.
|
friend |
Definition at line 185 of file arranger_object_owner.h.