29 {
return std::make_unique<RealtimeEffectStateUI>(state); }
39 : mRealtimeEffectState(state)
65 if (effectPlugin ==
nullptr)
71 if (client ==
nullptr)
76 std::shared_ptr<EffectInstance> pInstance;
82 &projectWindow, project, *effectPlugin, *client, pInstance, *access,
85 if (!dlg->Initialize())
93 client->ShowClientInterface(*effectPlugin,
166 if (effectPlugin !=
nullptr)
167 mEffectName = effectPlugin->GetDefinition().GetName();
187 auto next = GetNextHandler();
196 next->ProcessEvent(evt);
std::unique_ptr< T, Destroyer< T > > Destroy_ptr
a convenience for using Destroyer
declares abstract base class Track, TrackList, and iterators over TrackList
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Subclass & Get(const RegisteredFactory &key)
Get reference to an attachment, creating on demand if not present, down-cast it to Subclass.
EffectPlugin * GetEffect(const PluginID &ID)
static EffectManager & Get()
static result_type Call(Arguments &&...arguments)
Null check of the installed function is done for you.
static ProjectWindow & Get(AudacityProject &project)
std::shared_ptr< EffectSettingsAccess > GetAccess()
const PluginID & GetID() const noexcept
UI state for realtime effect.
Observer::Subscription mParameterChangedSubscription
TranslatableString mEffectName
bool IsShown() const noexcept
Observer::Subscription mProjectWindowDestroyedSubscription
void OnClose(wxCloseEvent &evt)
RealtimeEffectState & mRealtimeEffectState
~RealtimeEffectStateUI() override
void Show(AudacityProject &project)
void Toggle(AudacityProject &project)
wxWeakRef< EffectUIHost > mEffectUIHost
AudacityProject * mpProject
static RealtimeEffectStateUI & Get(RealtimeEffectState &state)
void UpdateTrackData(const Track &track)
void Hide(AudacityProject *project=nullptr)
void AutoSave(AudacityProject &project)
Abstract base class for an object holding data associated with points on a time axis.
static UndoManager & Get(AudacityProject &project)
const RealtimeEffectState::RegisteredFactory realtimeEffectStateUIFactory
Message sent when the project window is closed.