Audacity  2.2.0
BatchEvalCommand Class Referencefinal

Given a string representing a command, pass it to the BatchCommands system. More...

#include <BatchEvalCommand.h>

Inheritance diagram for BatchEvalCommand:
CommandImplementation Command

Public Member Functions

 BatchEvalCommand (CommandType &type, std::unique_ptr< CommandOutputTarget > &&target)
 
virtual ~BatchEvalCommand ()
 
bool Apply (CommandExecutionContext context) override
 
- Public Member Functions inherited from CommandImplementation
void Progress (double completed)
 
void Status (const wxString &status) override
 
void Error (const wxString &message) override
 
 CommandImplementation (CommandType &type, std::unique_ptr< CommandOutputTarget > &&output)
 
virtual ~CommandImplementation ()
 
wxString GetName ()
 An instance method for getting the command name (for consistency) More...
 
CommandSignatureGetSignature ()
 Get the signature of the command. More...
 
bool SetParameter (const wxString &paramName, const wxVariant &paramValue)
 
bool Apply (CommandExecutionContext context) override
 
- Public Member Functions inherited from Command
virtual ~Command ()
 

Additional Inherited Members

- Protected Member Functions inherited from CommandImplementation
void TypeCheck (const wxString &typeName, const wxString &paramName, const wxVariant &param)
 
void CheckParam (const wxString &paramName)
 
bool GetBool (const wxString &paramName)
 
long GetLong (const wxString &paramName)
 
double GetDouble (const wxString &paramName)
 
wxString GetString (const wxString &paramName)
 
- Protected Attributes inherited from CommandImplementation
std::unique_ptr
< CommandOutputTarget
mOutput
 

Detailed Description

Given a string representing a command, pass it to the BatchCommands system.

The eventual aim is to move the code from BatchCommands out into separate command classes, but until this happens, BatchEvalCommand can act as a 'bridge' to that system.

Constructor & Destructor Documentation

BatchEvalCommand::BatchEvalCommand ( CommandType type,
std::unique_ptr< CommandOutputTarget > &&  target 
)
inline
BatchEvalCommand::~BatchEvalCommand ( )
virtual

Member Function Documentation


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