Audacity 3.2.0
|
#include <CommandManager.h>
Public Member Functions | |
CommandItem (const CommandID &name_, const TranslatableString &label_in_, CommandFunctorPointer callback_, CommandFlag flags_, const CommandManager::Options &options_, CommandHandlerFinder finder_) | |
template<typename Handler > | |
CommandItem (const CommandID &name, const TranslatableString &label_in, void(Handler::*pmf)(const CommandContext &), CommandFlag flags, const CommandManager::Options &options={}, CommandHandlerFinder finder=FinderScope::DefaultFinder()) | |
CommandItem (const CommandID &name, const TranslatableString &label_in, CommandFunctorPointer::NonMemberFn callback, CommandFlag flags, const CommandManager::Options &options={}) | |
~CommandItem () override | |
Public Member Functions inherited from Registry::SingleItem | |
~SingleItem () override=0 | |
Public Member Functions inherited from Registry::detail::BaseItem | |
BaseItem (const Identifier &internalName) | |
virtual | ~BaseItem () |
Public Attributes | |
const TranslatableString | label_in |
CommandHandlerFinder | finder |
CommandFunctorPointer | callback |
CommandFlag | flags |
CommandManager::Options | options |
Public Attributes inherited from Registry::detail::BaseItem | |
const Identifier | name |
OrderingHint | orderingHint |
Definition at line 550 of file CommandManager.h.
MenuTable::CommandItem::CommandItem | ( | const CommandID & | name_, |
const TranslatableString & | label_in_, | ||
CommandFunctorPointer | callback_, | ||
CommandFlag | flags_, | ||
const CommandManager::Options & | options_, | ||
CommandHandlerFinder | finder_ | ||
) |
Definition at line 212 of file Menus.cpp.
|
inline |
finder != nullptr
Definition at line 564 of file CommandManager.h.
|
inline |
Definition at line 578 of file CommandManager.h.
CommandFunctorPointer MenuTable::CommandItem::callback |
Definition at line 592 of file CommandManager.h.
Referenced by anonymous_namespace{Menus.cpp}::MenuItemVisitor::MenuItemVisitor().
CommandHandlerFinder MenuTable::CommandItem::finder |
Definition at line 591 of file CommandManager.h.
Referenced by anonymous_namespace{Menus.cpp}::MenuItemVisitor::MenuItemVisitor().
CommandFlag MenuTable::CommandItem::flags |
Definition at line 593 of file CommandManager.h.
Referenced by anonymous_namespace{Menus.cpp}::MenuItemVisitor::MenuItemVisitor().
const TranslatableString MenuTable::CommandItem::label_in |
Definition at line 590 of file CommandManager.h.
Referenced by anonymous_namespace{Menus.cpp}::MenuItemVisitor::MenuItemVisitor(), and anonymous_namespace{RealtimeEffectPanel.cpp}::RealtimeEffectsMenuVisitor::RealtimeEffectsMenuVisitor().
CommandManager::Options MenuTable::CommandItem::options |
Definition at line 594 of file CommandManager.h.
Referenced by anonymous_namespace{Menus.cpp}::MenuItemVisitor::MenuItemVisitor().