rclcpp  master
C++ ROS Client Library API
Classes | Namespaces | Functions
subscription_factory.hpp File Reference
#include <functional>
#include <memory>
#include <string>
#include <utility>
#include "rcl/subscription.h"
#include "rosidl_typesupport_cpp/message_type_support.hpp"
#include "rclcpp/subscription.hpp"
#include "rclcpp/subscription_traits.hpp"
#include "rclcpp/intra_process_manager.hpp"
#include "rclcpp/node_interfaces/node_base_interface.hpp"
#include "rclcpp/visibility_control.hpp"
Include dependency graph for subscription_factory.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rclcpp::SubscriptionFactory
 Factory with functions used to create a Subscription<MessageT>. More...
 

Namespaces

 rclcpp
 

Functions

template<typename MessageT , typename CallbackT , typename Alloc , typename CallbackMessageT , typename SubscriptionT >
SubscriptionFactory rclcpp::create_subscription_factory (CallbackT &&callback, typename rclcpp::message_memory_strategy::MessageMemoryStrategy< CallbackMessageT, Alloc >::SharedPtr msg_mem_strat, std::shared_ptr< Alloc > allocator)
 Return a SubscriptionFactory with functions for creating a SubscriptionT<MessageT, Alloc>. More...