|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Kakshya::PlotProcessor::bind_callable | ( | uint32_t | series_index, |
| std::function< void(std::vector< double > &)> | fn | ||
| ) |
Bind a series slot to a callable.
Each process() calls fn with the series vector by reference. The callable fills or mutates it freely. Suitable for computed series, ring buffer views, and any source that does not fit the other patterns.
| series_index | Index returned by PlotContainer::add_series(). |
| fn | Callable invoked with the series vector each process(). |
Definition at line 78 of file PlotProcessor.cpp.
References b, CALLABLE, m_bindings, and MF_ERROR.