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

◆ merge()

template<ControlSlot Slot>
template<typename C>
void MayaFlux::ControlValueStore< Slot >::merge ( const C & incoming)
inline

Applies every member of incoming that holds a value.

Definition at line 89 of file ControlValueStore.hpp.

90 {
91 if (m_tag != tag<C>()) {
92 return;
93 }
94
95 merge_members(*static_cast<C*>(m_storage.get()), incoming);
96 }
static const void * tag() noexcept
std::shared_ptr< void > m_storage
static void merge_members(C &live, const C &incoming)
Owns one described struct of Slot members for a host such as a network, an operator or an input node.