ROSE 0.11.145.147
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.
 
void initialDelay (double s)
 Delay before first message is emitted.
 
double minimumUpdateInterval ()
 Minimum time between updates.
 
void minimumUpdateInterval (double s)
 Minimum time between updates.
 

Function Documentation

◆ initialDelay() [1/2]

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.

◆ initialDelay() [2/2]

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.

◆ minimumUpdateInterval() [1/2]

double Sawyer::ProgressBarSettings::minimumUpdateInterval ( )

Minimum time between updates.

Measured in seconds.

Referenced by Rose::BinaryAnalysis::SerialInput::loadObject(), and Rose::BinaryAnalysis::SerialOutput::saveObject().

◆ minimumUpdateInterval() [2/2]

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

Minimum time between updates.

Measured in seconds.