Skip to content

Commit

Permalink
implement pure virtual waitable functions as in ros2/system_tests#548
Browse files Browse the repository at this point in the history
  • Loading branch information
henrygerardmoore committed Sep 16, 2024
1 parent 555e09c commit 2dcbfac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fuse_core/include/fuse_core/callback_wrapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,12 @@ class CallbackAdapter : public rclcpp::Waitable

void removeAllCallbacks();

void set_on_ready_callback(std::function<void(size_t, int)>) override {}
void clear_on_ready_callback() override {}
std::shared_ptr<void> take_data_by_entity_id(size_t) override {
return nullptr;
}

private:
rcl_guard_condition_t gc_; //!< guard condition to drive the waitable

Expand Down

0 comments on commit 2dcbfac

Please sign in to comment.