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

◆ Emitter() [3/3]

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 56 of file Emitter.hpp.

57 : m_fn_name(std::move(fn_name))
58 , m_fn(std::move(fn))
59 {
60 }
const std::string & fn_name() const
Identifier assigned to the influence function, empty if anonymous.
Definition Emitter.hpp:63
const InfluenceFn & fn() const
The influence function itself.
Definition Emitter.hpp:69