AppBase::MultiProgressDisplayAdaptor Class Reference

#include <ProgressDisplayOld.h>

Inheritance diagram for AppBase::MultiProgressDisplayAdaptor:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 MultiProgressDisplayAdaptor (ProgressDisplay &myProgressDisplay)
virtual ~MultiProgressDisplayAdaptor ()

Static Public Member Functions

static MultiProgressDisplaynewMultiProgressDisplay (ProgressDisplay *myProgressDisplay)

Protected Member Functions

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

Protected Attributes

ProgressDisplayo_progressDisplay

Detailed Description

Definition at line 176 of file ProgressDisplayOld.h.


Constructor & Destructor Documentation

AppBase::MultiProgressDisplayAdaptor::MultiProgressDisplayAdaptor ( ProgressDisplay myProgressDisplay  ) 

Definition at line 133 of file ProgressDisplayOld.cpp.

Referenced by newMultiProgressDisplay().

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

Definition at line 184 of file ProgressDisplayOld.h.


Member Function Documentation

MultiProgressDisplay * AppBase::MultiProgressDisplayAdaptor::newMultiProgressDisplay ( ProgressDisplay myProgressDisplay  )  [static]

Definition at line 138 of file ProgressDisplayOld.cpp.

References MultiProgressDisplayAdaptor().

Referenced by HuginBase::NonaFileOutputStitcher::runStitcher().

void AppBase::MultiProgressDisplayAdaptor::taskAdded (  )  [protected, virtual]

template method, called when a task is added

Reimplemented from AppBase::MultiProgressDisplay.

Definition at line 148 of file ProgressDisplayOld.cpp.

References o_progressDisplay, AppBase::ProgressDisplay::setParentProgressOfNewSubtasks(), AppBase::ProgressDisplay::startSubtask(), and AppBase::MultiProgressDisplay::tasks.

void AppBase::MultiProgressDisplayAdaptor::taskRemove (  )  [protected, virtual]

template method, called just before the task is removed

Reimplemented from AppBase::MultiProgressDisplay.

Definition at line 158 of file ProgressDisplayOld.cpp.

References AppBase::ProgressDisplay::finishSubtask(), and o_progressDisplay.

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

template method, to update the display

should be provided by subclasses.

Reimplemented from AppBase::MultiProgressDisplay.

Definition at line 164 of file ProgressDisplayOld.cpp.

References DEBUG_INFO, o_progressDisplay, AppBase::ProgressDisplay::setSubtaskMessage(), AppBase::MultiProgressDisplay::tasks, and AppBase::ProgressDisplay::updateSubtaskProgress().


Member Data Documentation

ProgressDisplay& AppBase::MultiProgressDisplayAdaptor::o_progressDisplay [protected]

Definition at line 202 of file ProgressDisplayOld.h.

Referenced by taskAdded(), taskRemove(), and updateProgressDisplay().


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