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 534 of file CommandManager.h.

Constructor & Destructor Documentation

◆ FinderScope()

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

Definition at line 544 of file CommandManager.h.

545 : ValueRestorer( sFinder, finder )
546 { 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 540 of file CommandManager.h.

540{ 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 536 of file CommandManager.h.

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