13 #ifndef __PROCESS_METRICS_PULL_GAUGE_HPP__ 14 #define __PROCESS_METRICS_PULL_GAUGE_HPP__ 68 const std::function<Future<double>()>
f;
71 std::shared_ptr<Data> data;
77 #endif // __PROCESS_METRICS_PULL_GAUGE_HPP__ F && f
Definition: defer.hpp:270
Definition: metric.hpp:33
PullGauge(const std::string &name, const std::function< Future< double >()> &f)
Definition: pull_gauge.hpp:56
Definition: pull_gauge.hpp:46
~PullGauge() override
Definition: pull_gauge.hpp:59
Future< double > value() const override
Definition: pull_gauge.hpp:61
const std::string & name() const
Definition: metric.hpp:39
Definition: executor.hpp:48
PID< MetricsProcess > metrics
Definition: future.hpp:58