rclcpp
master
C++ ROS Client Library API
|
Go to the documentation of this file.
15 #ifndef RCLCPP__SERIALIZATION_HPP_
16 #define RCLCPP__SERIALIZATION_HPP_
24 #include "rcl/types.h"
26 #include "rosidl_runtime_c/message_type_support_struct.h"
28 #include "rosidl_typesupport_cpp/message_type_support.hpp"
33 class SerializedMessage;
35 namespace serialization_traits
66 void serialize_message(
74 void deserialize_message(
78 const rosidl_message_type_support_t * type_support_;
82 template<
typename MessageT>
88 :
SerializationBase(rosidl_typesupport_cpp::get_message_type_support_handle<MessageT>())
92 "Serialization of serialized message to serialized message is not possible.");
98 #endif // RCLCPP__SERIALIZATION_HPP_
This header provides the get_node_base_interface() template function.
Definition: allocator_common.hpp:24
Definition: serialization.hpp:39
Interface to (de)serialize a message.
Definition: serialization.hpp:48
#define RCLCPP_PUBLIC_TYPE
Definition: visibility_control.hpp:53
Object oriented version of rcl_serialized_message_t with destructor to avoid memory leaks.
Definition: serialized_message.hpp:27
Serialization()
Constructor of Serialization.
Definition: serialization.hpp:87
Default implementation to (de)serialize a message by using rmw_(de)serialize.
Definition: serialization.hpp:83