Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Sawyer::ProgressBarImpl Class Reference


Definition at line 24 of file ProgressBar.h.

Collaboration diagram for Sawyer::ProgressBarImpl:
Collaboration graph

Public Member Functions

 ProgressBarImpl (const Message::SProxy &stream)
void init ()
void cleanup ()
void update (double ratio, bool backward)
void configUpdate (double ratio, bool backward)
void valueUpdate (double ratio, bool backward)
std::string makeBar (double ratio, bool backward)
void updateTextMesg (double ratio)

Public Attributes

double value_
size_t width_
bool showPercent_
std::string leftEnd_
std::string rightEnd_
char barChar_
char nonBarChar_
std::string prefix_
std::string suffix_
double lastUpdateTime_
Message::MesgProps overridesAnsi_
Message::SProxy stream_
size_t nUpdates_
bool shouldSpin_
Message::Mesg textMesg_
Optional< int > oldPercent_

Static Public Attributes

static double minUpdateInterval_
static double initialDelay_

The documentation for this class was generated from the following file: