Audacity 3.2.0
Classes | Typedefs | Variables
CommandFlag.h File Reference
#include <bitset>
#include <functional>
#include <utility>
#include "audacity/Types.h"
Include dependency graph for CommandFlag.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  CommandFlagOptions
class  ReservedCommandFlag
struct  MenuItemEnabler
struct  RegisteredMenuItemEnabler


using CommandFlag = std::bitset< NCommandFlags >
using MenuItemEnablers = std::vector< MenuItemEnabler >


constexpr size_t NCommandFlags = 64
constexpr CommandFlag AlwaysEnabledFlag {}
constexpr CommandFlag NoFlagsSpecified { ~0ULL }

Typedef Documentation

◆ CommandFlag

using CommandFlag = std::bitset<NCommandFlags>

Definition at line 30 of file CommandFlag.h.

◆ MenuItemEnablers

using MenuItemEnablers = std::vector<MenuItemEnabler>

Definition at line 122 of file CommandFlag.h.

Variable Documentation

◆ AlwaysEnabledFlag

constexpr CommandFlag AlwaysEnabledFlag {}

◆ NCommandFlags

constexpr size_t NCommandFlags = 64

Definition at line 23 of file CommandFlag.h.

◆ NoFlagsSpecified

constexpr CommandFlag NoFlagsSpecified { ~0ULL }

Definition at line 35 of file CommandFlag.h.

Referenced by CommandManager::AddItem(), and CommandManager::FilterKeyEvent().