|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::schedule_sequence | ( | std::vector< std::pair< double, std::function< void()> > > | sequence, |
| std::string | name = "", |
||
| Vruta::ProcessingToken | token = Vruta::ProcessingToken::SAMPLE_ACCURATE |
||
| ) |
Creates a sequence task that calls functions at specified times and addes it to the default scheduler list for evaluation.
| sequence | Vector of (time, function) pairs |
| name | Name of the metronome task (optional but recommended). If not provided, a default name will be generated. |
| token | Processing token to determine which scheduler rate to use (default: SAMPLE_ACCURATE) |
Uses the task scheduler from the default engine.
Definition at line 49 of file Chronie.cpp.
References get_scheduler(), and MayaFlux::Kriya::sequence().
Here is the call graph for this function: