Audacity 3.2.0
Public Types | Public Member Functions | List of all members
Registry::detail::IndirectItem< Item > Struct Template Referencefinal

An item that delegates to another held in a shared pointer. More...

#include <Registry.h>

Inheritance diagram for Registry::detail::IndirectItem< Item >:
[legend]
Collaboration diagram for Registry::detail::IndirectItem< Item >:
[legend]

Public Types

using ItemType = Item
 

Public Member Functions

 IndirectItem (const std::shared_ptr< Item > &ptr)
 
- Public Member Functions inherited from Registry::detail::IndirectItemBase
 IndirectItemBase (const BaseItemSharedPtr &ptr)
 
 ~IndirectItemBase () override
 
- Public Member Functions inherited from Registry::detail::BaseItem
 BaseItem (const Identifier &internalName)
 
virtual ~BaseItem ()
 

Additional Inherited Members

- Public Attributes inherited from Registry::detail::IndirectItemBase
BaseItemSharedPtr ptr
 
- Public Attributes inherited from Registry::detail::BaseItem
const Identifier name
 
OrderingHint orderingHint
 

Detailed Description

template<typename Item>
struct Registry::detail::IndirectItem< Item >

An item that delegates to another held in a shared pointer.

This allows static tables of items to be computed once and reused. The name of the delegate is significant for path calculations, but the IndirectItem's ordering hint is used if the delegate has none

Definition at line 164 of file Registry.h.

Member Typedef Documentation

◆ ItemType

template<typename Item >
using Registry::detail::IndirectItem< Item >::ItemType = Item

Definition at line 165 of file Registry.h.

Constructor & Destructor Documentation

◆ IndirectItem()

template<typename Item >
Registry::detail::IndirectItem< Item >::IndirectItem ( const std::shared_ptr< Item > &  ptr)
inlineexplicit

Definition at line 167 of file Registry.h.

169 {}
IndirectItemBase(const BaseItemSharedPtr &ptr)
Definition: Registry.h:96

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