Loading...
Searching...
No Matches
score::InterfaceListMain Class Reference
Inheritance diagram for score::InterfaceListMain:

Public Member Functions | |
void | insert_base (std::unique_ptr< score::InterfaceBase > e, score::uuid_t k) |
auto | reserve (std::size_t v) |
auto | size () const noexcept |
auto | empty () const noexcept |
void | optimize () noexcept final override |
optimize Called when all the factories are loaded. | |
![]() | |
InterfaceListBase (const InterfaceListBase &)=delete | |
InterfaceListBase (InterfaceListBase &&)=delete | |
InterfaceListBase & | operator= (const InterfaceListBase &)=delete |
InterfaceListBase & | operator= (InterfaceListBase &&)=delete |
virtual score::InterfaceKey | interfaceKey () const noexcept=0 |
A key that uniquely identifies this family of factories. | |
virtual void | insert (std::unique_ptr< score::InterfaceBase >)=0 |
insert Register a new factory. | |
Public Attributes | |
Nano::Signal< void(const score::InterfaceBase &)> | added |
ossia::hash_map< score::uuid_t, std::unique_ptr< score::InterfaceBase > > | map |
Additional Inherited Members | |
![]() | |
static constexpr bool | factory_list_tag = true |
Member Function Documentation
◆ optimize()
|
finaloverridevirtualnoexcept |
optimize Called when all the factories are loaded.
Optimize a bit the containers in which our factories are stored.
Implements score::InterfaceListBase.
The documentation for this class was generated from the following files:
- InterfaceList.hpp
- InterfaceList.cpp