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

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

#include <Registry.h>

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

Public Member Functions

 IndirectItem (const BaseItemSharedPtr &ptr_)
 
 ~IndirectItem () override
 
- Public Member Functions inherited from Registry::BaseItem
 BaseItem (const Identifier &internalName)
 
virtual ~BaseItem ()
 

Public Attributes

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

Detailed Description

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 86 of file Registry.h.

Constructor & Destructor Documentation

◆ IndirectItem()

Registry::IndirectItem::IndirectItem ( const BaseItemSharedPtr ptr_)
inlineexplicit

Definition at line 87 of file Registry.h.

88 : BaseItem{ wxEmptyString }
89 , ptr{ ptr_ }
90 {}
BaseItem(const Identifier &internalName)
Definition: Registry.h:64
BaseItemSharedPtr ptr
Definition: Registry.h:93

◆ ~IndirectItem()

Registry::IndirectItem::~IndirectItem ( )
override

Definition at line 723 of file Registry.cpp.

723{}

Member Data Documentation

◆ ptr

BaseItemSharedPtr Registry::IndirectItem::ptr

Definition at line 93 of file Registry.h.


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