Audacity 3.2.0
Public Member Functions | List of all members
MenuTable::MenuItem Struct Referencefinal

#include <CommandManager.h>

Inheritance diagram for MenuTable::MenuItem:
Collaboration diagram for MenuTable::MenuItem:

Public Member Functions

 ~MenuItem () override
const auto & GetTitle () const
Properties GetProperties () const override
- Public Member Functions inherited from Composite::Extension< GroupItem< Traits >, MenuItemData, const Identifier & >
 Extension (RequiredBaseArgs... args, MenuItemData arg2, OtherBaseArgs &&...otherArgs)
- Public Member Functions inherited from Registry::GroupItem< Traits >
 ~GroupItem () override=default
- Public Member Functions inherited from Composite::Builder< detail::GroupItemBase, GroupItem< Traits >, const Identifier & >
auto push_back (Arg &&arg) -> std::enable_if_t< Traits< detail::GroupItemBase, GroupItem< Traits > > ::template enables_item_type_v< Arg >, void >
void push_back (typename Base::value_type arg)
 Builder (BaseArgs... args, Items &&... items)
 Variadic constructor. More...
 Builder (BaseArgs... args, InputIterator begin, InputIterator end)
 Iterator range constructor, with default transformer. More...
 Builder (BaseArgs... args, InputIterator begin, InputIterator end, Transformer transformer)
 Iterator range constructor, with explicit transformer. More...
- Public Member Functions inherited from MenuTable::MenuItemProperties
virtual ~MenuItemProperties ()
virtual Properties GetProperties () const =0

Additional Inherited Members

- Public Types inherited from Composite::Builder< detail::GroupItemBase, GroupItem< Traits >, const Identifier & >
using BaseType = detail::GroupItemBase
- Public Types inherited from MenuTable::MenuItemProperties
enum  Properties {
  None , Inline , Section , Whole ,

Detailed Description

Definition at line 497 of file CommandManager.h.

Constructor & Destructor Documentation

◆ ~MenuItem()

MenuTable::MenuItem::~MenuItem ( )

Definition at line 207 of file Menus.cpp.


Member Function Documentation

◆ GetProperties()

auto MenuTable::MenuItem::GetProperties ( ) const

Implements MenuTable::MenuItemProperties.

Definition at line 208 of file Menus.cpp.

◆ GetTitle()

const auto & MenuTable::MenuItem::GetTitle ( ) const

Definition at line 505 of file CommandManager.h.

505{ return mTitle; }

Referenced by anonymous_namespace{Menus.cpp}::MenuItemVisitor::MenuItemVisitor(), and anonymous_namespace{RealtimeEffectPanel.cpp}::RealtimeEffectsMenuVisitor::RealtimeEffectsMenuVisitor().

Here is the caller graph for this function:

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