Audacity 3.2.0
Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
MenuTable::FinderScope Class Reference

#include <CommandManager.h>

Inheritance diagram for MenuTable::FinderScope:
Collaboration diagram for MenuTable::FinderScope:

Public Member Functions

 FinderScope (CommandHandlerFinder finder)

Static Public Member Functions

static CommandHandlerFinder DefaultFinder ()

Static Private Attributes

static CommandHandlerFinder sFinder

Additional Inherited Members

- Private Member Functions inherited from ValueRestorer< CommandHandlerFinder >
 ValueRestorer (CommandHandlerFinder &var)
 ValueRestorer (CommandHandlerFinder &var, const CommandHandlerFinder &newValue)
 ValueRestorer (ValueRestorer &&that)
ValueRestoreroperator= (ValueRestorer &&that)

Detailed Description

Definition at line 482 of file CommandManager.h.

Constructor & Destructor Documentation

◆ FinderScope()

MenuTable::FinderScope::FinderScope ( CommandHandlerFinder  finder)
finder != nullptr

Definition at line 492 of file CommandManager.h.

493 : ValueRestorer( sFinder, finder )
494 { assert(finder); }
static CommandHandlerFinder sFinder
ValueRestorer(CommandHandlerFinder &var)
Definition: MemoryX.h:216

Member Function Documentation

◆ DefaultFinder()

static CommandHandlerFinder MenuTable::FinderScope::DefaultFinder ( )
result: result != nullptr

Definition at line 488 of file CommandManager.h.

488{ return sFinder; }

Member Data Documentation

◆ sFinder

CommandHandlerFinder MenuTable::FinderScope::sFinder
Initial value:
wxASSERT( false );
return project;
wxEvtHandler CommandHandlerObject
const auto project
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90

Definition at line 484 of file CommandManager.h.

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