|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::schedule_pattern | ( | Generator | generator, |
| Callback | callback, | ||
| Condition | ready, | ||
| std::string | name = "", | ||
| Vruta::ProcessingToken | token = Vruta::ProcessingToken::SAMPLE_ACCURATE ) |
Schedules a typed pattern driven by a condition.
| Index | Step index type, default uint64_t |
| generator | Callable from the step index to any value |
| callback | Callable that takes the generated value |
| ready | A condition for the step index |
| name | Name of the pattern task (optional but recommended) |
| token | Processing token to determine which scheduler rate to use (default: SAMPLE_ACCURATE) |
Forwards to Kriya::pattern, which describes the form. The condition runs a step each time it holds.
Definition at line 213 of file Chronie.hpp.
References MayaFlux::Kriya::pattern(), MayaFlux::Vruta::SAMPLE_ACCURATE, and schedule_task().