rclcpp  master
C++ ROS Client Library API
Public Member Functions | List of all members
rclcpp::any_subscription_callback::AnySubscriptionCallback< MessageT, Alloc > Class Template Reference

#include <any_subscription_callback.hpp>

Public Member Functions

 AnySubscriptionCallback (std::shared_ptr< Alloc > allocator)
 
 AnySubscriptionCallback (const AnySubscriptionCallback &)=default
 
template<typename CallbackT , typename std::enable_if< rclcpp::function_traits::same_arguments< CallbackT, SharedPtrCallback >::value >::type * = nullptr>
void set (CallbackT callback)
 
template<typename CallbackT , typename std::enable_if< rclcpp::function_traits::same_arguments< CallbackT, SharedPtrWithInfoCallback >::value >::type * = nullptr>
void set (CallbackT callback)
 
template<typename CallbackT , typename std::enable_if< rclcpp::function_traits::same_arguments< CallbackT, ConstSharedPtrCallback >::value >::type * = nullptr>
void set (CallbackT callback)
 
template<typename CallbackT , typename std::enable_if< rclcpp::function_traits::same_arguments< CallbackT, ConstSharedPtrWithInfoCallback >::value >::type * = nullptr>
void set (CallbackT callback)
 
template<typename CallbackT , typename std::enable_if< rclcpp::function_traits::same_arguments< CallbackT, UniquePtrCallback >::value >::type * = nullptr>
void set (CallbackT callback)
 
template<typename CallbackT , typename std::enable_if< rclcpp::function_traits::same_arguments< CallbackT, UniquePtrWithInfoCallback >::value >::type * = nullptr>
void set (CallbackT callback)
 
void dispatch (std::shared_ptr< MessageT > message, const rmw_message_info_t &message_info)
 
void dispatch_intra_process (MessageUniquePtr &message, const rmw_message_info_t &message_info)
 

Constructor & Destructor Documentation

◆ AnySubscriptionCallback() [1/2]

template<typename MessageT, typename Alloc>
rclcpp::any_subscription_callback::AnySubscriptionCallback< MessageT, Alloc >::AnySubscriptionCallback ( std::shared_ptr< Alloc >  allocator)
inlineexplicit

◆ AnySubscriptionCallback() [2/2]

template<typename MessageT, typename Alloc>
rclcpp::any_subscription_callback::AnySubscriptionCallback< MessageT, Alloc >::AnySubscriptionCallback ( const AnySubscriptionCallback< MessageT, Alloc > &  )
default

Member Function Documentation

◆ set() [1/6]

template<typename MessageT, typename Alloc>
template<typename CallbackT , typename std::enable_if< rclcpp::function_traits::same_arguments< CallbackT, SharedPtrCallback >::value >::type * = nullptr>
void rclcpp::any_subscription_callback::AnySubscriptionCallback< MessageT, Alloc >::set ( CallbackT  callback)
inline

◆ set() [2/6]

template<typename MessageT, typename Alloc>
template<typename CallbackT , typename std::enable_if< rclcpp::function_traits::same_arguments< CallbackT, SharedPtrWithInfoCallback >::value >::type * = nullptr>
void rclcpp::any_subscription_callback::AnySubscriptionCallback< MessageT, Alloc >::set ( CallbackT  callback)
inline

◆ set() [3/6]

template<typename MessageT, typename Alloc>
template<typename CallbackT , typename std::enable_if< rclcpp::function_traits::same_arguments< CallbackT, ConstSharedPtrCallback >::value >::type * = nullptr>
void rclcpp::any_subscription_callback::AnySubscriptionCallback< MessageT, Alloc >::set ( CallbackT  callback)
inline

◆ set() [4/6]

template<typename MessageT, typename Alloc>
template<typename CallbackT , typename std::enable_if< rclcpp::function_traits::same_arguments< CallbackT, ConstSharedPtrWithInfoCallback >::value >::type * = nullptr>
void rclcpp::any_subscription_callback::AnySubscriptionCallback< MessageT, Alloc >::set ( CallbackT  callback)
inline

◆ set() [5/6]

template<typename MessageT, typename Alloc>
template<typename CallbackT , typename std::enable_if< rclcpp::function_traits::same_arguments< CallbackT, UniquePtrCallback >::value >::type * = nullptr>
void rclcpp::any_subscription_callback::AnySubscriptionCallback< MessageT, Alloc >::set ( CallbackT  callback)
inline

◆ set() [6/6]

template<typename MessageT, typename Alloc>
template<typename CallbackT , typename std::enable_if< rclcpp::function_traits::same_arguments< CallbackT, UniquePtrWithInfoCallback >::value >::type * = nullptr>
void rclcpp::any_subscription_callback::AnySubscriptionCallback< MessageT, Alloc >::set ( CallbackT  callback)
inline

◆ dispatch()

template<typename MessageT, typename Alloc>
void rclcpp::any_subscription_callback::AnySubscriptionCallback< MessageT, Alloc >::dispatch ( std::shared_ptr< MessageT >  message,
const rmw_message_info_t message_info 
)
inline

◆ dispatch_intra_process()

template<typename MessageT, typename Alloc>
void rclcpp::any_subscription_callback::AnySubscriptionCallback< MessageT, Alloc >::dispatch_intra_process ( MessageUniquePtr &  message,
const rmw_message_info_t message_info 
)
inline

The documentation for this class was generated from the following file: