Kanzi framework  3.9.1
Java API
MainLoopScheduler.Task Interface Reference

A task that can be added for one-time or repeated execution by MainLoopScheduler. More...

Public Member Functions

void handle (Duration lastFrameDuration)
 Called when the task gets executed. More...
 

Detailed Description

A task that can be added for one-time or repeated execution by MainLoopScheduler.

Member Function Documentation

◆ handle()

void handle ( Duration  lastFrameDuration)

Called when the task gets executed.

Parameters
lastFrameDurationTime elapsed between start of last and current main loop iteration.