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

#include <MenuRegistry.h>

Inheritance diagram for MenuRegistry::MenuItem:
[legend]
Collaboration diagram for MenuRegistry::MenuItem:
[legend]

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 MenuRegistry::ItemProperties
virtual ~ItemProperties ()=default
 
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 MenuRegistry::ItemProperties
enum  Properties {
  None , Inline , Section , Whole ,
  Extension
}
 

Detailed Description

Definition at line 218 of file MenuRegistry.h.

Constructor & Destructor Documentation

◆ ~MenuItem()

MenuRegistry::MenuItem::~MenuItem ( )
override

Definition at line 129 of file MenuRegistry.cpp.

129{}

Member Function Documentation

◆ GetProperties()

auto MenuRegistry::MenuItem::GetProperties ( ) const
overridevirtual

Implements MenuRegistry::ItemProperties.

Definition at line 130 of file MenuRegistry.cpp.

◆ GetTitle()

const auto & MenuRegistry::MenuItem::GetTitle ( ) const
inline

Definition at line 226 of file MenuRegistry.h.

226{ return mTitle; }

Referenced by 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: