Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::structure::tracks::TrackFactory Class Reference

Factory for tracks. More...

#include <src/structure/tracks/track_factory.h>

Data Structures

class  Builder

Public Member Functions

 TrackFactory (FinalTrackDependencies track_deps)
template<typename TrackT>
auto get_builder () const
template<FinalTrackSubclass TrackT>
TrackUuidReference create_empty_track () const
TrackUuidReference create_empty_track (Track::Type type) const
template<typename TrackT>
auto clone_new_object_identity (const TrackT &other) const
template<typename TrackT>
auto clone_object_snapshot (const TrackT &other, QObject &owner) const

Detailed Description

Factory for tracks.

Definition at line 14 of file track_factory.h.

Constructor & Destructor Documentation

◆ TrackFactory()

zrythm::structure::tracks::TrackFactory::TrackFactory ( FinalTrackDependencies track_deps)
inline

Definition at line 17 of file track_factory.h.

Member Function Documentation

◆ clone_new_object_identity()

template<typename TrackT>
auto zrythm::structure::tracks::TrackFactory::clone_new_object_identity ( const TrackT & other) const
inline

Definition at line 98 of file track_factory.h.

◆ clone_object_snapshot()

template<typename TrackT>
auto zrythm::structure::tracks::TrackFactory::clone_object_snapshot ( const TrackT & other,
QObject & owner ) const
inline

Definition at line 105 of file track_factory.h.

◆ create_empty_track() [1/2]

template<FinalTrackSubclass TrackT>
TrackUuidReference zrythm::structure::tracks::TrackFactory::create_empty_track ( ) const
inline

Definition at line 58 of file track_factory.h.

◆ create_empty_track() [2/2]

TrackUuidReference zrythm::structure::tracks::TrackFactory::create_empty_track ( Track::Type type) const
inline

Definition at line 64 of file track_factory.h.

◆ get_builder()

template<typename TrackT>
auto zrythm::structure::tracks::TrackFactory::get_builder ( ) const
inline

Definition at line 51 of file track_factory.h.


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