Legacy version of enum "kanzi.MainLoopScheduler.TimerRecurrence". More...
Public Member Functions | |
TimerRecurrence (int value) | |
Constructs a TimerRecurrence of an integer value. | |
TimerRecurrence (TimerRecurrence enum_) | |
Constructs a copy of a TimerRecurrence object. | |
int | getValue () |
Returns the integer value of the enumeration constant. | |
final int | swigValue () |
Returns the integer value of the enumeration constant. | |
Static Public Member Functions | |
static TimerRecurrence | swigToEnum (int swigValue) |
Converts an integer value to the matching enumeration constant. | |
static TimerRecurrence | toEnum (int value) |
Converts an integer value to the matching enumeration constant. | |
Public Attributes | |
OneTime =(1) | |
Kanzi executes the timer once in a main loop iteration where the specified time since their addition has elapsed. | |
Recurring =(0) | |
Kanzi executes the timer tasks periodically at specified intervals. | |
Legacy version of enum "kanzi.MainLoopScheduler.TimerRecurrence".
Enumeration for timer recurrence options.
TimerRecurrence | ( | int | value | ) |
Constructs a TimerRecurrence of an integer value.
value | Integer value to convert to enumeration constant. |
TimerRecurrence | ( | TimerRecurrence | enum_ | ) |
Constructs a copy of a TimerRecurrence object.
enum_ | TimerRecurrence to be copy constructed. |
int getValue | ( | ) |
|
static |
Converts an integer value to the matching enumeration constant.
Used internally by SWIG generated code.
swigValue | Integer value to convert to enumeration constant. |
Returns the integer value of the enumeration constant.
Used internally by SWIG generated code.
|
static |
Converts an integer value to the matching enumeration constant.
value | Integer value to convert to enumeration constant. |
Recurring =(0) |
Kanzi executes the timer tasks periodically at specified intervals.
When a recurring timer elapses multiple times in a single iteration
of the Kanzi main loop, Kanzi executes that timer only once, but provides the number of elapsed intervals through its callback interface.