From e6b6faf152ae3c758f73a35ad1385bfd987f346f Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Sun, 18 Aug 2024 12:29:52 -0400 Subject: [PATCH] Fix name of ParameterEventHandler class in doc (#2604) Signed-off-by: Christophe Bedard --- rclcpp/include/rclcpp/parameter_event_handler.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rclcpp/include/rclcpp/parameter_event_handler.hpp b/rclcpp/include/rclcpp/parameter_event_handler.hpp index 93b8177fb2..25fbf725ff 100644 --- a/rclcpp/include/rclcpp/parameter_event_handler.hpp +++ b/rclcpp/include/rclcpp/parameter_event_handler.hpp @@ -126,7 +126,7 @@ struct ParameterEventCallbackHandle * // Now that we know the event matches the regular expression we scanned for, we can * // use 'get_parameter_from_event' to get a specific parameter name that we're looking for * rclcpp::Parameter p; - * if (rclcpp::ParameterEventsSubscriber::get_parameter_from_event( + * if (rclcpp::ParameterEventHandler::get_parameter_from_event( * event, p, remote_param_name, fqn)) * { * RCLCPP_INFO( @@ -139,7 +139,7 @@ struct ParameterEventCallbackHandle * * // You can also use 'get_parameter*s*_from_event' to enumerate all changes that came * // in on this event - * auto params = rclcpp::ParameterEventsSubscriber::get_parameters_from_event(event); + * auto params = rclcpp::ParameterEventHandler::get_parameters_from_event(event); * for (auto & p : params) { * RCLCPP_INFO( * node->get_logger(),