#include <OutputProcessor.h>

Public Member Functions | |
| ScrollBarHandler (const string &sid, storage::CallbackProgressBar cb) | |
| virtual | ~ScrollBarHandler () |
| virtual void | reset () |
| virtual void | finished () |
| virtual void | process (const string &txt, bool stderr) |
| void | setMaxValue (unsigned val) |
| unsigned | getMaxValue () |
| void | setCurValue (unsigned val) |
| unsigned | getCurValue () |
Protected Attributes | |
| unsigned long | max |
| unsigned long | cur |
| bool | first |
| string | id |
| storage::CallbackProgressBar | callback |
| storage::ScrollBarHandler::ScrollBarHandler | ( | const string & | sid, | |
| storage::CallbackProgressBar | cb | |||
| ) | [inline] |
| virtual storage::ScrollBarHandler::~ScrollBarHandler | ( | ) | [inline, virtual] |
| virtual void storage::ScrollBarHandler::reset | ( | ) | [inline, virtual] |
| virtual void storage::ScrollBarHandler::finished | ( | ) | [inline, virtual] |
| void ScrollBarHandler::process | ( | const string & | txt, | |
| bool | stderr | |||
| ) | [virtual] |
Reimplemented from storage::OutputProcessor.
Reimplemented in storage::Mke2fsScrollbar, storage::ReiserScrollbar, and storage::DasdfmtScrollbar.
References storage::OutputProcessor::process(), and setCurValue().
| void storage::ScrollBarHandler::setMaxValue | ( | unsigned | val | ) | [inline] |
| unsigned storage::ScrollBarHandler::getMaxValue | ( | ) | [inline] |
References max.
| void ScrollBarHandler::setCurValue | ( | unsigned | val | ) |
References callback, cur, first, id, max, and y2milestone.
Referenced by finished(), storage::DasdfmtScrollbar::process(), storage::ReiserScrollbar::process(), storage::Mke2fsScrollbar::process(), and process().
| unsigned storage::ScrollBarHandler::getCurValue | ( | ) | [inline] |
References cur.
unsigned long storage::ScrollBarHandler::max [protected] |
unsigned long storage::ScrollBarHandler::cur [protected] |
Referenced by getCurValue(), reset(), ScrollBarHandler(), and setCurValue().
bool storage::ScrollBarHandler::first [protected] |
string storage::ScrollBarHandler::id [protected] |
Referenced by setCurValue().
Referenced by ScrollBarHandler(), and setCurValue().
1.5.5