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

#include <GetAllMenuCommands.h>

Inheritance diagram for GetAllMenuCommandsType:
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 26 of file GetAllMenuCommands.h.

Member Function Documentation

wxString GetAllMenuCommandsType::BuildName ( )
overridevirtual

Implements CommandType.

Definition at line 20 of file GetAllMenuCommands.cpp.

21 {
22  return wxT("GetAllMenuCommands");
23 }
void GetAllMenuCommandsType::BuildSignature ( CommandSignature signature)
overridevirtual

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

Implements CommandType.

Definition at line 25 of file GetAllMenuCommands.cpp.

References CommandSignature::AddParameter().

26 {
27  auto showStatusValidator = make_movable<BoolValidator>();
28  signature.AddParameter(wxT("ShowStatus"), false, std::move(showStatusValidator));
29 }
void AddParameter(const wxString &name, const wxVariant &dft, movable_ptr< Validator > &&valid)
CommandHolder GetAllMenuCommandsType::Create ( std::unique_ptr< CommandOutputTarget > &&  target)
overridevirtual

Implements CommandType.

Definition at line 31 of file GetAllMenuCommands.cpp.

32 {
33  return std::make_shared<GetAllMenuCommands>(*this, std::move(target));
34 }

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