nros C++ API
Lightweight ROS 2 client for embedded real-time systems (C++ headers)
Loading...
Searching...
No Matches
rclcpp::detail::subscription_callback_adapter< M, F, Shape > Struct Template Reference

Detailed Description

template<typename M, typename F, int Shape>
struct rclcpp::detail::subscription_callback_adapter< M, F, Shape >

Turns a callback of shape Shape into something InplaceFn<void(const M&)> can hold. The const M& shape passes through untouched (no wrapper, no allocation); a refused shape becomes a no-op so the refusal's static_assert is the only diagnostic the caller reads.


The documentation for this struct was generated from the following file: