AppBase::StreamMultiProgressDisplay Class Reference

a progress display to print stuff to stdout (doesn't work properly on the windows console. More...

#include <ProgressDisplayOld.h>

Inheritance diagram for AppBase::StreamMultiProgressDisplay:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 StreamMultiProgressDisplay (std::ostream &o, double minPrintStep=0.02)
virtual ~StreamMultiProgressDisplay ()

Protected Member Functions

virtual void updateProgressDisplay ()
 update the display
virtual void taskAdded ()
 template method, called when a task is added
virtual void taskRemove ()
 template method, called just before the task is removed

Protected Attributes

std::ostreamm_stream
int m_printedLines
std::string m_whizz
int m_whizzCount

Detailed Description

a progress display to print stuff to stdout (doesn't work properly on the windows console.

Definition at line 210 of file ProgressDisplayOld.h.


Constructor & Destructor Documentation

AppBase::StreamMultiProgressDisplay::StreamMultiProgressDisplay ( std::ostream o,
double  minPrintStep = 0.02 
)

Definition at line 186 of file ProgressDisplayOld.cpp.

virtual AppBase::StreamMultiProgressDisplay::~StreamMultiProgressDisplay (  )  [inline, virtual]

Definition at line 217 of file ProgressDisplayOld.h.


Member Function Documentation

virtual void AppBase::StreamMultiProgressDisplay::taskAdded (  )  [inline, protected, virtual]

template method, called when a task is added

Reimplemented from AppBase::MultiProgressDisplay.

Definition at line 223 of file ProgressDisplayOld.h.

virtual void AppBase::StreamMultiProgressDisplay::taskRemove (  )  [inline, protected, virtual]

template method, called just before the task is removed

Reimplemented from AppBase::MultiProgressDisplay.

Definition at line 224 of file ProgressDisplayOld.h.

void AppBase::StreamMultiProgressDisplay::updateProgressDisplay (  )  [protected, virtual]

update the display

Reimplemented from AppBase::MultiProgressDisplay.

Definition at line 195 of file ProgressDisplayOld.cpp.

References m_printedLines, m_stream, m_whizz, m_whizzCount, and AppBase::MultiProgressDisplay::tasks.


Member Data Documentation

int AppBase::StreamMultiProgressDisplay::m_printedLines [protected]

Definition at line 228 of file ProgressDisplayOld.h.

Referenced by updateProgressDisplay().

std::ostream& AppBase::StreamMultiProgressDisplay::m_stream [protected]

Definition at line 224 of file ProgressDisplayOld.h.

Referenced by updateProgressDisplay().

std::string AppBase::StreamMultiProgressDisplay::m_whizz [protected]

Definition at line 229 of file ProgressDisplayOld.h.

Referenced by updateProgressDisplay().

int AppBase::StreamMultiProgressDisplay::m_whizzCount [protected]

Definition at line 230 of file ProgressDisplayOld.h.

Referenced by updateProgressDisplay().


The documentation for this class was generated from the following files:
Generated on 21 Oct 2014 for Hugintrunk by  doxygen 1.4.7