Audacity 3.2.0
StatelessPerTrackEffect.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 @file StatelessPerTrackEffect.h
6
7 Paul Licameli
8
9 **********************************************************************/
10#ifndef __AUDACITY_STATELESS_PER_TRACK_EFFECT__
11#define __AUDACITY_STATELESS_PER_TRACK_EFFECT__
12
13#include "PerTrackEffect.h"
15
18{
19public:
20 std::unique_ptr<EffectEditor> PopulateUI(const EffectPlugin &plugin,
22 const EffectOutputs *pOutputs) const override;
23
25
29 virtual std::unique_ptr<EffectEditor> MakeEditor(
30 ShuttleGui & S, EffectInstance &instance, EffectSettingsAccess &access,
31 const EffectOutputs *pOutputs) const = 0;
32};
33
36 : public PerTrackEffect
38{
39public:
41};
42
43#endif
#define S(N)
Definition: ToChars.cpp:64
Performs effect computation.
Hold values to send to effect output meters.
Factory of instances of an effect.
Definition: EffectPlugin.h:36
Base class for many of the effects in Audacity.
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:640
std::unique_ptr< EffectEditor > PopulateUI(const EffectPlugin &plugin, ShuttleGui &S, EffectInstance &instance, EffectSettingsAccess &access, const EffectOutputs *pOutputs) const override
Adds controls to a panel that is given as the parent window of S
virtual std::unique_ptr< EffectEditor > MakeEditor(ShuttleGui &S, EffectInstance &instance, EffectSettingsAccess &access, const EffectOutputs *pOutputs) const =0
Called only from PopulateUI, to add controls to effect panel.
Simply the union of PerTrackEffect and StatelessEffectUIServices.
~StatelessPerTrackEffect() override