Class bi_tab_metrics_collector

Inheritance Relationships

Base Type

  • public rmetrics::base_collector

Class Documentation

class bi_tab_metrics_collector : public rmetrics::base_collector

Collector for metrics for bi_tab_metrics about task allocation.

Metrics CAN be collected in parallel from robots; concurrent updates to the gathered stats are supported. Metrics should only be collected upon completion/abortion of a task. Metrics are written out at the specified interval.

Public Functions

explicit bi_tab_metrics_collector(std::unique_ptr<rmetrics::base_sink> sink)
Parameters:

sink – The metrics sink to use.

void collect(const rmetrics::base_metrics &metrics) override
inline const rmetrics::base_data *data(void) const override
void reset_after_interval(void) override