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

◆ Emitter() [2/2]

MayaFlux::Nexus::Emitter::Emitter ( std::string  fn_name,
InfluenceFn  fn 
)
inline

Construct with a named influence function.

Parameters
fn_nameIdentifier used for state encoding.
fnCalled on every commit with the current context.

Definition at line 42 of file Emitter.hpp.

43 : m_fn_name(std::move(fn_name))
44 , m_fn(std::move(fn))
45 {
46 }
const std::string & fn_name() const
Identifier assigned to the influence function, empty if anonymous.
Definition Emitter.hpp:49
const InfluenceFn & fn() const
The influence function itself.
Definition Emitter.hpp:55