#include <ShellProgressBar.h>
Collaboration diagram for PLearn::ShellProgressBar:
Public Member Functions | |
ShellProgressBar () | |
ShellProgressBar (int min, int max, string caption="", int width=10) | |
void | init () |
void | draw (bool simple_mode=false) |
bool | update (int value) |
void | reset () |
void | set (int min, int max, string caption="", int w=10) |
void | setCaption (string caption) |
void | setMin (int min) |
void | setMax (int max) |
void | done () |
Static Public Member Functions | |
string | getTime () |
int | getAsciiFileLineCount (string file) |
int | getWcAsciiFileLineCount (string file) |
Private Attributes | |
int | min |
int | max |
real | blockwidth |
int | pos |
string | caption |
int | width |
bool | max_reached |
|
Definition at line 79 of file ShellProgressBar.h. |
|
Definition at line 47 of file ShellProgressBar.cc. References init(), PLearn::max(), and PLearn::min(). |
|
|
|
Definition at line 134 of file ShellProgressBar.cc. References PLearn::pgetline(). |
|
Definition at line 157 of file ShellProgressBar.cc. References PLearn::split(). |
|
Definition at line 150 of file ShellProgressBar.cc. References PLearn::execute(), and PLearn::toint(). |
|
|
Definition at line 106 of file ShellProgressBar.cc. References max_reached, and pos. Referenced by main(). |
|
Definition at line 89 of file ShellProgressBar.h. References PLearn::max(), PLearn::min(), setCaption(), setMax(), setMin(), and width. Referenced by PLearn::GraphicalBiText::compute_likelihood(), PLearn::GraphicalBiText::init(), PLearn::GraphicalBiText::loadBitext(), main(), and PLearn::GraphicalBiText::test_WSD(). |
|
Definition at line 112 of file ShellProgressBar.cc. References caption. Referenced by set(). |
|
Definition at line 122 of file ShellProgressBar.cc. References max. Referenced by set(). |
|
Definition at line 117 of file ShellProgressBar.cc. References min. Referenced by set(). |
|
|
Definition at line 102 of file ShellProgressBar.h. |
|
Definition at line 104 of file ShellProgressBar.h. Referenced by draw(), setCaption(), and ShellProgressBar(). |
|
Definition at line 101 of file ShellProgressBar.h. Referenced by done(), init(), setMax(), ShellProgressBar(), and update(). |
|
Definition at line 106 of file ShellProgressBar.h. |
|
Definition at line 100 of file ShellProgressBar.h. Referenced by init(), setMin(), ShellProgressBar(), and update(). |
|
Definition at line 103 of file ShellProgressBar.h. |
|
Definition at line 105 of file ShellProgressBar.h. Referenced by draw(), init(), set(), ShellProgressBar(), and update(). |