15 #ifndef LIBSTATISTICS_COLLECTOR__COLLECTOR__GENERATE_STATISTICS_MESSAGE_HPP_
16 #define LIBSTATISTICS_COLLECTOR__COLLECTOR__GENERATE_STATISTICS_MESSAGE_HPP_
20 #include "builtin_interfaces/msg/time.hpp"
21 #include "statistics_msgs/msg/metrics_message.hpp"
23 #include "libstatistics_collector/visibility_control.hpp"
24 #include "libstatistics_collector/moving_average_statistics/types.hpp"
26 namespace libstatistics_collector
42 LIBSTATISTICS_COLLECTOR_PUBLIC
43 statistics_msgs::msg::MetricsMessage GenerateStatisticMessage(
44 const std::string & node_name,
45 const std::string & metric_name,
46 const std::string & unit,
47 const builtin_interfaces::msg::Time window_start,
48 const builtin_interfaces::msg::Time window_stop,
55 #endif // LIBSTATISTICS_COLLECTOR__COLLECTOR__GENERATE_STATISTICS_MESSAGE_HPP_