Audacity 3.2.0
|
#include <MenuRegistry.h>
Public Member Functions | |
CommandItem (const CommandID &name_, const TranslatableString &label_in_, CommandFunctorPointer callback_, CommandFlag flags_, const Options &options_, CommandHandlerFinder finder_) | |
template<typename Handler > | |
CommandItem (const CommandID &name, const TranslatableString &label_in, void(Handler::*pmf)(const CommandContext &), CommandFlag flags, const Options &options={}, CommandHandlerFinder finder=FinderScope::DefaultFinder()) | |
CommandItem (const CommandID &name, const TranslatableString &label_in, CommandFunctorPointer::NonMemberFn callback, CommandFlag flags, const 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 |
Options | options |
Public Attributes inherited from Registry::detail::BaseItem | |
const Identifier | name |
OrderingHint | orderingHint |
Definition at line 281 of file MenuRegistry.h.
MenuRegistry::CommandItem::CommandItem | ( | const CommandID & | name_, |
const TranslatableString & | label_in_, | ||
CommandFunctorPointer | callback_, | ||
CommandFlag | flags_, | ||
const Options & | options_, | ||
CommandHandlerFinder | finder_ | ||
) |
Definition at line 134 of file MenuRegistry.cpp.
|
inline |
finder != nullptr
Definition at line 295 of file MenuRegistry.h.
|
inline |
Definition at line 309 of file MenuRegistry.h.
|
override |
Definition at line 144 of file MenuRegistry.cpp.
CommandFunctorPointer MenuRegistry::CommandItem::callback |
Definition at line 323 of file MenuRegistry.h.
CommandHandlerFinder MenuRegistry::CommandItem::finder |
Definition at line 322 of file MenuRegistry.h.
CommandFlag MenuRegistry::CommandItem::flags |
Definition at line 324 of file MenuRegistry.h.
const TranslatableString MenuRegistry::CommandItem::label_in |
Definition at line 321 of file MenuRegistry.h.
Referenced by anonymous_namespace{RealtimeEffectPanel.cpp}::RealtimeEffectsMenuVisitor::RealtimeEffectsMenuVisitor().
Options MenuRegistry::CommandItem::options |
Definition at line 325 of file MenuRegistry.h.