Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PLearn::TextProgressBarPlugin Class Reference

Simple plugin for displaying text progress bar. More...

#include <ProgressBar.h>

Inheritance diagram for PLearn::TextProgressBarPlugin:

Inheritance graph
[legend]
Collaboration diagram for PLearn::TextProgressBarPlugin:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void addProgressBar (ProgressBar *pb)
virtual void update (ProgressBar *pb, unsigned long newpos)
 TextProgressBarPlugin (ostream &_out)
 TextProgressBarPlugin (PStream &_out)

Private Attributes

PStream out

Detailed Description

Simple plugin for displaying text progress bar.

Definition at line 78 of file ProgressBar.h.


Constructor & Destructor Documentation

PLearn::TextProgressBarPlugin::TextProgressBarPlugin ostream &  _out  ) 
 

Definition at line 107 of file ProgressBar.cc.

References out, and PLearn::PStream::outmode.

PLearn::TextProgressBarPlugin::TextProgressBarPlugin PStream _out  ) 
 

Definition at line 113 of file ProgressBar.cc.


Member Function Documentation

void PLearn::TextProgressBarPlugin::addProgressBar ProgressBar pb  )  [virtual]
 

Reimplemented from PLearn::ProgressBarPlugin.

Definition at line 118 of file ProgressBar.cc.

References PLearn::center(), PLearn::PStream::flush(), PLearn::ProgressBar::maxpos, out, PLearn::ProgressBar::title, and PLearn::tostring().

void PLearn::TextProgressBarPlugin::update ProgressBar pb,
unsigned long  newpos
[virtual]
 

Reimplemented from PLearn::ProgressBarPlugin.

Definition at line 132 of file ProgressBar.cc.

References PLearn::center(), PLearn::ProgressBar::currentpos, PLearn::endl(), PLearn::PStream::flush(), PLearn::ProgressBar::maxpos, out, PLERROR, PLearn::ProgressBar::title, and PLearn::tostring().


Member Data Documentation

PStream PLearn::TextProgressBarPlugin::out [private]
 

Definition at line 80 of file ProgressBar.h.

Referenced by addProgressBar(), TextProgressBarPlugin(), and update().


The documentation for this class was generated from the following files:
Generated on Tue Aug 17 16:22:41 2004 for PLearn by doxygen 1.3.7