Zrythm
v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
arranger_object_test.h
1
// SPDX-FileCopyrightText: © 2025 Alexandros Theodotou <alex@zrythm.org>
2
// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
4
#pragma once
5
6
#include "dsp/tempo_map.h"
7
#include "structure/arrangement/arranger_object.h"
8
9
// Mock ArrangerObject with public constructor
10
class
MockArrangerObject :
public
zrythm::structure::arrangement::ArrangerObject
11
{
12
Q_OBJECT
13
QML_ELEMENT
14
15
public
:
16
using
ArrangerObjectFeatures =
17
structure::arrangement::ArrangerObject::ArrangerObjectFeatures;
18
19
MockArrangerObject (
20
Type
type,
21
const
zrythm::dsp::TempoMap &tempo_map,
22
ArrangerObjectFeatures features = ArrangerObjectFeatures::Bounds,
23
QObject * parent =
nullptr
)
24
:
ArrangerObject
(type, tempo_map, features, parent)
25
{
26
}
27
};
zrythm::structure::arrangement::ArrangerObject
Base class for all objects in the arranger.
Definition
arranger_object.h:33
zrythm::structure::arrangement::ArrangerObject::ArrangerObject
ArrangerObject(Type type, const dsp::TempoMap &tempo_map, ArrangerObjectFeatures features, QObject *parent=nullptr) noexcept
Construct a new ArrangerObject.
zrythm::structure::arrangement::ArrangerObject::Type
Type
The type of the object.
Definition
arranger_object.h:54
tests
unit
structure
arrangement
arranger_object_test.h
Generated by
1.15.0