Audacity 3.2.0
Classes | Namespaces | Typedefs | Functions | Variables
CommandManager.h File Reference
#include "Identifier.h"
#include "Callable.h"
#include "ClientData.h"
#include "CommandFunctors.h"
#include "CommandFlag.h"
#include "GlobalVariable.h"
#include "Keyboard.h"
#include "Prefs.h"
#include "Project.h"
#include "Registry.h"
#include <vector>
#include "XMLTagHandler.h"
#include <unordered_map>
Include dependency graph for CommandManager.h:

Go to the source code of this file.


class  CommandManager
 CommandManager implements a system for organizing all user-callable commands. More...
struct  CommandManager::GlobalMenuHook
struct  CommandManager::Options
struct  MenuVisitor
struct  ToolbarMenuVisitor
struct  MenuTable::MenuSection
struct  MenuTable::WholeMenu
struct  MenuTable::MenuItem
struct  MenuTable::ConditionalGroupItem
class  MenuTable::FinderScope
struct  MenuTable::CommandItem
struct  MenuTable::CommandGroupItem
struct  MenuTable::SpecialItem
struct  MenuTable::MenuPart
struct  MenuTable::MenuItems
struct  MenuTable::ItemRegistry
struct  MenuTable::AttachedItem


namespace  MenuTable


using CommandParameter = CommandID
using MenuBarList = std::vector< MenuBarListEntry >
using SubMenuList = std::vector< SubMenuListEntry >
using CommandList = std::vector< std::unique_ptr< CommandListEntry > >
using CommandKeyHash = std::unordered_map< NormalizedKeyString, CommandListEntry * >
using CommandNameHash = std::unordered_map< CommandID, CommandListEntry * >
using CommandNumericIDHash = std::unordered_map< int, CommandListEntry * >


void MenuTable::DestroyRegistry ()


constexpr auto MenuTable::Items = Callable::UniqueMaker<MenuItems>()
constexpr auto MenuTable::Section = Callable::UniqueMaker<MenuPart>()
constexpr auto MenuTable::Menu = Callable::UniqueMaker<MenuItem>()
constexpr auto MenuTable::ConditionalItems = Callable::UniqueMaker<ConditionalGroupItem>()
constexpr auto MenuTable::Command = Callable::UniqueMaker<CommandItem>()
constexpr auto MenuTable::CommandGroup
constexpr auto MenuTable::Special = Callable::UniqueMaker<SpecialItem>()

Typedef Documentation

◆ CommandKeyHash

using CommandKeyHash = std::unordered_map<NormalizedKeyString, CommandListEntry*>

Definition at line 53 of file CommandManager.h.

◆ CommandList

using CommandList = std::vector<std::unique_ptr<CommandListEntry> >

Definition at line 51 of file CommandManager.h.

◆ CommandNameHash

using CommandNameHash = std::unordered_map<CommandID, CommandListEntry*>

Definition at line 54 of file CommandManager.h.

◆ CommandNumericIDHash

using CommandNumericIDHash = std::unordered_map<int, CommandListEntry*>

Definition at line 55 of file CommandManager.h.

◆ CommandParameter

Definition at line 38 of file CommandManager.h.

◆ MenuBarList

using MenuBarList = std::vector < MenuBarListEntry >

Definition at line 46 of file CommandManager.h.

◆ SubMenuList

using SubMenuList = std::vector < SubMenuListEntry >

Definition at line 47 of file CommandManager.h.