From 2dcbfac502f112c85ff5259b30f189301a0e66d7 Mon Sep 17 00:00:00 2001 From: Henry Moore Date: Mon, 16 Sep 2024 22:11:30 +0000 Subject: [PATCH] implement pure virtual waitable functions as in https://github.com/ros2/system_tests/pull/548 --- fuse_core/include/fuse_core/callback_wrapper.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fuse_core/include/fuse_core/callback_wrapper.hpp b/fuse_core/include/fuse_core/callback_wrapper.hpp index 0d6532823..59aa6076e 100644 --- a/fuse_core/include/fuse_core/callback_wrapper.hpp +++ b/fuse_core/include/fuse_core/callback_wrapper.hpp @@ -187,6 +187,12 @@ class CallbackAdapter : public rclcpp::Waitable void removeAllCallbacks(); + void set_on_ready_callback(std::function) override {} + void clear_on_ready_callback() override {} + std::shared_ptr take_data_by_entity_id(size_t) override { + return nullptr; + } + private: rcl_guard_condition_t gc_; //!< guard condition to drive the waitable