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