Audacity  2.2.2
Public Member Functions | List of all members
BatchEvalCommandType Class Referencefinal

#include <BatchEvalCommand.h>

Inheritance diagram for BatchEvalCommandType:
CommandType

Public Member Functions

wxString BuildName () override
 
void BuildSignature (CommandSignature &signature) override
 Postcondition: signature is a 'signature' map containing parameter. More...
 
CommandHolder Create (std::unique_ptr< CommandOutputTarget > &&target) override
 
- Public Member Functions inherited from CommandType
 CommandType ()
 
virtual ~CommandType ()
 
const wxString & GetName ()
 
CommandSignatureGetSignature ()
 
wxString Describe ()
 

Detailed Description

Definition at line 29 of file BatchEvalCommand.h.

Member Function Documentation

wxString BatchEvalCommandType::BuildName ( )
overridevirtual

Implements CommandType.

Definition at line 18 of file BatchEvalCommand.cpp.

19 {
20  return wxT("BatchCommand");
21 }
void BatchEvalCommandType::BuildSignature ( CommandSignature signature)
overridevirtual

Postcondition: signature is a 'signature' map containing parameter.

Implements CommandType.

Definition at line 23 of file BatchEvalCommand.cpp.

References CommandSignature::AddParameter().

24 {
25  auto commandNameValidator = make_movable<DefaultValidator>();
26  signature.AddParameter(wxT("CommandName"), wxT(""), std::move(commandNameValidator));
27  auto paramValidator = make_movable<DefaultValidator>();
28  signature.AddParameter(wxT("ParamString"), wxT(""), std::move(paramValidator));
29  auto chainValidator = make_movable<DefaultValidator>();
30  signature.AddParameter(wxT("ChainName"), wxT(""), std::move(chainValidator));
31 }
void AddParameter(const wxString &name, const wxVariant &dft, movable_ptr< Validator > &&valid)
CommandHolder BatchEvalCommandType::Create ( std::unique_ptr< CommandOutputTarget > &&  target)
overridevirtual

Implements CommandType.

Definition at line 33 of file BatchEvalCommand.cpp.

34 {
35  return std::make_shared<BatchEvalCommand>(*this, std::move(target));
36 }

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