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

◆ bind() [1/5]

Wiring & MayaFlux::Nexus::Wiring::bind ( )

Call the entity's influence function once immediately.

No coroutine is created. If for_duration was set, a Timer fires the detach function after expiry.

Definition at line 141 of file Wiring.cpp.

142{
143 m_bind_attach = [this]() { m_fabric.fire(m_entity_id); };
144 return *this;
145}
void fire(uint32_t id)
Fire a single object against the current snapshot without republishing.
Definition Fabric.cpp:185
std::optional< std::function< void()> > m_bind_attach
Definition Wiring.hpp:243

References MayaFlux::Nexus::Fabric::fire(), m_bind_attach, m_entity_id, and m_fabric.

+ Here is the call graph for this function: