Audacity 3.2.0
Public Types | Public Member Functions | Static Public Member Functions | List of all members
RegisteredToolbarFactory Struct Reference

#include <ToolBar.h>

Public Types

using Function = std::function< ToolBar::Holder(AudacityProject &) >
 
using Functions = std::vector< Function >
 

Public Member Functions

 RegisteredToolbarFactory (const Function &function)
 

Static Public Member Functions

static const FunctionsGetFactories ()
 

Detailed Description

Definition at line 276 of file ToolBar.h.

Member Typedef Documentation

◆ Function

Definition at line 277 of file ToolBar.h.

◆ Functions

Definition at line 278 of file ToolBar.h.

Constructor & Destructor Documentation

◆ RegisteredToolbarFactory()

RegisteredToolbarFactory::RegisteredToolbarFactory ( const Function function)

Definition at line 1006 of file ToolBar.cpp.

1007{
1008 GetFunctions().emplace_back(function);
1009}
RegisteredToolbarFactory::Functions & GetFunctions()
Definition: ToolBar.cpp:998

References anonymous_namespace{ToolBar.cpp}::GetFunctions().

Here is the call graph for this function:

Member Function Documentation

◆ GetFactories()

auto RegisteredToolbarFactory::GetFactories ( )
static

Definition at line 1011 of file ToolBar.cpp.

1012{
1013 return GetFunctions();
1014}

References anonymous_namespace{ToolBar.cpp}::GetFunctions().

Referenced by ToolManager::CreateWindows().

Here is the call graph for this function:
Here is the caller graph for this function:

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