[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

AppBase::DummyMultiProgressDispaly Class Reference

#include <ProgressDisplayOld.h>

Inheritance diagram for AppBase::DummyMultiProgressDispaly:

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

Member Function Documentation

void AppBase::DummyMultiProgressDispaly::increase  )  [inline]
 

increase progress by a substep.

Reimplemented from AppBase::MultiProgressDisplay.

void AppBase::DummyMultiProgressDispaly::popTask  )  [inline]
 

remove a task from the progress display

Reimplemented from AppBase::MultiProgressDisplay.

void AppBase::DummyMultiProgressDispaly::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.

void AppBase::DummyMultiProgressDispaly::setMessage const std::string &  msg  )  [inline]
 

change the message text of the current task

Reimplemented from AppBase::MultiProgressDisplay.

void AppBase::DummyMultiProgressDispaly::setProgress double  progress  )  [inline]
 

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

Reimplemented from AppBase::MultiProgressDisplay.

void AppBase::DummyMultiProgressDispaly::setShortMessage const std::string &  msg  )  [inline]
 

change the message text of the current task

Reimplemented from AppBase::MultiProgressDisplay.

virtual void AppBase::DummyMultiProgressDispaly::taskAdded  )  [inline, virtual]
 

template method, called when a task is added

Reimplemented from AppBase::MultiProgressDisplay.

virtual void AppBase::DummyMultiProgressDispaly::taskRemove  )  [inline, virtual]
 

template method, called just before the task is removed

Reimplemented from AppBase::MultiProgressDisplay.

virtual void AppBase::DummyMultiProgressDispaly::updateProgressDisplay  )  [inline, virtual]
 

template method, to update the display

should be provided by subclasses.

Reimplemented from AppBase::MultiProgressDisplay.


The documentation for this class was generated from the following file:

Generated on Mon Sep 20 01:01:35 2010 for Hugintrunk by doxygen 1.3.9.1