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

◆ resolve_influence_fn()

std::shared_ptr< Emitter::InfluenceFn > MayaFlux::Nexus::Fabric::resolve_influence_fn ( std::string_view  name) const

Look up a registered influence function by name.

Returns
Shared pointer to the stored function, or nullptr if not found.

Definition at line 292 of file Fabric.cpp.

293{
294 auto it = m_influence_fns.find(std::string(name));
295 return it != m_influence_fns.end() ? it->second : nullptr;
296}
const std::string & name() const
Assigned name, empty if the Fabric was constructed outside a Tapestry.
Definition Fabric.hpp:66
std::unordered_map< std::string, std::shared_ptr< Emitter::InfluenceFn > > m_influence_fns
Definition Fabric.hpp:228

References m_influence_fns, and name().

Referenced by MayaFlux::Nexus::StateDecoder::reconstruct().

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