5 #ifndef LOFAR_COMMON_PROGRESSMETER_H
6 #define LOFAR_COMMON_PROGRESSMETER_H
68 const std::string& subtitle,
const std::string& minlabel,
69 const std::string& maxlabel,
bool estimateTime =
true,
78 void update(
double value,
bool force =
false);
82 double min()
const {
return min_p; }
83 double max()
const {
return max_p; }
91 int update_every_p, update_count_p;
95 static int (*creation_function_p)(double, double,
const std::string&,
96 const std::string&,
const std::string&,
97 const std::string&, bool);
98 static void (*update_function_p)(int, double);
Visual indication of a tasks progress.
Definition: ProgressMeter.h:43
void update(double value, bool force=false)
friend class ObjectController
Definition: ProgressMeter.h:86
double max() const
Definition: ProgressMeter.h:83
ProgressMeter(double min, double max, const std::string &title, const std::string &subtitle, const std::string &minlabel, const std::string &maxlabel, bool estimateTime=true, int updateEvery=1)
double min() const
Definition: ProgressMeter.h:82
This file has generic helper routines for testing steps.
Definition: AntennaConfig.h:53