diff --git a/rclcpp/include/rclcpp/experimental/subscription_intra_process_base.hpp b/rclcpp/include/rclcpp/experimental/subscription_intra_process_base.hpp index 4469c92031..b3069a4880 100644 --- a/rclcpp/include/rclcpp/experimental/subscription_intra_process_base.hpp +++ b/rclcpp/include/rclcpp/experimental/subscription_intra_process_base.hpp @@ -51,6 +51,7 @@ class SubscriptionIntraProcessBase : public rclcpp::Waitable : gc_(context), topic_name_(topic_name), qos_profile_(qos_profile) {} + RCLCPP_PUBLIC virtual ~SubscriptionIntraProcessBase(); RCLCPP_PUBLIC diff --git a/rclcpp/include/rclcpp/waitable.hpp b/rclcpp/include/rclcpp/waitable.hpp index 9ddc8a0882..db06f70678 100644 --- a/rclcpp/include/rclcpp/waitable.hpp +++ b/rclcpp/include/rclcpp/waitable.hpp @@ -225,6 +225,7 @@ class Waitable * * \param[in] callback functor to be called when the waitable becomes ready */ + RCLCPP_PUBLIC virtual void set_on_ready_callback(std::function callback); @@ -234,6 +235,7 @@ class Waitable * Note: this function must be overridden with a proper implementation * by the custom classes who inherit from rclcpp::Waitable if they want to use it. */ + RCLCPP_PUBLIC virtual void clear_on_ready_callback();