Audacity  2.2.0
DecoratedCommand Class Reference

Command which wraps another command. More...

#include <Command.h>

Inheritance diagram for DecoratedCommand:
Command ApplyAndSendResponse

Public Member Functions

void Progress (double completed) override
 
void Status (const wxString &message) override
 
void Error (const wxString &message) override
 
 DecoratedCommand (const CommandHolder &cmd)
 
virtual ~DecoratedCommand ()
 
wxString GetName () override
 
CommandSignatureGetSignature () override
 
bool SetParameter (const wxString &paramName, const wxVariant &paramValue) override
 
- Public Member Functions inherited from Command
virtual ~Command ()
 
virtual bool Apply (CommandExecutionContext context)=0
 

Protected Attributes

CommandHolder mCommand
 

Detailed Description

Command which wraps another command.

Constructor & Destructor Documentation

DecoratedCommand::DecoratedCommand ( const CommandHolder cmd)
inline
DecoratedCommand::~DecoratedCommand ( )
virtual

Member Function Documentation

void DecoratedCommand::Error ( const wxString &  message)
overridevirtual

Implements Command.

References mCommand.

wxString DecoratedCommand::GetName ( )
overridevirtual

Implements Command.

References mCommand.

Referenced by ApplyAndSendResponse::Apply().

CommandSignature & DecoratedCommand::GetSignature ( )
overridevirtual

Implements Command.

References mCommand.

void DecoratedCommand::Progress ( double  completed)
overridevirtual

Implements Command.

References mCommand.

bool DecoratedCommand::SetParameter ( const wxString &  paramName,
const wxVariant &  paramValue 
)
overridevirtual

Reimplemented from Command.

References mCommand.

void DecoratedCommand::Status ( const wxString &  message)
overridevirtual

Implements Command.

References mCommand.

Referenced by ApplyAndSendResponse::Apply().

Member Data Documentation

CommandHolder DecoratedCommand::mCommand
protected

The documentation for this class was generated from the following files: