26 #ifndef __TERRALIB_COMMON_PROGRESS_INTERNAL_CONSOLEPROGRESSVIEWER_H
27 #define __TERRALIB_COMMON_PROGRESS_INTERNAL_CONSOLEPROGRESSVIEWER_H
30 #include "../Config.h"
A class that defines the interface of an abstract progress viewer.
A class that defines the interface of an abstract progress viewer.
void cancelTask(int taskId)
Cancel a task.
ConsoleProgressViewer()
Default constructor.
std::map< int, TaskProgress * > m_tasks
Task container.
std::string m_message
Attribute used to define the progress message.
void setTotalValues(int taskId)
Set task total steps.
int m_totalSteps
Attribute used to define the total steps of all tasks.
void addTask(TaskProgress *t, int id)
Insert a new task in the progress viewer.
void removeTask(int taskId)
Removes a task from progress viewer container.
void updateValue(int taskId)
Update the progress evaluation.
~ConsoleProgressViewer()
Virtual destructor.
int m_propStep
Attribute used to define the proportional step (0-100).
int m_currentStep
Attribute used to define the current steps of all task.
void updateMessage(int taskId)
Update the progress message.
This class can be used to inform the progress of a task.
#define TECOMMONEXPORT
You can use this macro in order to export/import classes and functions from this module.