Audacity  2.2.2
BatchEvalCommand.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3  Audacity: A Digital Audio Editor
4  Audacity(R) is copyright (c) 1999-2009 Audacity Team.
5  File License: wxwidgets
6 
7  BatchEvalCommand.h
8  Dan Horgan
9 
10 ******************************************************************//*******************************************************************/
21 
22 #ifndef __BATCHEVALCOMMAND__
23 #define __BATCHEVALCOMMAND__
24 
25 #include "Command.h"
26 #include "CommandType.h"
27 #include "../BatchCommands.h"
28 
30 {
31 public:
33  void BuildSignature(CommandSignature &signature) override;
34  OldStyleCommandPointer Create(std::unique_ptr<CommandOutputTargets> &&target) override;
35 };
36 
38 {
39 public:
41  : CommandImplementation(type)
42  { }
43 
44  virtual ~BatchEvalCommand();
45  bool Apply(const CommandContext &context) override;
46 };
47 
48 #endif /* End of include guard: __BATCHEVALCOMMAND__ */
void BuildSignature(CommandSignature &signature) override
Postcondition: signature is a 'signature' map containing parameter.
Contains declarations for CommandType class.
Base class for containing data common to all commands of a given type. Also acts as a factory...
Definition: CommandType.h:44
Contains declaration of Command base class.
CommandContext provides addiitonal information to an 'Apply()' command. It provides the project...
bool Apply() override
Definition: Command.h:122
virtual ~BatchEvalCommand()
is derived from OldStyleCommand. It validates and applies the command. CommandImplementation::Apply()...
Definition: Command.h:77
BatchEvalCommand(OldStyleCommandType &type)
The <something>CommandType classes are classes which are going away. They all provided a BuildSignatu...
IdentInterfaceSymbol pairs a persistent string identifier used internally with an optional...
Given a string representing a command, pass it to the MacroCommands system.
OldStyleCommandPointer Create(std::unique_ptr< CommandOutputTargets > &&target) override
OldStyleCommandPointer is a unique_ptr to an OldStyleCommand.
Class that maps parameter names to default values and validators.
IdentInterfaceSymbol BuildName() override