26 #ifndef __TERRALIB_COMMON_PROGRESS_INTERNAL_PROGRESSTIMER_H
27 #define __TERRALIB_COMMON_PROGRESS_INTERNAL_PROGRESSTIMER_H
30 #include "../Config.h"
69 void setTotalSteps(
int totalSteps);
72 void setMessage(std::string message);
79 double getRemainingTimeInMin()
const;
86 double getSpeedTimeInSec()
const;
93 std::string getMessage();
108 #endif // __TERRALIB_COMMON_PROGRESS_INTERNAL_PROGRESSTIMER_H
time_t m_startTime
Initial time.
int m_count
Internal counter.
double m_speedTime
Speed time in seconds.
std::string m_message
Original task message.
double m_remainingTime
Remaining time in minutes.
#define TECOMMONEXPORT
You can use this macro in order to export/import classes and functions from this module.
The ProgressTimer is a utility class that can be used to calculate the estimated time to finish a tas...
int m_totalSteps
Total steps.