Audacity 3.2.0
|
Abstract base class for command interface. This is the version created by Dan Horgan. It was previously a factory for other command classes. It created a separation between the type of a command and the command itself, which is being removed. These Commands were managed by CommandDirectory. More...
#include <Command.h>
Public Member Functions | |
OldStyleCommand (AudacityProject &project) | |
virtual | ~OldStyleCommand () |
virtual ComponentInterfaceSymbol | GetSymbol ()=0 |
virtual CommandSignature & | GetSignature ()=0 |
virtual bool | SetParameter (const wxString ¶mName, const wxVariant ¶mValue) |
virtual bool | Apply ()=0 |
virtual bool | Apply (const CommandContext &context)=0 |
Public Attributes | |
AudacityProject & | mProject |
Abstract base class for command interface. This is the version created by Dan Horgan. It was previously a factory for other command classes. It created a separation between the type of a command and the command itself, which is being removed. These Commands were managed by CommandDirectory.
OldStyleCommand is the key class that allows us to carry a converted (not textual) command from a non-GUI place to the GUI thread. It contains the command AND the context that will be used for its output.
|
inline |
|
inlinevirtual |
|
pure virtual |
Implemented in ApplyAndSendResponse, and CommandImplementation.
|
pure virtual |
Implemented in BatchEvalCommand, ApplyAndSendResponse, and CommandImplementation.
|
pure virtual |
Implemented in DecoratedCommand, and CommandImplementation.
|
pure virtual |
Implemented in DecoratedCommand, and CommandImplementation.
|
virtual |
Reimplemented in DecoratedCommand, and CommandImplementation.
Definition at line 95 of file Command.cpp.
References wxT().
AudacityProject& OldStyleCommand::mProject |
Definition at line 32 of file Command.h.
Referenced by CommandImplementation::SetParameter().