1 #ifndef _ots_Utilities_ProgressBar_h_
2 #define _ots_Utilities_ProgressBar_h_
4 #include "otsdaq/Macros/CoutMacros.h"
5 #include "otsdaq/MessageFacility/MessageFacility.h"
90 #define resetProgressBar(x) reset(__FILE__, std::to_string(__LINE__), x)
92 void reset(std::string file, std::string lineNumber,
int id = 0);
104 std::string readPercentageString();
108 const std::string cProgressBarFilePath_;
109 const std::string cProgressBarFileExtension_;
110 std::string totalStepsFileName_;
112 int stepsToComplete_;
114 std::mutex theMutex_;