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

◆ add_entry()

template<typename T >
std::shared_ptr< Influence< T, CrossingContext > > MayaFlux::Nexus::Expanse::add_entry ( typename Influence< T, CrossingContext >::Producer  producer)
inline

Add an action of any type that runs when an entity enters.

Template Parameters
TType the producer returns; whatever the targets take.
Parameters
producerBuilds the value from the crossing context.
Returns
The influence, to add its targets with Influence::add_target.

Definition at line 200 of file Expanse.hpp.

202 {
203 return add_action<T>(m_entries, std::move(producer));
204 }