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

Constructor & Destructor Documentation

◆ FinderScope()

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

Definition at line 495 of file CommandManager.h.

496 : ValueRestorer( sFinder, finder )
497 { 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 491 of file CommandManager.h.

491{ return sFinder; }

Member Data Documentation

◆ sFinder

CommandHandlerFinder MenuTable::FinderScope::sFinder
Initial value:
wxASSERT( false );
return project;
wxEvtHandler CommandHandlerObject
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 487 of file CommandManager.h.

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