Audacity 3.2.0
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
29class AudacityProject;
30
32{
33public:
34 ComponentInterfaceSymbol BuildName() const override;
35 void BuildSignature(CommandSignature &signature) override;
37 std::unique_ptr<CommandOutputTargets> &&target) override;
38};
39
41{
42public:
45 { }
46
47 virtual ~BatchEvalCommand();
48 bool Apply(const CommandContext &context) override;
49};
50
51#endif /* End of include guard: __BATCHEVALCOMMAND__ */
Contains declaration of Command base class.
Contains declarations for CommandType class.
const auto project
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
Given a string representing a command, pass it to the MacroCommands system.
BatchEvalCommand(AudacityProject &project, OldStyleCommandType &type)
virtual ~BatchEvalCommand()
The <something>CommandType classes are classes which are going away. They all provided a BuildSignatu...
void BuildSignature(CommandSignature &signature) override
Postcondition: signature is a 'signature' map containing parameter.
ComponentInterfaceSymbol BuildName() const override
OldStyleCommandPointer Create(AudacityProject &project, std::unique_ptr< CommandOutputTargets > &&target) override
CommandContext provides additional information to an 'Apply()' command. It provides the project,...
is derived from OldStyleCommand. It validates and applies the command. CommandImplementation::Apply()...
Definition: Command.h:77
bool Apply() override
Definition: Command.h:121
Class that maps parameter names to default values and validators.
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
OldStyleCommandPointer is a unique_ptr to an OldStyleCommand.
Base class for containing data common to all commands of a given type. Also acts as a factory.
Definition: CommandType.h:45