From 8573433c1d47974093b719e4a6c642fe3f2a9f2a Mon Sep 17 00:00:00 2001 From: Dirk Thomas Date: Fri, 22 May 2020 11:36:32 -0700 Subject: [PATCH] remove empty lines within method signatures (#1128) Signed-off-by: Dirk Thomas --- .../include/rclcpp/node_interfaces/node_base.hpp | 16 ---------------- .../rclcpp/node_interfaces/node_graph.hpp | 12 ------------ .../rclcpp/node_interfaces/node_logging.hpp | 2 -- .../rclcpp/node_interfaces/node_services.hpp | 2 -- .../rclcpp/node_interfaces/node_timers.hpp | 1 - .../rclcpp/node_interfaces/node_waitables.hpp | 2 -- 6 files changed, 35 deletions(-) diff --git a/rclcpp/include/rclcpp/node_interfaces/node_base.hpp b/rclcpp/include/rclcpp/node_interfaces/node_base.hpp index 0e124f6..4386ee5 100644 --- a/rclcpp/include/rclcpp/node_interfaces/node_base.hpp +++ b/rclcpp/include/rclcpp/node_interfaces/node_base.hpp @@ -50,82 +50,66 @@ public: ~NodeBase(); RCLCPP_PUBLIC - const char * get_name() const override; RCLCPP_PUBLIC - const char * get_namespace() const override; RCLCPP_PUBLIC - const char * get_fully_qualified_name() const override; RCLCPP_PUBLIC - rclcpp::Context::SharedPtr get_context() override; RCLCPP_PUBLIC - rcl_node_t * get_rcl_node_handle() override; RCLCPP_PUBLIC - const rcl_node_t * get_rcl_node_handle() const override; RCLCPP_PUBLIC - std::shared_ptr get_shared_rcl_node_handle() override; RCLCPP_PUBLIC - std::shared_ptr get_shared_rcl_node_handle() const override; RCLCPP_PUBLIC - rclcpp::CallbackGroup::SharedPtr create_callback_group(rclcpp::CallbackGroupType group_type) override; RCLCPP_PUBLIC - rclcpp::CallbackGroup::SharedPtr get_default_callback_group() override; RCLCPP_PUBLIC - bool callback_group_in_node(rclcpp::CallbackGroup::SharedPtr group) override; RCLCPP_PUBLIC - const std::vector & get_callback_groups() const override; RCLCPP_PUBLIC - std::atomic_bool & get_associated_with_executor_atomic() override; RCLCPP_PUBLIC - rcl_guard_condition_t * get_notify_guard_condition() override; RCLCPP_PUBLIC - std::unique_lock acquire_notify_guard_condition_lock() const override; RCLCPP_PUBLIC - bool get_use_intra_process_default() const override; diff --git a/rclcpp/include/rclcpp/node_interfaces/node_graph.hpp b/rclcpp/include/rclcpp/node_interfaces/node_graph.hpp index 26d91ae..5882c72 100644 --- a/rclcpp/include/rclcpp/node_interfaces/node_graph.hpp +++ b/rclcpp/include/rclcpp/node_interfaces/node_graph.hpp @@ -57,64 +57,52 @@ public: ~NodeGraph(); RCLCPP_PUBLIC - std::map> get_topic_names_and_types(bool no_demangle = false) const override; RCLCPP_PUBLIC - std::map> get_service_names_and_types() const override; RCLCPP_PUBLIC - std::vector get_node_names() const override; RCLCPP_PUBLIC - std::vector> get_node_names_and_namespaces() const override; RCLCPP_PUBLIC - size_t count_publishers(const std::string & topic_name) const override; RCLCPP_PUBLIC - size_t count_subscribers(const std::string & topic_name) const override; RCLCPP_PUBLIC - const rcl_guard_condition_t * get_graph_guard_condition() const override; RCLCPP_PUBLIC - void notify_graph_change() override; RCLCPP_PUBLIC - void notify_shutdown() override; RCLCPP_PUBLIC - rclcpp::Event::SharedPtr get_graph_event() override; RCLCPP_PUBLIC - void wait_for_graph_change( rclcpp::Event::SharedPtr event, std::chrono::nanoseconds timeout) override; RCLCPP_PUBLIC - size_t count_graph_users() override; diff --git a/rclcpp/include/rclcpp/node_interfaces/node_logging.hpp b/rclcpp/include/rclcpp/node_interfaces/node_logging.hpp index 17f835b..ea91064 100644 --- a/rclcpp/include/rclcpp/node_interfaces/node_logging.hpp +++ b/rclcpp/include/rclcpp/node_interfaces/node_logging.hpp @@ -42,12 +42,10 @@ public: ~NodeLogging(); RCLCPP_PUBLIC - rclcpp::Logger get_logger() const override; RCLCPP_PUBLIC - const char * get_logger_name() const override; diff --git a/rclcpp/include/rclcpp/node_interfaces/node_services.hpp b/rclcpp/include/rclcpp/node_interfaces/node_services.hpp index 01c9912..1eecf69 100644 --- a/rclcpp/include/rclcpp/node_interfaces/node_services.hpp +++ b/rclcpp/include/rclcpp/node_interfaces/node_services.hpp @@ -42,14 +42,12 @@ public: ~NodeServices(); RCLCPP_PUBLIC - void add_client( rclcpp::ClientBase::SharedPtr client_base_ptr, rclcpp::CallbackGroup::SharedPtr group) override; RCLCPP_PUBLIC - void add_service( rclcpp::ServiceBase::SharedPtr service_base_ptr, diff --git a/rclcpp/include/rclcpp/node_interfaces/node_timers.hpp b/rclcpp/include/rclcpp/node_interfaces/node_timers.hpp index 03f151f..9f26721 100644 --- a/rclcpp/include/rclcpp/node_interfaces/node_timers.hpp +++ b/rclcpp/include/rclcpp/node_interfaces/node_timers.hpp @@ -42,7 +42,6 @@ public: /// Add a timer to the node. RCLCPP_PUBLIC - void add_timer( rclcpp::TimerBase::SharedPtr timer, diff --git a/rclcpp/include/rclcpp/node_interfaces/node_waitables.hpp b/rclcpp/include/rclcpp/node_interfaces/node_waitables.hpp index fd560bc..46c24d9 100644 --- a/rclcpp/include/rclcpp/node_interfaces/node_waitables.hpp +++ b/rclcpp/include/rclcpp/node_interfaces/node_waitables.hpp @@ -41,14 +41,12 @@ public: ~NodeWaitables(); RCLCPP_PUBLIC - void add_waitable( rclcpp::Waitable::SharedPtr waitable_base_ptr, rclcpp::CallbackGroup::SharedPtr group) override; RCLCPP_PUBLIC - void remove_waitable( rclcpp::Waitable::SharedPtr waitable_ptr,