![]() |
Audacity 3.2.0
|
Interface for transferring values from a panel of effect controls. More...
#include <EffectInterface.h>
Public Member Functions | |
EffectUIValidator (EffectUIClientInterface &effect, EffectSettingsAccess &access) | |
virtual | ~EffectUIValidator () |
virtual bool | ValidateUI ()=0 |
Get settings data from the panel; may make error dialogs and return false. More... | |
virtual bool | UpdateUI () |
Update appearance of the panel for changes in settings. More... | |
Protected Member Functions | |
template<typename EventTag , typename Class , typename Event > | |
void | BindTo (wxEvtHandler &src, const EventTag &eventType, void(Class::*pmf)(Event &)) |
Protected Attributes | |
EffectUIClientInterface & | mEffect |
EffectSettingsAccess & | mAccess |
Interface for transferring values from a panel of effect controls.
Definition at line 497 of file EffectInterface.h.
EffectUIValidator::EffectUIValidator | ( | EffectUIClientInterface & | effect, |
EffectSettingsAccess & | access | ||
) |
Definition at line 188 of file EffectInterface.cpp.
|
virtual |
Definition at line 194 of file EffectInterface.cpp.
References EffectUIClientInterface::CloseUI(), and mEffect.
|
inlineprotected |
Definition at line 522 of file EffectInterface.h.
|
virtual |
Update appearance of the panel for changes in settings.
Default implementation does nothing, returns true
Reimplemented in AudioUnitValidator, EffectDtmf::Validator, EffectEcho::Validator, LadspaEffect::Validator, EffectReverb::Validator, and EffectWahwah::Validator.
Definition at line 199 of file EffectInterface.cpp.
|
pure virtual |
Get settings data from the panel; may make error dialogs and return false.
Implemented in DefaultEffectUIValidator, AudioUnitValidator, EffectDtmf::Validator, EffectEcho::Validator, LadspaEffect::Validator, EffectReverb::Validator, and EffectWahwah::Validator.
|
protected |
Definition at line 529 of file EffectInterface.h.
Referenced by AudioUnitValidator::AudioUnitValidator(), AudioUnitValidator::UpdateUI(), DefaultEffectUIValidator::ValidateUI(), AudioUnitValidator::ValidateUI(), EffectReverb::Validator::ValidateUI(), and EffectWahwah::Validator::ValidateUI().
|
protected |
Definition at line 528 of file EffectInterface.h.
Referenced by EffectWahwah::Validator::EnableApplyFromTransferDataToWindow(), EffectWahwah::Validator::EnableApplyFromValidate(), AudioUnitValidator::FetchSettingsFromInstance(), LadspaEffect::Validator::GetEffect(), EffectDtmf::Validator::GetEffect(), EffectEcho::Validator::GetEffect(), EffectReverb::Validator::GetEffect(), EffectWahwah::Validator::GetEffect(), AudioUnitValidator::StoreSettingsToInstance(), DefaultEffectUIValidator::ValidateUI(), and ~EffectUIValidator().