Audacity 3.2.0
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
LibraryPrefs::PopulatorItem Struct Referencefinal
Inheritance diagram for LibraryPrefs::PopulatorItem:
[legend]
Collaboration diagram for LibraryPrefs::PopulatorItem:
[legend]

Public Member Functions

 PopulatorItem (const Identifier &id, Populator populator)
 
- Public Member Functions inherited from Registry::SingleItem
 ~SingleItem () override=0
 
- Public Member Functions inherited from Registry::detail::BaseItem
 BaseItem (const Identifier &internalName)
 
virtual ~BaseItem ()
 

Static Public Member Functions

static Registry::GroupItem< Traits > & Registry ()
 

Public Attributes

Populator mPopulator
 
- Public Attributes inherited from Registry::detail::BaseItem
const Identifier name
 
OrderingHint orderingHint
 

Detailed Description

Definition at line 62 of file LibraryPrefs.h.

Constructor & Destructor Documentation

◆ PopulatorItem()

LibraryPrefs::PopulatorItem::PopulatorItem ( const Identifier id,
Populator  populator 
)

Definition at line 36 of file LibraryPrefs.cpp.

38 : SingleItem{ id }
39 , mPopulator{ move(populator) }
40{}
Common abstract base class for items that are not groups.
Definition: Registry.h:224

Member Function Documentation

◆ Registry()

auto LibraryPrefs::PopulatorItem::Registry ( )
static

Definition at line 30 of file LibraryPrefs.cpp.

31{
32 static Registry::GroupItem<Traits> registry{ PathStart };
33 return registry;
34}
static const auto PathStart

References PathStart.

Referenced by LibraryPrefs::RegisteredControls::Any(), LibraryPrefs::RegisteredControls::Init::Init(), and LibraryPrefs::PopulateOrExchange().

Here is the caller graph for this function:

Member Data Documentation

◆ mPopulator

Populator LibraryPrefs::PopulatorItem::mPopulator

Definition at line 67 of file LibraryPrefs.h.

Referenced by LibraryPrefs::PopulateOrExchange().


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