Audacity 3.2.0
|
A convenient base class defining abstract virtual Clone() for a given kind of pointer. More...
#include <ClientData.h>
Public Types | |
using | Base = std::conditional_t< std::is_void_v< Covariant >, Cloneable, Covariant > |
using | PointerType = Owner< Base > |
Public Member Functions | |
Cloneable ()=default | |
Cloneable (const Cloneable &)=default | |
Cloneable & | operator= (const Cloneable &)=default |
virtual | ~Cloneable ()=default |
virtual PointerType | Clone () const =0 |
A convenient base class defining abstract virtual Clone() for a given kind of pointer.
Owner | template-template parameter for the kind of smart pointer, like std::shared_ptr, returned by Clone() |
Definition at line 49 of file ClientData.h.
using ClientData::Cloneable< Covariant, Owner >::Base = std::conditional_t< std::is_void_v<Covariant>, Cloneable, Covariant > |
Definition at line 51 of file ClientData.h.
using ClientData::Cloneable< Covariant, Owner >::PointerType = Owner< Base > |
Definition at line 54 of file ClientData.h.
|
default |
|
default |
|
virtualdefault |
|
pure virtual |
Implemented in anonymous_namespace{WaveChannelView.cpp}::PlacementArray, anonymous_namespace{PlayableTrack.cpp}::MuteAndSolo, RealtimeEffectList, anonymous_namespace{TempoChange.cpp}::ProjectTempo, SpectrogramSettings, SpectrogramBounds, WaveformSettings, anonymous_namespace{WaveTrack.cpp}::WaveTrackData, and WaveformScale.
|
default |