Module main_loop_scheduler
Structs§
- Main
Loop Scheduler MainLoopSchedulerimplements the Kanzi application main loop in form of a customizable sequence of stages, each consisting of a sequence of tasks, where a task is any callable, including functions, function objects, and lambdas.- Main
Loop Stage - Main
Loop Task Token - An opaque handle to a
MainLoopSchedulertask. - Main
Loop Timer Token - An opaque handle to a
MainLoopSchedulertimer. - STAGE_
ANIMATE - Stage for ticking animations.
- STAGE_
INPUT - Stage for handling input events.
- STAGE_
LAYOUT - Stage for laying out the nodes.
- STAGE_
PRESENT - Stage for presenting the nodes.
- STAGE_
RENDER - Stage for rendering the nodes.
- STAGE_
USER - Stage for executing your application code. Includes:
Traits§
Functions§
- Main
Loop ⚠Scheduler_ Task_ drop - Main
Loop ⚠Scheduler_ Task_ executor_ ref - Main
Loop ⚠Scheduler_ Timer Task_ drop - Main
Loop ⚠Scheduler_ Timer Task_ executor_ ref