Audacity 3.2.0
Public Types | Public Member Functions | Public Attributes | List of all members
Registry::ComputedItem Struct Referencefinal

#include <Registry.h>

Inheritance diagram for Registry::ComputedItem:
[legend]
Collaboration diagram for Registry::ComputedItem:
[legend]

Public Types

template<typename VisitorType >
using Factory = std::function< BaseItemSharedPtr(VisitorType &) >
 
using DefaultVisitor = Visitor
 

Public Member Functions

 ComputedItem (const Factory< DefaultVisitor > &factory_)
 
 ~ComputedItem () override
 
- Public Member Functions inherited from Registry::BaseItem
 BaseItem (const Identifier &internalName)
 
virtual ~BaseItem ()
 

Public Attributes

Factory< DefaultVisitorfactory
 
- Public Attributes inherited from Registry::BaseItem
const Identifier name
 
OrderingHint orderingHint
 

Detailed Description

Definition at line 100 of file Registry.h.

Member Typedef Documentation

◆ DefaultVisitor

Definition at line 108 of file Registry.h.

◆ Factory

template<typename VisitorType >
using Registry::ComputedItem::Factory = std::function< BaseItemSharedPtr( VisitorType & ) >

Definition at line 106 of file Registry.h.

Constructor & Destructor Documentation

◆ ComputedItem()

Registry::ComputedItem::ComputedItem ( const Factory< DefaultVisitor > &  factory_)
inlineexplicit

Definition at line 110 of file Registry.h.

111 : BaseItem( wxEmptyString )
112 , factory{ factory_ }
113 {}
BaseItem(const Identifier &internalName)
Definition: Registry.h:62
Factory< DefaultVisitor > factory
Definition: Registry.h:116

◆ ~ComputedItem()

Registry::ComputedItem::~ComputedItem ( )
override

Definition at line 702 of file Registry.cpp.

702{}

Member Data Documentation

◆ factory

Factory< DefaultVisitor > Registry::ComputedItem::factory

Definition at line 116 of file Registry.h.


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