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

Description

Definition at line 24 of file ProgressBar.h.

Collaboration diagram for Sawyer::ProgressBarImpl:
Collaboration graph
[legend]

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_
 

Constructor & Destructor Documentation

◆ ProgressBarImpl()

Sawyer::ProgressBarImpl::ProgressBarImpl ( const Message::SProxy stream)
inline

Definition at line 45 of file ProgressBar.h.

◆ ~ProgressBarImpl()

Sawyer::ProgressBarImpl::~ProgressBarImpl ( )
inline

Definition at line 50 of file ProgressBar.h.

Member Data Documentation

◆ value_

double Sawyer::ProgressBarImpl::value_

Definition at line 27 of file ProgressBar.h.

◆ width_

size_t Sawyer::ProgressBarImpl::width_

Definition at line 28 of file ProgressBar.h.

◆ showPercent_

bool Sawyer::ProgressBarImpl::showPercent_

Definition at line 29 of file ProgressBar.h.

◆ leftEnd_

std::string Sawyer::ProgressBarImpl::leftEnd_

Definition at line 30 of file ProgressBar.h.

◆ rightEnd_

std::string Sawyer::ProgressBarImpl::rightEnd_

Definition at line 30 of file ProgressBar.h.

◆ barChar_

char Sawyer::ProgressBarImpl::barChar_

Definition at line 31 of file ProgressBar.h.

◆ nonBarChar_

char Sawyer::ProgressBarImpl::nonBarChar_

Definition at line 31 of file ProgressBar.h.

◆ prefix_

std::string Sawyer::ProgressBarImpl::prefix_

Definition at line 32 of file ProgressBar.h.

◆ suffix_

std::string Sawyer::ProgressBarImpl::suffix_

Definition at line 33 of file ProgressBar.h.

◆ minUpdateInterval_

double Sawyer::ProgressBarImpl::minUpdateInterval_
static

Definition at line 34 of file ProgressBar.h.

◆ initialDelay_

double Sawyer::ProgressBarImpl::initialDelay_
static

Definition at line 35 of file ProgressBar.h.

◆ lastUpdateTime_

double Sawyer::ProgressBarImpl::lastUpdateTime_

Definition at line 36 of file ProgressBar.h.

◆ overridesAnsi_

Message::MesgProps Sawyer::ProgressBarImpl::overridesAnsi_

Definition at line 37 of file ProgressBar.h.

◆ stream_

Message::SProxy Sawyer::ProgressBarImpl::stream_

Definition at line 38 of file ProgressBar.h.

◆ nUpdates_

size_t Sawyer::ProgressBarImpl::nUpdates_

Definition at line 39 of file ProgressBar.h.

◆ shouldSpin_

bool Sawyer::ProgressBarImpl::shouldSpin_

Definition at line 40 of file ProgressBar.h.

◆ textMesg_

Message::Mesg Sawyer::ProgressBarImpl::textMesg_

Definition at line 41 of file ProgressBar.h.

◆ oldPercent_

Optional<int> Sawyer::ProgressBarImpl::oldPercent_

Definition at line 42 of file ProgressBar.h.


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