Template Function rclcpp::detail::create_subscription

Function Documentation

template<typename MessageT, typename CallbackT, typename AllocatorT, typename SubscriptionT, typename MessageMemoryStrategyT, typename NodeParametersT, typename NodeTopicsT, typename ROSMessageType = typename SubscriptionT::ROSMessageType>
std::shared_ptr<SubscriptionT> rclcpp::detail::create_subscription(NodeParametersT &node_parameters, NodeTopicsT &node_topics, const std::string &topic_name, const rclcpp::QoS &qos, CallbackT &&callback, const rclcpp::SubscriptionOptionsWithAllocator<AllocatorT> &options = (rclcpp::SubscriptionOptionsWithAllocator<AllocatorT>()), typename MessageMemoryStrategyT::SharedPtr msg_mem_strat = (MessageMemoryStrategyT::create_default()))