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

Public Member Functions

 ImporterItem (const Identifier &id, std::unique_ptr< ImportPlugin > pPlugin)
 
 ~ImporterItem ()
 
- 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

std::unique_ptr< ImportPluginmpPlugin
 
- Public Attributes inherited from Registry::detail::BaseItem
const Identifier name
 
OrderingHint orderingHint
 

Detailed Description

Definition at line 190 of file Import.h.

Constructor & Destructor Documentation

◆ ImporterItem()

Importer::ImporterItem::ImporterItem ( const Identifier id,
std::unique_ptr< ImportPlugin pPlugin 
)

Definition at line 134 of file Import.cpp.

135 : SingleItem{ id }
136 , mpPlugin{ std::move( pPlugin ) }
137{}
std::unique_ptr< ImportPlugin > mpPlugin
Definition: Import.h:195
Common abstract base class for items that are not groups.
Definition: Registry.h:224

◆ ~ImporterItem()

Importer::ImporterItem::~ImporterItem ( )
default

Member Function Documentation

◆ Registry()

auto Importer::ImporterItem::Registry ( )
static

Definition at line 128 of file Import.cpp.

129{
130 static Registry::GroupItem<Traits> registry{ PathStart };
131 return registry;
132}
static const auto PathStart
Definition: Import.cpp:123

References anonymous_namespace{Import.cpp}::PathStart.

Referenced by Importer::Initialize().

Here is the caller graph for this function:

Member Data Documentation

◆ mpPlugin

std::unique_ptr<ImportPlugin> Importer::ImporterItem::mpPlugin

Definition at line 195 of file Import.h.

Referenced by Importer::Initialize().


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