|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::schedule_metro | ( | double | interval_seconds, |
| std::function< void()> | callback, | ||
| std::string | name = "" |
||
| ) |
Creates a metronome task and addes it to the default scheduler list for evaluation.
| interval_seconds | Time between calls in seconds |
| callback | Function to call on each tick |
| name | Name of the metronome task (optional but recommended). If not provided, a default name will be generated. |
Uses the task scheduler from the default engine.
Definition at line 35 of file Chronie.cpp.
References create_metro(), and get_scheduler().
Here is the call graph for this function: