ROSE  0.9.9.109
Sawyer::ProgressBarSettings Namespace Reference

Description

Global settings for progress bars.

See also
The ProgressBar class contains the top-level documentation for progress bars.

Functions

double initialDelay ()
 Delay before first message is emitted. More...
 
void initialDelay (double s)
 Delay before first message is emitted. More...
 
double minimumUpdateInterval ()
 Minimum time between updates. More...
 
void minimumUpdateInterval (double s)
 Minimum time between updates. More...
 

Function Documentation

double Sawyer::ProgressBarSettings::initialDelay ( )

Delay before first message is emitted.

A relatively large delay produces fewer messages by avoiding messages when the entire task can be completed quickly. The default is 5 seconds, although some libraries that use Sawyer change the default. This value is global, applying to all progress bars.

void Sawyer::ProgressBarSettings::initialDelay ( double  s)

Delay before first message is emitted.

A relatively large delay produces fewer messages by avoiding messages when the entire task can be completed quickly. The default is 5 seconds, although some libraries that use Sawyer change the default. This value is global, applying to all progress bars.

double Sawyer::ProgressBarSettings::minimumUpdateInterval ( )

Minimum time between updates.

Measured in seconds.

void Sawyer::ProgressBarSettings::minimumUpdateInterval ( double  s)

Minimum time between updates.

Measured in seconds.