![]() |
Audacity 3.2.0
|
Base class for the various SetTrackCommand classes.
Sbclasses provide the settings that are relevant to them.
More...
#include <SetTrackInfoCommand.h>
Public Member Functions | |
SetTrackBase () | |
bool | Apply (const CommandContext &context) override |
virtual bool | ApplyInner (const CommandContext &context, Track *t) |
template<bool Const> | |
bool | VisitSettings (SettingsVisitorBase< Const > &S) |
bool | VisitSettings (SettingsVisitor &S) override |
bool | VisitSettings (ConstSettingsVisitor &S) override |
virtual void | PopulateOrExchange (ShuttleGui &S) override |
![]() | |
AudacityCommand () | |
virtual | ~AudacityCommand () |
PluginPath | GetPath () const override |
VendorSymbol | GetVendor () const override |
wxString | GetVersion () const override |
ComponentInterfaceSymbol | GetSymbol () const override=0 |
virtual TranslatableString | GetDescription () const override |
virtual ManualPageID | ManualPage () |
virtual bool | IsBatchProcessing () const |
virtual void | SetBatchProcessing (bool start) |
virtual bool | Apply (const CommandContext &WXUNUSED(context)) |
bool | ShowInterface (wxWindow *parent, bool forceModal=false) |
wxDialog * | CreateUI (wxWindow *parent, AudacityCommand *client) |
bool | SaveSettingsAsString (wxString &parms) |
bool | LoadSettingsFromString (const wxString &parms) |
bool | DoAudacityCommand (wxWindow *parent, const CommandContext &context, bool shouldPrompt=true) |
int | MessageBox (const TranslatableString &message, long style=DefaultMessageBoxStyle, const TranslatableString &titleStr={}) |
virtual bool | Init () |
virtual bool | PromptUser (wxWindow *parent) |
virtual bool | CheckWhetherSkipAudacityCommand () |
virtual void | End () |
virtual void | PopulateOrExchange (ShuttleGui &WXUNUSED(S)) |
virtual bool | TransferDataToWindow () |
virtual bool | TransferDataFromWindow () |
virtual bool | VisitSettings (SettingsVisitor &) |
virtual bool | VisitSettings (ConstSettingsVisitor &) |
![]() | |
virtual | ~ComponentInterface () |
virtual PluginPath | GetPath () const =0 |
virtual ComponentInterfaceSymbol | GetSymbol () const =0 |
virtual VendorSymbol | GetVendor () const =0 |
virtual wxString | GetVersion () const =0 |
virtual TranslatableString | GetDescription () const =0 |
TranslatableString | GetName () const |
Public Attributes | |
int | mTrackIndex |
int | mChannelIndex |
bool | bHasTrackIndex |
bool | bHasChannelIndex |
bool | bIsSecondChannel |
bool | mbPromptForTracks |
Additional Inherited Members | |
![]() | |
enum | : long { DefaultMessageBoxStyle = wxOK | wxCENTRE } |
![]() | |
ProgressDialog * | mProgress |
wxDialog * | mUIDialog |
wxWindow * | mUIParent |
Base class for the various SetTrackCommand classes.
Sbclasses provide the settings that are relevant to them.
Definition at line 25 of file SetTrackInfoCommand.h.
SetTrackBase::SetTrackBase | ( | ) |
Definition at line 55 of file SetTrackInfoCommand.cpp.
References bIsSecondChannel, and mbPromptForTracks.
|
override |
Definition at line 106 of file SetTrackInfoCommand.cpp.
References ApplyInner(), bHasChannelIndex, bHasTrackIndex, TrackList::Channels(), TrackList::Get(), mChannelIndex, mTrackIndex, and CommandContext::project.
|
virtual |
Reimplemented in SetClipCommand, SetEnvelopeCommand, SetTrackStatusCommand, SetTrackAudioCommand, SetTrackVisualsCommand, and SetTrackCommand.
Definition at line 65 of file SetTrackInfoCommand.cpp.
Referenced by Apply().
|
overridevirtual |
Reimplemented in SetClipCommand, SetEnvelopeCommand, SetTrackStatusCommand, SetTrackAudioCommand, SetTrackVisualsCommand, and SetTrackCommand.
Definition at line 89 of file SetTrackInfoCommand.cpp.
References bHasChannelIndex, bHasTrackIndex, mbPromptForTracks, mChannelIndex, mTrackIndex, S, and XO().
Referenced by SetTrackStatusCommand::PopulateOrExchange(), SetTrackAudioCommand::PopulateOrExchange(), SetTrackVisualsCommand::PopulateOrExchange(), and SetTrackCommand::PopulateOrExchange().
|
overridevirtual |
Visit settings, if defined. false means no defined settings. Default implementation returns false
Reimplemented from AudacityCommand.
Reimplemented in SetTrackStatusCommand, SetTrackAudioCommand, SetTrackVisualsCommand, and SetTrackCommand.
Definition at line 86 of file SetTrackInfoCommand.cpp.
References S.
|
overridevirtual |
Visit settings, if defined. false means no defined settings. Default implementation returns false
Reimplemented from AudacityCommand.
Reimplemented in SetTrackStatusCommand, SetTrackAudioCommand, SetTrackVisualsCommand, and SetTrackCommand.
Definition at line 83 of file SetTrackInfoCommand.cpp.
References S.
bool SetTrackBase::VisitSettings | ( | SettingsVisitorBase< Const > & | S | ) |
Definition at line 73 of file SetTrackInfoCommand.cpp.
References bHasChannelIndex, bHasTrackIndex, mChannelIndex, mTrackIndex, S, and wxT().
Referenced by SetTrackStatusCommand::VisitSettings(), SetTrackAudioCommand::VisitSettings(), SetTrackVisualsCommand::VisitSettings(), and SetTrackCommand::VisitSettings().
bool SetTrackBase::bHasChannelIndex |
Definition at line 39 of file SetTrackInfoCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
bool SetTrackBase::bHasTrackIndex |
Definition at line 38 of file SetTrackInfoCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
bool SetTrackBase::bIsSecondChannel |
Definition at line 41 of file SetTrackInfoCommand.h.
Referenced by SetTrackStatusCommand::ApplyInner(), SetTrackAudioCommand::ApplyInner(), SetTrackCommand::ApplyInner(), and SetTrackBase().
bool SetTrackBase::mbPromptForTracks |
Definition at line 42 of file SetTrackInfoCommand.h.
Referenced by PopulateOrExchange(), SetTrackBase(), and SetTrackCommand::SetTrackCommand().
int SetTrackBase::mChannelIndex |
Definition at line 37 of file SetTrackInfoCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
int SetTrackBase::mTrackIndex |
Definition at line 36 of file SetTrackInfoCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().