rclcpp  beta1
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/intra_process_manager.hpp"
#include "rclcpp/node_interfaces/node_base_interface.hpp"
#include "rclcpp/visibility_control.hpp"

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 SubscriptionT >
SubscriptionFactory rclcpp::create_subscription_factory (CallbackT &&callback, typename rclcpp::message_memory_strategy::MessageMemoryStrategy< MessageT, Alloc >::SharedPtr msg_mem_strat, std::shared_ptr< Alloc > allocator)
 Return a SubscriptionFactory with functions for creating a SubscriptionT<MessageT, Alloc>. More...