Template Function rclcpp::create_publisher_factory

Function Documentation

template<typename MessageT, typename AllocatorT, typename PublisherT>
PublisherFactory rclcpp::create_publisher_factory(const rclcpp::PublisherOptionsWithAllocator<AllocatorT> &options)

Return a PublisherFactory with functions setup for creating a PublisherT<MessageT, AllocatorT>.