38 #include "ProgressReporter.hpp" 43 : mStartTime(startTime),
45 mLastPercentage(UINT_MAX)
47 assert(startTime < endTime);
65 *
mpFile <<
"100% completed" << std::endl;
67 *
mpFile <<
"..done!" << std::endl;
79 *
mpFile << percentage <<
"% completed" << std::endl;
89 *
mpFile <<
"Finalising.." << std::endl;
97 *
mpFile <<
"Initialising.." << std::endl;
void Update(double currentTime)
ProgressReporter(std::string outputDirectory, double startTime, double endTime)
out_stream OpenOutputFile(const std::string &rFileName, std::ios_base::openmode mode=std::ios::out|std::ios::trunc) const