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

◆ claim()

std::shared_ptr< Expanse > MayaFlux::Nexus::Tapestry::claim ( std::string  name,
std::shared_ptr< Expanse >  expanse 
)
private

Definition at line 112 of file Tapestry.cpp.

113{
114 const auto [it, inserted] = m_expanses.try_emplace(std::move(name), std::move(expanse));
115 if (!inserted) {
117 "Tapestry::create_expanse: name '{}' already registered, returning existing", it->first);
118 }
119 return it->second;
120}
#define MF_WARN(comp, ctx,...)
std::string name
Definition VKDevice.cpp:123
std::unordered_map< std::string, std::shared_ptr< Expanse > > m_expanses
Definition Tapestry.hpp:170
@ Init
Engine/subsystem initialization.
@ Nexus
Spatial indexing and scheduling for user-defined behaviour.

References MayaFlux::Journal::Init, m_expanses, MF_WARN, name, and MayaFlux::Journal::Nexus.

Referenced by create_expanse(), and create_expanse().

+ Here is the caller graph for this function: