|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nodes::Generator::Impulse::on_impulse | ( | const NodeHook & | callback | ) |
Registers a callback for every impulse.
| callback | Function to call when an impulse occurs |
This method allows external components to monitor or react to every impulse produced by the generator. The callback receives a GeneratorContext containing the generated value and generator parameters like frequency, amplitude, and phase.
Definition at line 170 of file Impulse.cpp.
References m_impulse_callbacks, and MayaFlux::Nodes::safe_add_callback().
Here is the call graph for this function: