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