Audacity 3.2.0
|
#include <Registry.h>
Public Types | |
using | Context = typename RegistryTraits::ComputedItemContextType |
Public Member Functions | |
template<typename ItemType > | |
auto | operator() (std::unique_ptr< ItemType > ptr) const |
template<typename Factory , typename ItemType = typename std::invoke_result_t<Factory, Context&>::element_type> | |
auto | operator() (const Factory &factory) const |
template<typename ItemType > | |
auto | operator() (const std::shared_ptr< ItemType > &ptr) const |
This overload lets you supply a shared pointer to an item, directly. More... | |
Definition at line 337 of file Registry.h.
using Registry::detail::Builder< RegistryTraits >::Context = typename RegistryTraits::ComputedItemContextType |
Definition at line 338 of file Registry.h.
|
inline |
This overload allows a lambda or function pointer in the variadic argument lists without any other syntactic wrapping.
Definition at line 351 of file Registry.h.
References factory.
|
inline |
This overload lets you supply a shared pointer to an item, directly.
Definition at line 357 of file Registry.h.
|
inline |
Definition at line 341 of file Registry.h.