15 #ifndef RCLCPP__SUBSCRIPTION_TRAITS_HPP_
16 #define RCLCPP__SUBSCRIPTION_TRAITS_HPP_
30 namespace subscription_traits
58 template<
typename CallbackT>
61 typename rclcpp::function_traits::function_traits<CallbackT>::template argument_type<0>>
64 template<
typename MessageT>
67 using type =
typename std::remove_cv_t<std::remove_reference_t<MessageT>>;
70 template<
typename MessageT>
74 template<
typename MessageT,
typename Deleter>
83 std::remove_cv_t<std::remove_reference_t<CallbackT>>>::value>,
87 std::remove_cv_t<std::remove_reference_t<CallbackT>>>::value>,
91 std::remove_cv_t<std::remove_reference_t<CallbackT>>>::value>,
95 std::remove_cv_t<std::remove_reference_t<CallbackT>>>::value>
98 typename rclcpp::function_traits::function_traits<CallbackT>::template argument_type<0>>
104 #endif // RCLCPP__SUBSCRIPTION_TRAITS_HPP_