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

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