Template Function rclcpp::create_subscription_factory
Defined in File subscription_factory.hpp
Function Documentation
Return a SubscriptionFactory setup to create a SubscriptionT<MessageT, AllocatorT>.
- Parameters:
callback – [in] The user-defined callback function to receive a message
options – [in] Additional options for the creation of the Subscription.
msg_mem_strat – [in] The message memory strategy to use for allocating messages.
subscription_topic_stats – [in] Optional stats callback for topic_statistics