SMACC2
List of all members
rclcpp::TypeAdapter< T, void, std::enable_if_t< ImplicitTypeAdapter< T >::is_specialized::value > > Struct Template Reference

Specialization of TypeAdapter for ImplicitTypeAdapter. More...

#include <type_adapter.hpp>

Inheritance diagram for rclcpp::TypeAdapter< T, void, std::enable_if_t< ImplicitTypeAdapter< T >::is_specialized::value > >:
Inheritance graph
Collaboration diagram for rclcpp::TypeAdapter< T, void, std::enable_if_t< ImplicitTypeAdapter< T >::is_specialized::value > >:
Collaboration graph

Additional Inherited Members

- Public Types inherited from rclcpp::ImplicitTypeAdapter< T >
using is_specialized = std::false_type
 

Detailed Description

template<typename T>
struct rclcpp::TypeAdapter< T, void, std::enable_if_t< ImplicitTypeAdapter< T >::is_specialized::value > >

Specialization of TypeAdapter for ImplicitTypeAdapter.

This allows for things like this:

RCLCPP_USING_CUSTOM_TYPE_AS_ROS_MESSAGE_TYPE(std::string, std_msgs::msg::String); auto pub = node->create_publisher<std::string>("topic", 10);

Definition at line 176 of file type_adapter.hpp.


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