rclcpp  master
C++ ROS Client Library API
Public Types | List of all members
rclcpp::detail::AnySubscriptionCallbackHelper< MessageT, AllocatorT > Struct Template Reference

#include <any_subscription_callback.hpp>

Public Types

using MessageDeleter = typename MessageDeleterHelper< MessageT, AllocatorT >::MessageDeleter
 
using ConstRefCallback = std::function< void(const MessageT &)>
 
using ConstRefWithInfoCallback = std::function< void(const MessageT &, const rclcpp::MessageInfo &)>
 
using UniquePtrCallback = std::function< void(std::unique_ptr< MessageT, MessageDeleter >)>
 
using UniquePtrWithInfoCallback = std::function< void(std::unique_ptr< MessageT, MessageDeleter >, const rclcpp::MessageInfo &)>
 
using SharedConstPtrCallback = std::function< void(std::shared_ptr< const MessageT >)>
 
using SharedConstPtrWithInfoCallback = std::function< void(std::shared_ptr< const MessageT >, const rclcpp::MessageInfo &)>
 
using ConstRefSharedConstPtrCallback = std::function< void(const std::shared_ptr< const MessageT > &)>
 
using ConstRefSharedConstPtrWithInfoCallback = std::function< void(const std::shared_ptr< const MessageT > &, const rclcpp::MessageInfo &)>
 
using SharedPtrCallback = std::function< void(std::shared_ptr< MessageT >)>
 
using SharedPtrWithInfoCallback = std::function< void(std::shared_ptr< MessageT >, const rclcpp::MessageInfo &)>
 
using variant_type = std::variant< ConstRefCallback, ConstRefWithInfoCallback, UniquePtrCallback, UniquePtrWithInfoCallback, SharedConstPtrCallback, SharedConstPtrWithInfoCallback, ConstRefSharedConstPtrCallback, ConstRefSharedConstPtrWithInfoCallback, SharedPtrCallback, SharedPtrWithInfoCallback >
 

Member Typedef Documentation

◆ MessageDeleter

template<typename MessageT , typename AllocatorT >
using rclcpp::detail::AnySubscriptionCallbackHelper< MessageT, AllocatorT >::MessageDeleter = typename MessageDeleterHelper<MessageT, AllocatorT>::MessageDeleter

◆ ConstRefCallback

template<typename MessageT , typename AllocatorT >
using rclcpp::detail::AnySubscriptionCallbackHelper< MessageT, AllocatorT >::ConstRefCallback = std::function<void (const MessageT &)>

◆ ConstRefWithInfoCallback

template<typename MessageT , typename AllocatorT >
using rclcpp::detail::AnySubscriptionCallbackHelper< MessageT, AllocatorT >::ConstRefWithInfoCallback = std::function<void (const MessageT &, const rclcpp::MessageInfo &)>

◆ UniquePtrCallback

template<typename MessageT , typename AllocatorT >
using rclcpp::detail::AnySubscriptionCallbackHelper< MessageT, AllocatorT >::UniquePtrCallback = std::function<void (std::unique_ptr<MessageT, MessageDeleter>)>

◆ UniquePtrWithInfoCallback

template<typename MessageT , typename AllocatorT >
using rclcpp::detail::AnySubscriptionCallbackHelper< MessageT, AllocatorT >::UniquePtrWithInfoCallback = std::function<void (std::unique_ptr<MessageT, MessageDeleter>, const rclcpp::MessageInfo &)>

◆ SharedConstPtrCallback

template<typename MessageT , typename AllocatorT >
using rclcpp::detail::AnySubscriptionCallbackHelper< MessageT, AllocatorT >::SharedConstPtrCallback = std::function<void (std::shared_ptr<const MessageT>)>

◆ SharedConstPtrWithInfoCallback

template<typename MessageT , typename AllocatorT >
using rclcpp::detail::AnySubscriptionCallbackHelper< MessageT, AllocatorT >::SharedConstPtrWithInfoCallback = std::function<void (std::shared_ptr<const MessageT>, const rclcpp::MessageInfo &)>

◆ ConstRefSharedConstPtrCallback

template<typename MessageT , typename AllocatorT >
using rclcpp::detail::AnySubscriptionCallbackHelper< MessageT, AllocatorT >::ConstRefSharedConstPtrCallback = std::function<void (const std::shared_ptr<const MessageT> &)>

◆ ConstRefSharedConstPtrWithInfoCallback

template<typename MessageT , typename AllocatorT >
using rclcpp::detail::AnySubscriptionCallbackHelper< MessageT, AllocatorT >::ConstRefSharedConstPtrWithInfoCallback = std::function<void (const std::shared_ptr<const MessageT> &, const rclcpp::MessageInfo &)>

◆ SharedPtrCallback

template<typename MessageT , typename AllocatorT >
using rclcpp::detail::AnySubscriptionCallbackHelper< MessageT, AllocatorT >::SharedPtrCallback = std::function<void (std::shared_ptr<MessageT>)>

◆ SharedPtrWithInfoCallback

template<typename MessageT , typename AllocatorT >
using rclcpp::detail::AnySubscriptionCallbackHelper< MessageT, AllocatorT >::SharedPtrWithInfoCallback = std::function<void (std::shared_ptr<MessageT>, const rclcpp::MessageInfo &)>

◆ variant_type


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