Lumiera  0.pre.03
»edit your freedom«
steam::control::anonymous_namespace{looper.hpp} Namespace Reference

Variables

const uint STEAM_DISPATCHER_BUILDER_DELAY_ms = 50
 Latency to trigger the Builder after processing command(s). More...
 
const uint STEAM_DISPATCHER_BUSY_SLOWDOWN_FACTOR = 15
 Factor to slow down the latency when the command queue is not empty. More...
 

Variable Documentation

◆ STEAM_DISPATCHER_BUILDER_DELAY_ms

const uint STEAM_DISPATCHER_BUILDER_DELAY_ms = 50

Latency to trigger the Builder after processing command(s).

This allows to collect and aggregate commands trickling in from the UI, especially from dragging and mouse wheel. Once the builder has started, further commands will be blocked and enqueued.

Todo:
this value should be retrieved from configuration ////////////////////////////////TICKET #1052 : access application configuration
See also
Looper::establishWakeTimeout()

Definition at line 70 of file looper.hpp.

Referenced by Looper::wakeTimeout_ms().

◆ STEAM_DISPATCHER_BUSY_SLOWDOWN_FACTOR

const uint STEAM_DISPATCHER_BUSY_SLOWDOWN_FACTOR = 15

Factor to slow down the latency when the command queue is not empty.

The builder attempts first to dispatch all commands in the queue, before triggering the Builder again. However, if the extended latency period has been passed, a builder run will be forced, even if further commands are still waiting in the queue.

Todo:
this value should be retrieved from configuration ////////////////////////////////TICKET #1052 : access application configuration

Definition at line 80 of file looper.hpp.

Referenced by Looper::wakeTimeout_ms().