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

#include <CompareAudioCommand.h>

Inheritance diagram for CompareAudioCommandType:
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 25 of file CompareAudioCommand.h.

Member Function Documentation

wxString CompareAudioCommandType::BuildName ( )
overridevirtual

Implements CommandType.

Definition at line 26 of file CompareAudioCommand.cpp.

27 {
28  return wxT("CompareAudio");
29 }
void CompareAudioCommandType::BuildSignature ( CommandSignature signature)
overridevirtual

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

Implements CommandType.

Definition at line 31 of file CompareAudioCommand.cpp.

References CommandSignature::AddParameter().

32 {
33  auto thresholdValidator = make_movable<DoubleValidator>();
34  signature.AddParameter(wxT("Threshold"), 0.0, std::move(thresholdValidator));
35 }
void AddParameter(const wxString &name, const wxVariant &dft, movable_ptr< Validator > &&valid)
CommandHolder CompareAudioCommandType::Create ( std::unique_ptr< CommandOutputTarget > &&  target)
overridevirtual

Implements CommandType.

Definition at line 37 of file CompareAudioCommand.cpp.

38 {
39  return std::make_shared<CompareAudioCommand>(*this, std::move(target));
40 }

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