Audacity 3.2.0
|
DecoratedCommand is a decorator for command. It forwards functions to the mCommand it holds. More...
#include <Command.h>
Public Member Functions | |
DecoratedCommand (const OldStyleCommandPointer &cmd) | |
virtual | ~DecoratedCommand () |
ComponentInterfaceSymbol | GetSymbol () override |
CommandSignature & | GetSignature () override |
bool | SetParameter (const wxString ¶mName, const wxVariant ¶mValue) override |
Public Member Functions inherited from OldStyleCommand | |
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 |
Protected Attributes | |
OldStyleCommandPointer | mCommand |
Additional Inherited Members | |
Public Attributes inherited from OldStyleCommand | |
AudacityProject & | mProject |
DecoratedCommand is a decorator for command. It forwards functions to the mCommand it holds.
Command which wraps another command It ISA command and HAS a command.
|
inline |
Definition at line 52 of file Command.h.
|
virtual |
Definition at line 102 of file Command.cpp.
|
overridevirtual |
|
overridevirtual |
Implements OldStyleCommand.
Definition at line 106 of file Command.cpp.
References mCommand.
Referenced by ApplyAndSendResponse::Apply().
|
overridevirtual |
Reimplemented from OldStyleCommand.
Definition at line 116 of file Command.cpp.
References mCommand.
|
protected |
Definition at line 50 of file Command.h.
Referenced by ApplyAndSendResponse::Apply(), GetSignature(), GetSymbol(), and SetParameter().