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

Default implementation to (de)serialize a message by using rmw_(de)serialize. More...

#include <serialization.hpp>

Inheritance diagram for rclcpp::Serialization< MessageT >:
Inheritance graph
[legend]
Collaboration diagram for rclcpp::Serialization< MessageT >:
Collaboration graph
[legend]

Public Member Functions

 Serialization ()
 Constructor of Serialization. More...
 
- Public Member Functions inherited from rclcpp::SerializationBase
 SerializationBase (const rosidl_message_type_support_t *type_support)
 Constructor of SerializationBase. More...
 
virtual ~SerializationBase ()=default
 Destructor of SerializationBase. More...
 
void serialize_message (const void *ros_message, SerializedMessage *serialized_message) const
 Serialize a ROS2 message to a serialized stream. More...
 
void deserialize_message (const SerializedMessage *serialized_message, void *ros_message) const
 Deserialize a serialized stream to a ROS message. More...
 

Detailed Description

template<typename MessageT>
class rclcpp::Serialization< MessageT >

Default implementation to (de)serialize a message by using rmw_(de)serialize.

Constructor & Destructor Documentation

◆ Serialization()

template<typename MessageT >
rclcpp::Serialization< MessageT >::Serialization ( )
inline

Constructor of Serialization.


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