MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ declare()

template<typename Key, ControlSlot Slot>
template<typename C>
C & MayaFlux::ControlValueTable< Key, Slot >::declare ( const Key & key)
inlinenodiscard

Creates the store of key, replacing any it had, and returns its struct.

Definition at line 312 of file ControlValueStore.hpp.

313 {
314 auto& store = m_stores[key];
316 return store->template declare<C>();
317 }
std::map< Key, std::unique_ptr< Store > > m_stores
C & declare(const Key &key)
Creates the store of key, replacing any it had, and returns its struct.
One ControlValueStore per key, for a host with a runtime count of tunable groups.

References declare(), m_stores, and MayaFlux::store().

Referenced by declare().

Here is the call graph for this function:
Here is the caller graph for this function: