AppBase::DummyMultiProgressDisplay Class Reference

#include <ProgressDisplayOld.h>

Inheritance diagram for AppBase::DummyMultiProgressDisplay:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void pushTask (const ProgressTask &task)
 create a new progress display for a task.
void popTask ()
 remove a task from the progress display
void setShortMessage (const std::string &msg)
 change the message text of the current task
void setMessage (const std::string &msg)
 change the message text of the current task
void setProgress (double progress)
 set progress (affects this task and all tasks above it)
void increase ()
 increase progress by a substep.
virtual void updateProgressDisplay ()
 template method, to 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

Detailed Description

Definition at line 157 of file ProgressDisplayOld.h.


Member Function Documentation

void AppBase::DummyMultiProgressDisplay::increase (  )  [inline]

increase progress by a substep.

Reimplemented from AppBase::MultiProgressDisplay.

Definition at line 165 of file ProgressDisplayOld.h.

void AppBase::DummyMultiProgressDisplay::popTask (  )  [inline]

remove a task from the progress display

Reimplemented from AppBase::MultiProgressDisplay.

Definition at line 161 of file ProgressDisplayOld.h.

void AppBase::DummyMultiProgressDisplay::pushTask ( const ProgressTask task  )  [inline]

create a new progress display for a task.

once the operation is finished int must popTask() the progress display.

Parameters:
msg string of the message
subStepIncr finishing the subtask below increases the current progress by subTaskIncr

Reimplemented from AppBase::MultiProgressDisplay.

Definition at line 160 of file ProgressDisplayOld.h.

void AppBase::DummyMultiProgressDisplay::setMessage ( const std::string msg  )  [inline]

change the message text of the current task

Reimplemented from AppBase::MultiProgressDisplay.

Definition at line 163 of file ProgressDisplayOld.h.

void AppBase::DummyMultiProgressDisplay::setProgress ( double  progress  )  [inline]

set progress (affects this task and all tasks above it)

Reimplemented from AppBase::MultiProgressDisplay.

Definition at line 164 of file ProgressDisplayOld.h.

void AppBase::DummyMultiProgressDisplay::setShortMessage ( const std::string msg  )  [inline]

change the message text of the current task

Reimplemented from AppBase::MultiProgressDisplay.

Definition at line 162 of file ProgressDisplayOld.h.

virtual void AppBase::DummyMultiProgressDisplay::taskAdded (  )  [inline, virtual]

template method, called when a task is added

Reimplemented from AppBase::MultiProgressDisplay.

Definition at line 168 of file ProgressDisplayOld.h.

virtual void AppBase::DummyMultiProgressDisplay::taskRemove (  )  [inline, virtual]

template method, called just before the task is removed

Reimplemented from AppBase::MultiProgressDisplay.

Definition at line 169 of file ProgressDisplayOld.h.

virtual void AppBase::DummyMultiProgressDisplay::updateProgressDisplay (  )  [inline, virtual]

template method, to update the display

should be provided by subclasses.

Reimplemented from AppBase::MultiProgressDisplay.

Definition at line 167 of file ProgressDisplayOld.h.


The documentation for this class was generated from the following file:
Generated on 1 Nov 2014 for Hugintrunk by  doxygen 1.4.7