Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::structure::arrangement::MockArrangerObjectOwner Class Reference
Inheritance diagram for zrythm::structure::arrangement::MockArrangerObjectOwner:
Collaboration diagram for zrythm::structure::arrangement::MockArrangerObjectOwner:

Public Member Functions

 MockArrangerObjectOwner (ArrangerObjectRegistry &registry, dsp::FileAudioSourceRegistry &file_audio_source_registry, QObject *parent=nullptr)
 MOCK_METHOD (std::string, get_field_name_for_serialization,(const MidiNote *obj),(const override))
 MOCK_METHOD (std::string, get_field_name_for_serialization,(const Marker *obj),(const override))
Public Member Functions inherited from zrythm::structure::arrangement::ArrangerObjectOwner< MidiNote >
 ArrangerObjectOwner (ArrangerObjectRegistry &registry, 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
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.
Public Member Functions inherited from zrythm::structure::arrangement::ArrangerObjectOwner< Marker >
 ArrangerObjectOwner (ArrangerObjectRegistry &registry, 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
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.

Additional Inherited Members

Public Types inherited from zrythm::structure::arrangement::ArrangerObjectOwner< MidiNote >
using ArrangerObjectChildType
using ArrangerObjectListModel
Public Types inherited from zrythm::structure::arrangement::ArrangerObjectOwner< Marker >
using ArrangerObjectChildType
using ArrangerObjectListModel

Detailed Description

Definition at line 14 of file arranger_object_owner_test.h.

Constructor & Destructor Documentation

◆ MockArrangerObjectOwner()

zrythm::structure::arrangement::MockArrangerObjectOwner::MockArrangerObjectOwner ( ArrangerObjectRegistry & registry,
dsp::FileAudioSourceRegistry & file_audio_source_registry,
QObject * parent = nullptr )
inline

Definition at line 30 of file arranger_object_owner_test.h.


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