30 #ifndef NEONAVIGATION_METRICS_MSGS_HELPER_H 31 #define NEONAVIGATION_METRICS_MSGS_HELPER_H 36 #include <neonavigation_metrics_msgs/Metric.h> 37 #include <neonavigation_metrics_msgs/Metrics.h> 41 template <
typename... Strings>
43 const std::string& name,
45 const std::string& unit,
52 (out.tags.push_back(std::forward<Strings>(tags)), ...);
57 #endif // NEONAVIGATION_METRICS_MSGS_HELPER_H Metric metric(const std::string &name, const double value, const std::string &unit, Strings &&... tags)