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

◆ invoke()

void MayaFlux::Nexus::Sensor::invoke ( const PerceptionContext &  ctx) const
inline

Invoke the perception function with the supplied context.

Parameters
ctxPopulated context for this commit.

Definition at line 124 of file Sensor.hpp.

125 {
126 if (m_perception) {
127 m_perception(ctx);
128 }
129 if (m_fn) {
130 m_fn(ctx);
131 }
132 }
PerceptionFn m_perception
Definition Sensor.hpp:139