Inheritance diagram for Process::OfflineActionList:
score::InterfaceListBase score::IndirectContainer< OfflineAction >

Public Types

using OfflineActions = ossia::small_pod_vector< OfflineAction *, 4 >
 
using factory_type = OfflineAction
 
using key_type = typename OfflineAction::ConcreteKey
 
using vector_type = score::IndirectContainer< OfflineAction >
 
- Public Types inherited from score::IndirectContainer< OfflineAction >
using ctnr_t = std::vector< OfflineAction *, std::allocator< OfflineAction * > >
 
using value_type = OfflineAction
 

Public Member Functions

OfflineActions actionsForProcess (const UuidKey< Process::ProcessModel > &key) const noexcept
 
constexpr score::InterfaceKey interfaceKey () const noexcept final override
 A key that uniquely identifies this family of factories.
 
void insert (std::unique_ptr< score::InterfaceBase > e) final override
 insert Register a new factory. More...
 
OfflineActionget (const key_type &k) const noexcept
 Get a particular factory from its ConcreteKey.
 
- Public Member Functions inherited from score::InterfaceListBase
 InterfaceListBase (const InterfaceListBase &)=delete
 
 InterfaceListBase (InterfaceListBase &&)=delete
 
InterfaceListBaseoperator= (const InterfaceListBase &)=delete
 
InterfaceListBaseoperator= (InterfaceListBase &&)=delete
 
- Public Member Functions inherited from score::IndirectContainer< OfflineAction >
auto begin () noexcept
 
auto begin () const noexcept
 
auto end () noexcept
 
auto end () const noexcept
 
auto rbegin () noexcept
 
auto rbegin () const noexcept
 
auto rend () noexcept
 
auto rend () const noexcept
 
auto cbegin () const noexcept
 
auto cend () const noexcept
 
auto size () const noexcept
 
auto empty () const noexcept
 
auto push_back (OfflineAction *ptr)
 
auto & front () const noexcept
 
auto & back () const noexcept
 
auto & operator[] (int pos) noexcept
 
auto & operator[] (int pos) const noexcept
 

Static Public Member Functions

static constexpr const score::InterfaceKey static_interfaceKey () noexcept
 

Public Attributes

Nano::Signal< void(const factory_type &)> added
 

Protected Member Functions

void optimize () noexcept final override
 optimize Called when all the factories are loaded. More...
 
 OfflineActionList (const OfflineActionList &)=delete
 
 OfflineActionList (OfflineActionList &&)=delete
 
OfflineActionListoperator= (const OfflineActionList &)=delete
 
OfflineActionListoperator= (OfflineActionList &&)=delete
 

Protected Attributes

ossia::hash_map< typename OfflineAction::ConcreteKey, std::unique_ptr< OfflineAction > > map
 
ossia::hash_map< UuidKey< Process::ProcessModel >, OfflineActions > actionsMap
 

Additional Inherited Members

- Static Public Attributes inherited from score::InterfaceListBase
static constexpr bool factory_list_tag = true
 

Member Function Documentation

◆ insert()

void Process::OfflineActionList::insert ( std::unique_ptr< score::InterfaceBase )
inlinefinaloverridevirtual

insert Register a new factory.

All the factories are registered upon loading.

Implements score::InterfaceListBase.

◆ optimize()

void Process::OfflineActionList::optimize ( )
inlinefinaloverrideprotectedvirtualnoexcept

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: