Audacity  3.0.3
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:
[legend]
Collaboration diagram for MenuTable::FinderScope:
[legend]

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

Constructor & Destructor Documentation

◆ FinderScope()

MenuTable::FinderScope::FinderScope ( CommandHandlerFinder  finder)
inlineexplicit

Definition at line 492 of file CommandManager.h.

493  : ValueRestorer( sFinder, finder )
494  {}

Member Function Documentation

◆ DefaultFinder()

static CommandHandlerFinder MenuTable::FinderScope::DefaultFinder ( )
inlinestatic

Definition at line 489 of file CommandManager.h.

489 { return sFinder; }

Member Data Documentation

◆ sFinder

CommandHandlerFinder MenuTable::FinderScope::sFinder
staticprivate
Initial value:
=
wxASSERT( false );
return project;
}

Definition at line 486 of file CommandManager.h.


The documentation for this class was generated from the following files:
ValueRestorer< CommandHandlerFinder >::ValueRestorer
ValueRestorer(CommandHandlerFinder &var)
Definition: MemoryX.h:336
AudacityProject
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:92
CommandHandlerObject
wxEvtHandler CommandHandlerObject
Definition: CommandFunctors.h:28
MenuTable::FinderScope::sFinder
static CommandHandlerFinder sFinder
Definition: CommandManager.h:486