From 4498d24d835679d0dba1d284cf898df664a39b4c Mon Sep 17 00:00:00 2001 From: tomoya Date: Thu, 23 Apr 2020 12:55:18 +0900 Subject: [PATCH] Apply suggestions from code review Co-Authored-By: William Woodall Signed-off-by: Tomoya.Fujita --- .../topic_statistics/subscription_topic_statistics.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rclcpp/include/rclcpp/topic_statistics/subscription_topic_statistics.hpp b/rclcpp/include/rclcpp/topic_statistics/subscription_topic_statistics.hpp index c6d0697b3b..058ed45818 100644 --- a/rclcpp/include/rclcpp/topic_statistics/subscription_topic_statistics.hpp +++ b/rclcpp/include/rclcpp/topic_statistics/subscription_topic_statistics.hpp @@ -94,7 +94,7 @@ class SubscriptionTopicStatistics /// Handle a message received by the subscription to collect statistics. /** - * - This method acquires a lock to prevent race conditions to collectors list. + * This method acquires a lock to prevent race conditions to collectors list. * * \param received_message the message received by the subscription * \param now_nanoseconds current time in nanoseconds @@ -120,7 +120,7 @@ class SubscriptionTopicStatistics /// Publish a populated MetricsStatisticsMessage. /** - * - This method acquires a lock to prevent race conditions to collectors list. + * This method acquires a lock to prevent race conditions to collectors list. */ virtual void publish_message() { @@ -152,7 +152,7 @@ class SubscriptionTopicStatistics protected: /// Return a vector of all the currently collected data. /** - * - This method acquires a lock to prevent race conditions to collectors list. + * This method acquires a lock to prevent race conditions to collectors list. * * \return a vector of all the collected data */ @@ -169,7 +169,7 @@ class SubscriptionTopicStatistics private: /// Construct and start all collectors and set window_start_. /** - * - This method acquires a lock to prevent race conditions to collectors list. + * This method acquires a lock to prevent race conditions to collectors list. */ void bring_up() { @@ -185,7 +185,7 @@ class SubscriptionTopicStatistics /// Stop all collectors, clear measurements, stop publishing timer, and reset publisher. /** - * - This method acquires a lock to prevent race conditions to collectors list. + * This method acquires a lock to prevent race conditions to collectors list. */ void tear_down() {