MayaFlux 1.0.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 344 of file Fabric.cpp.

345{
346 auto it = m_influence_fns.find(std::string(name));
347 return it != m_influence_fns.end() ? it->second : nullptr;
348}
const std::string & name() const
Assigned name, empty if the Fabric was constructed outside a Tapestry.
Definition Fabric.hpp:67
std::unordered_map< std::string, std::shared_ptr< Emitter::InfluenceFn > > m_influence_fns
Definition Fabric.hpp:300

References m_influence_fns, and name().

+ Here is the call graph for this function: