|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
Data Structures | |
| struct | Location |
| Location info of this class. More... | |
Public Types | |
| using | PortUuid = dsp::PortIdentifier::PortUuid |
| using | ArrangerObjectChildType = ChildT |
Public Member Functions | |
| auto & | get_children_vector () |
| auto & | get_children_vector () const |
| auto | get_children_view () const |
| auto & | get_children_snapshots_vector () |
| auto & | get_children_snapshots_vector () const |
| auto | get_children_snapshots_view () const |
| void | add_ticks_to_children (double ticks, dsp::FramesPerTick frames_per_tick) |
| 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 Location | get_location (const ChildT &) const =0 |
| Returns the current location of this owner. | |
| virtual std::string | get_field_name_for_serialization (const ChildT *) const =0 |
| Get the children field name to be used during serialization/deserialization. | |
| void | copy_members_from (const ArrangerObjectOwner &other, ObjectCloneType clone_type) |
| void | copy_children (const ArrangerObjectOwner &other) |
Protected Attributes | |
| bool | clearing_ {} |
Friends | |
| 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 ArrangerObjectOwner< ChildT >::ArrangerObjectChildType = ChildT |
Definition at line 31 of file arranger_object_owner.h.
| using ArrangerObjectOwner< ChildT >::PortUuid = dsp::PortIdentifier::PortUuid |
Definition at line 30 of file arranger_object_owner.h.
|
inlinevirtual |
Definition at line 34 of file arranger_object_owner.h.
|
inline |
Definition at line 143 of file arranger_object_owner.h.
|
inline |
Definition at line 70 of file arranger_object_owner.h.
|
inline |
Definition at line 149 of file arranger_object_owner.h.
|
inline |
Definition at line 199 of file arranger_object_owner.h.
|
inline |
Definition at line 185 of file arranger_object_owner.h.
|
inline |
Definition at line 59 of file arranger_object_owner.h.
|
inline |
Definition at line 60 of file arranger_object_owner.h.
|
inline |
Definition at line 62 of file arranger_object_owner.h.
|
inline |
Definition at line 47 of file arranger_object_owner.h.
|
inline |
Definition at line 49 of file arranger_object_owner.h.
|
inline |
Definition at line 51 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.
|
pure virtual |
Returns the current location of this owner.
To be used by e.g. undoable actions where we need to know where to put back the object.
|
inline |
Definition at line 78 of file arranger_object_owner.h.
|
inline |
Definition at line 112 of file arranger_object_owner.h.
|
inline |
Definition at line 82 of file arranger_object_owner.h.
|
friend |
Definition at line 211 of file arranger_object_owner.h.
|
friend |
Definition at line 205 of file arranger_object_owner.h.
|
protected |
Definition at line 226 of file arranger_object_owner.h.