26 #ifndef __TERRALIB_COMMON_PROGRESS_INTERNAL_PROGRESSTIMER_H
27 #define __TERRALIB_COMMON_PROGRESS_INTERNAL_PROGRESSTIMER_H
30 #include "../Config.h"
The ProgressTimer is a utility class that can be used to calculate the estimated time to finish a tas...
double m_remainingTime
Remaining time in minutes.
std::string getMessage()
Get the information about the evolution of the process.
void setTotalSteps(int totalSteps)
Set the total steps.
ProgressTimer(int totalSteps, std::string message)
It initializes a ProgressTimer.
void start()
Start the internal timer.
~ProgressTimer()
Destructor.
double m_speedTime
Speed time in seconds.
int m_count
Internal counter.
void tick()
Define a new step process evolution.
double getRemainingTimeInMin() const
Function used to get the remaining time to end the process.
std::string m_message
Original task message.
int m_totalSteps
Total steps.
void setMessage(std::string message)
Set the message used by task progress.
double getSpeedTimeInSec() const
Function used to get the speed time.
time_t m_startTime
Initial time.
#define TECOMMONEXPORT
You can use this macro in order to export/import classes and functions from this module.