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

#include <MenuRegistry.h>

Inheritance diagram for MenuRegistry::FinderScope:
Collaboration diagram for MenuRegistry::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 265 of file MenuRegistry.h.

Constructor & Destructor Documentation

◆ FinderScope()

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

Definition at line 275 of file MenuRegistry.h.

277 { assert(finder); }
static CommandHandlerFinder sFinder
Definition: MenuRegistry.h:267
ValueRestorer(CommandHandlerFinder &var)
Definition: MemoryX.h:215
auto finder(TrackId id, int &distance)

References anonymous_namespace{PendingTracks.cpp}::finder().

Here is the call graph for this function:

Member Function Documentation

◆ DefaultFinder()

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

Definition at line 271 of file MenuRegistry.h.

271{ return sFinder; }

Member Data Documentation

◆ sFinder

CommandHandlerFinder MenuRegistry::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 267 of file MenuRegistry.h.

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