15 #ifndef RCLCPP__SERIALIZED_MESSAGE_HPP_
16 #define RCLCPP__SERIALIZED_MESSAGE_HPP_
18 #include "rcl/allocator.h"
19 #include "rcl/types.h"
39 const rcl_allocator_t & allocator = rcl_get_default_allocator());
51 size_t initial_capacity,
52 const rcl_allocator_t & allocator = rcl_get_default_allocator());
82 rcl_serialized_message_t & get_rcl_serialized_message();
85 const rcl_serialized_message_t & get_rcl_serialized_message()
const;
99 size_t capacity()
const;
106 void reserve(
size_t capacity);
113 rcl_serialized_message_t release_rcl_serialized_message();
116 rcl_serialized_message_t serialized_message_;
121 #endif // RCLCPP__SERIALIZED_MESSAGE_HPP_