15 #ifndef RCLCPP__DETAIL__CPP_CALLBACK_TRAMPOLINE_HPP_
16 #define RCLCPP__DETAIL__CPP_CALLBACK_TRAMPOLINE_HPP_
55 typename ReturnT =
void
58 cpp_callback_trampoline(UserDataT user_data, Args ... args) noexcept
60 auto & actual_callback = *
reinterpret_cast<const std::function<ReturnT(Args...)
> *>(user_data);
61 return actual_callback(args ...);
Versions of rosidl_typesupport_cpp::get_message_type_support_handle that handle adapted types.