ros: fix compilation for messages for clang-13 / C++20

- patch from https://github.com/ros/gencpp/pull/51
This commit is contained in:
Nikolaus Demmel 2021-11-05 03:09:45 +01:00 committed by Nikolaus Demmel
parent 73801acd7e
commit 01848364fc
90 changed files with 158 additions and 68 deletions

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -33,7 +34,7 @@ struct Polygon_
typedef std::vector< ::geometry_msgs::Point32_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point32_<ContainerAllocator> >::other > _points_type; typedef std::vector< ::geometry_msgs::Point32_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::geometry_msgs::Point32_<ContainerAllocator> >> _points_type;
_points_type points; _points_type points;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -39,7 +40,7 @@ struct PoseArray_
typedef ::std_msgs::Header_<ContainerAllocator> _header_type; typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
_header_type header; _header_type header;
typedef std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other > _poses_type; typedef std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::geometry_msgs::Pose_<ContainerAllocator> >> _poses_type;
_poses_type poses; _poses_type poses;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -41,7 +42,7 @@ struct TransformStamped_
typedef ::std_msgs::Header_<ContainerAllocator> _header_type; typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
_header_type header; _header_type header;
typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _child_frame_id_type; typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _child_frame_id_type;
_child_frame_id_type child_frame_id; _child_frame_id_type child_frame_id;
typedef ::geometry_msgs::Transform_<ContainerAllocator> _transform_type; typedef ::geometry_msgs::Transform_<ContainerAllocator> _transform_type;
@ -256,7 +257,7 @@ struct Printer< ::geometry_msgs::TransformStamped_<ContainerAllocator> >
s << std::endl; s << std::endl;
Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
s << indent << "child_frame_id: "; s << indent << "child_frame_id: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.child_frame_id); Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.child_frame_id);
s << indent << "transform: "; s << indent << "transform: ";
s << std::endl; s << std::endl;
Printer< ::geometry_msgs::Transform_<ContainerAllocator> >::stream(s, indent + " ", v.transform); Printer< ::geometry_msgs::Transform_<ContainerAllocator> >::stream(s, indent + " ", v.transform);

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -99,16 +100,16 @@ struct BatteryState_
typedef uint8_t _present_type; typedef uint8_t _present_type;
_present_type present; _present_type present;
typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _cell_voltage_type; typedef std::vector<float, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<float>> _cell_voltage_type;
_cell_voltage_type cell_voltage; _cell_voltage_type cell_voltage;
typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _cell_temperature_type; typedef std::vector<float, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<float>> _cell_temperature_type;
_cell_temperature_type cell_temperature; _cell_temperature_type cell_temperature;
typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _location_type; typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _location_type;
_location_type location; _location_type location;
typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _serial_number_type; typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _serial_number_type;
_serial_number_type serial_number; _serial_number_type serial_number;
@ -524,9 +525,9 @@ struct Printer< ::sensor_msgs::BatteryState_<ContainerAllocator> >
Printer<float>::stream(s, indent + " ", v.cell_temperature[i]); Printer<float>::stream(s, indent + " ", v.cell_temperature[i]);
} }
s << indent << "location: "; s << indent << "location: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.location); Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.location);
s << indent << "serial_number: "; s << indent << "serial_number: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.serial_number); Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.serial_number);
} }
}; };

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -73,10 +74,10 @@ struct CameraInfo_
typedef uint32_t _width_type; typedef uint32_t _width_type;
_width_type width; _width_type width;
typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _distortion_model_type; typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _distortion_model_type;
_distortion_model_type distortion_model; _distortion_model_type distortion_model;
typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _D_type; typedef std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> _D_type;
_D_type D; _D_type D;
typedef boost::array<double, 9> _K_type; typedef boost::array<double, 9> _K_type;
@ -441,7 +442,7 @@ struct Printer< ::sensor_msgs::CameraInfo_<ContainerAllocator> >
s << indent << "width: "; s << indent << "width: ";
Printer<uint32_t>::stream(s, indent + " ", v.width); Printer<uint32_t>::stream(s, indent + " ", v.width);
s << indent << "distortion_model: "; s << indent << "distortion_model: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.distortion_model); Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.distortion_model);
s << indent << "D[]" << std::endl; s << indent << "D[]" << std::endl;
for (size_t i = 0; i < v.D.size(); ++i) for (size_t i = 0; i < v.D.size(); ++i)
{ {

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -34,10 +35,10 @@ struct ChannelFloat32_
typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type; typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _name_type;
_name_type name; _name_type name;
typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _values_type; typedef std::vector<float, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<float>> _values_type;
_values_type values; _values_type values;
@ -214,7 +215,7 @@ struct Printer< ::sensor_msgs::ChannelFloat32_<ContainerAllocator> >
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::ChannelFloat32_<ContainerAllocator>& v) template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::ChannelFloat32_<ContainerAllocator>& v)
{ {
s << indent << "name: "; s << indent << "name: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.name); Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.name);
s << indent << "values[]" << std::endl; s << indent << "values[]" << std::endl;
for (size_t i = 0; i < v.values.size(); ++i) for (size_t i = 0; i < v.values.size(); ++i)
{ {

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -40,10 +41,10 @@ struct CompressedImage_
typedef ::std_msgs::Header_<ContainerAllocator> _header_type; typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
_header_type header; _header_type header;
typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _format_type; typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _format_type;
_format_type format; _format_type format;
typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other > _data_type; typedef std::vector<uint8_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<uint8_t>> _data_type;
_data_type data; _data_type data;
@ -230,7 +231,7 @@ struct Printer< ::sensor_msgs::CompressedImage_<ContainerAllocator> >
s << std::endl; s << std::endl;
Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
s << indent << "format: "; s << indent << "format: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.format); Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.format);
s << indent << "data[]" << std::endl; s << indent << "data[]" << std::endl;
for (size_t i = 0; i < v.data.size(); ++i) for (size_t i = 0; i < v.data.size(); ++i)
{ {

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -54,7 +55,7 @@ struct Image_
typedef uint32_t _width_type; typedef uint32_t _width_type;
_width_type width; _width_type width;
typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _encoding_type; typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _encoding_type;
_encoding_type encoding; _encoding_type encoding;
typedef uint8_t _is_bigendian_type; typedef uint8_t _is_bigendian_type;
@ -63,7 +64,7 @@ struct Image_
typedef uint32_t _step_type; typedef uint32_t _step_type;
_step_type step; _step_type step;
typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other > _data_type; typedef std::vector<uint8_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<uint8_t>> _data_type;
_data_type data; _data_type data;
@ -276,7 +277,7 @@ struct Printer< ::sensor_msgs::Image_<ContainerAllocator> >
s << indent << "width: "; s << indent << "width: ";
Printer<uint32_t>::stream(s, indent + " ", v.width); Printer<uint32_t>::stream(s, indent + " ", v.width);
s << indent << "encoding: "; s << indent << "encoding: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.encoding); Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.encoding);
s << indent << "is_bigendian: "; s << indent << "is_bigendian: ";
Printer<uint8_t>::stream(s, indent + " ", v.is_bigendian); Printer<uint8_t>::stream(s, indent + " ", v.is_bigendian);
s << indent << "step: "; s << indent << "step: ";

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -44,16 +45,16 @@ struct JointState_
typedef ::std_msgs::Header_<ContainerAllocator> _header_type; typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
_header_type header; _header_type header;
typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _name_type; typedef std::vector<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>> _name_type;
_name_type name; _name_type name;
typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _position_type; typedef std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> _position_type;
_position_type position; _position_type position;
typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _velocity_type; typedef std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> _velocity_type;
_velocity_type velocity; _velocity_type velocity;
typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _effort_type; typedef std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> _effort_type;
_effort_type effort; _effort_type effort;
@ -260,7 +261,7 @@ struct Printer< ::sensor_msgs::JointState_<ContainerAllocator> >
for (size_t i = 0; i < v.name.size(); ++i) for (size_t i = 0; i < v.name.size(); ++i)
{ {
s << indent << " name[" << i << "]: "; s << indent << " name[" << i << "]: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.name[i]); Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.name[i]);
} }
s << indent << "position[]" << std::endl; s << indent << "position[]" << std::endl;
for (size_t i = 0; i < v.position.size(); ++i) for (size_t i = 0; i < v.position.size(); ++i)

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -40,10 +41,10 @@ struct Joy_
typedef ::std_msgs::Header_<ContainerAllocator> _header_type; typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
_header_type header; _header_type header;
typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _axes_type; typedef std::vector<float, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<float>> _axes_type;
_axes_type axes; _axes_type axes;
typedef std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other > _buttons_type; typedef std::vector<int32_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<int32_t>> _buttons_type;
_buttons_type buttons; _buttons_type buttons;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -33,7 +34,7 @@ struct JoyFeedbackArray_
typedef std::vector< ::sensor_msgs::JoyFeedback_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::JoyFeedback_<ContainerAllocator> >::other > _array_type; typedef std::vector< ::sensor_msgs::JoyFeedback_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::sensor_msgs::JoyFeedback_<ContainerAllocator> >> _array_type;
_array_type array; _array_type array;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -32,7 +33,7 @@ struct LaserEcho_
typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _echoes_type; typedef std::vector<float, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<float>> _echoes_type;
_echoes_type echoes; _echoes_type echoes;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -75,10 +76,10 @@ struct LaserScan_
typedef float _range_max_type; typedef float _range_max_type;
_range_max_type range_max; _range_max_type range_max;
typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _ranges_type; typedef std::vector<float, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<float>> _ranges_type;
_ranges_type ranges; _ranges_type ranges;
typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _intensities_type; typedef std::vector<float, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<float>> _intensities_type;
_intensities_type intensities; _intensities_type intensities;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -47,16 +48,16 @@ struct MultiDOFJointState_
typedef ::std_msgs::Header_<ContainerAllocator> _header_type; typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
_header_type header; _header_type header;
typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _joint_names_type; typedef std::vector<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>> _joint_names_type;
_joint_names_type joint_names; _joint_names_type joint_names;
typedef std::vector< ::geometry_msgs::Transform_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Transform_<ContainerAllocator> >::other > _transforms_type; typedef std::vector< ::geometry_msgs::Transform_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::geometry_msgs::Transform_<ContainerAllocator> >> _transforms_type;
_transforms_type transforms; _transforms_type transforms;
typedef std::vector< ::geometry_msgs::Twist_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Twist_<ContainerAllocator> >::other > _twist_type; typedef std::vector< ::geometry_msgs::Twist_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::geometry_msgs::Twist_<ContainerAllocator> >> _twist_type;
_twist_type twist; _twist_type twist;
typedef std::vector< ::geometry_msgs::Wrench_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Wrench_<ContainerAllocator> >::other > _wrench_type; typedef std::vector< ::geometry_msgs::Wrench_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::geometry_msgs::Wrench_<ContainerAllocator> >> _wrench_type;
_wrench_type wrench; _wrench_type wrench;
@ -304,7 +305,7 @@ struct Printer< ::sensor_msgs::MultiDOFJointState_<ContainerAllocator> >
for (size_t i = 0; i < v.joint_names.size(); ++i) for (size_t i = 0; i < v.joint_names.size(); ++i)
{ {
s << indent << " joint_names[" << i << "]: "; s << indent << " joint_names[" << i << "]: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.joint_names[i]); Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.joint_names[i]);
} }
s << indent << "transforms[]" << std::endl; s << indent << "transforms[]" << std::endl;
for (size_t i = 0; i < v.transforms.size(); ++i) for (size_t i = 0; i < v.transforms.size(); ++i)

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -77,10 +78,10 @@ struct MultiEchoLaserScan_
typedef float _range_max_type; typedef float _range_max_type;
_range_max_type range_max; _range_max_type range_max;
typedef std::vector< ::sensor_msgs::LaserEcho_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::LaserEcho_<ContainerAllocator> >::other > _ranges_type; typedef std::vector< ::sensor_msgs::LaserEcho_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::sensor_msgs::LaserEcho_<ContainerAllocator> >> _ranges_type;
_ranges_type ranges; _ranges_type ranges;
typedef std::vector< ::sensor_msgs::LaserEcho_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::LaserEcho_<ContainerAllocator> >::other > _intensities_type; typedef std::vector< ::sensor_msgs::LaserEcho_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::sensor_msgs::LaserEcho_<ContainerAllocator> >> _intensities_type;
_intensities_type intensities; _intensities_type intensities;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -42,10 +43,10 @@ struct PointCloud_
typedef ::std_msgs::Header_<ContainerAllocator> _header_type; typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
_header_type header; _header_type header;
typedef std::vector< ::geometry_msgs::Point32_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point32_<ContainerAllocator> >::other > _points_type; typedef std::vector< ::geometry_msgs::Point32_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::geometry_msgs::Point32_<ContainerAllocator> >> _points_type;
_points_type points; _points_type points;
typedef std::vector< ::sensor_msgs::ChannelFloat32_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::ChannelFloat32_<ContainerAllocator> >::other > _channels_type; typedef std::vector< ::sensor_msgs::ChannelFloat32_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::sensor_msgs::ChannelFloat32_<ContainerAllocator> >> _channels_type;
_channels_type channels; _channels_type channels;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -59,7 +60,7 @@ struct PointCloud2_
typedef uint32_t _width_type; typedef uint32_t _width_type;
_width_type width; _width_type width;
typedef std::vector< ::sensor_msgs::PointField_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::PointField_<ContainerAllocator> >::other > _fields_type; typedef std::vector< ::sensor_msgs::PointField_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::sensor_msgs::PointField_<ContainerAllocator> >> _fields_type;
_fields_type fields; _fields_type fields;
typedef uint8_t _is_bigendian_type; typedef uint8_t _is_bigendian_type;
@ -71,7 +72,7 @@ struct PointCloud2_
typedef uint32_t _row_step_type; typedef uint32_t _row_step_type;
_row_step_type row_step; _row_step_type row_step;
typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other > _data_type; typedef std::vector<uint8_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<uint8_t>> _data_type;
_data_type data; _data_type data;
typedef uint8_t _is_dense_type; typedef uint8_t _is_dense_type;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -38,7 +39,7 @@ struct PointField_
typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type; typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _name_type;
_name_type name; _name_type name;
typedef uint32_t _offset_type; typedef uint32_t _offset_type;
@ -271,7 +272,7 @@ struct Printer< ::sensor_msgs::PointField_<ContainerAllocator> >
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::PointField_<ContainerAllocator>& v) template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::PointField_<ContainerAllocator>& v)
{ {
s << indent << "name: "; s << indent << "name: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.name); Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.name);
s << indent << "offset: "; s << indent << "offset: ";
Printer<uint32_t>::stream(s, indent + " ", v.offset); Printer<uint32_t>::stream(s, indent + " ", v.offset);
s << indent << "datatype: "; s << indent << "datatype: ";

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -37,7 +38,7 @@ struct SetCameraInfoResponse_
typedef uint8_t _success_type; typedef uint8_t _success_type;
_success_type success; _success_type success;
typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _status_message_type; typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _status_message_type;
_status_message_type status_message; _status_message_type status_message;
@ -195,7 +196,7 @@ struct Printer< ::sensor_msgs::SetCameraInfoResponse_<ContainerAllocator> >
s << indent << "success: "; s << indent << "success: ";
Printer<uint8_t>::stream(s, indent + " ", v.success); Printer<uint8_t>::stream(s, indent + " ", v.success);
s << indent << "status_message: "; s << indent << "status_message: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.status_message); Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.status_message);
} }
}; };

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -43,7 +44,7 @@ struct TimeReference_
typedef ros::Time _time_ref_type; typedef ros::Time _time_ref_type;
_time_ref_type time_ref; _time_ref_type time_ref;
typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _source_type; typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _source_type;
_source_type source; _source_type source;
@ -226,7 +227,7 @@ struct Printer< ::sensor_msgs::TimeReference_<ContainerAllocator> >
s << indent << "time_ref: "; s << indent << "time_ref: ";
Printer<ros::Time>::stream(s, indent + " ", v.time_ref); Printer<ros::Time>::stream(s, indent + " ", v.time_ref);
s << indent << "source: "; s << indent << "source: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.source); Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.source);
} }
}; };

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -38,7 +39,7 @@ struct ByteMultiArray_
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type; typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout; _layout_type layout;
typedef std::vector<int8_t, typename ContainerAllocator::template rebind<int8_t>::other > _data_type; typedef std::vector<int8_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<int8_t>> _data_type;
_data_type data; _data_type data;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -38,7 +39,7 @@ struct Float32MultiArray_
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type; typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout; _layout_type layout;
typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _data_type; typedef std::vector<float, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<float>> _data_type;
_data_type data; _data_type data;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -38,7 +39,7 @@ struct Float64MultiArray_
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type; typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout; _layout_type layout;
typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _data_type; typedef std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> _data_type;
_data_type data; _data_type data;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -42,7 +43,7 @@ struct Header_
typedef ros::Time _stamp_type; typedef ros::Time _stamp_type;
_stamp_type stamp; _stamp_type stamp;
typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _frame_id_type; typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _frame_id_type;
_frame_id_type frame_id; _frame_id_type frame_id;
@ -214,7 +215,7 @@ struct Printer< ::std_msgs::Header_<ContainerAllocator> >
s << indent << "stamp: "; s << indent << "stamp: ";
Printer<ros::Time>::stream(s, indent + " ", v.stamp); Printer<ros::Time>::stream(s, indent + " ", v.stamp);
s << indent << "frame_id: "; s << indent << "frame_id: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.frame_id); Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.frame_id);
} }
}; };

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -38,7 +39,7 @@ struct Int16MultiArray_
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type; typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout; _layout_type layout;
typedef std::vector<int16_t, typename ContainerAllocator::template rebind<int16_t>::other > _data_type; typedef std::vector<int16_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<int16_t>> _data_type;
_data_type data; _data_type data;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -38,7 +39,7 @@ struct Int32MultiArray_
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type; typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout; _layout_type layout;
typedef std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other > _data_type; typedef std::vector<int32_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<int32_t>> _data_type;
_data_type data; _data_type data;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -38,7 +39,7 @@ struct Int64MultiArray_
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type; typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout; _layout_type layout;
typedef std::vector<int64_t, typename ContainerAllocator::template rebind<int64_t>::other > _data_type; typedef std::vector<int64_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<int64_t>> _data_type;
_data_type data; _data_type data;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -38,7 +39,7 @@ struct Int8MultiArray_
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type; typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout; _layout_type layout;
typedef std::vector<int8_t, typename ContainerAllocator::template rebind<int8_t>::other > _data_type; typedef std::vector<int8_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<int8_t>> _data_type;
_data_type data; _data_type data;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -36,7 +37,7 @@ struct MultiArrayDimension_
typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _label_type; typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _label_type;
_label_type label; _label_type label;
typedef uint32_t _size_type; typedef uint32_t _size_type;
@ -200,7 +201,7 @@ struct Printer< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::MultiArrayDimension_<ContainerAllocator>& v) template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::MultiArrayDimension_<ContainerAllocator>& v)
{ {
s << indent << "label: "; s << indent << "label: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.label); Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.label);
s << indent << "size: "; s << indent << "size: ";
Printer<uint32_t>::stream(s, indent + " ", v.size); Printer<uint32_t>::stream(s, indent + " ", v.size);
s << indent << "stride: "; s << indent << "stride: ";

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -35,7 +36,7 @@ struct MultiArrayLayout_
typedef std::vector< ::std_msgs::MultiArrayDimension_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >::other > _dim_type; typedef std::vector< ::std_msgs::MultiArrayDimension_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >> _dim_type;
_dim_type dim; _dim_type dim;
typedef uint32_t _data_offset_type; typedef uint32_t _data_offset_type;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -32,7 +33,7 @@ struct String_
typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _data_type; typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _data_type;
_data_type data; _data_type data;
@ -184,7 +185,7 @@ struct Printer< ::std_msgs::String_<ContainerAllocator> >
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::String_<ContainerAllocator>& v) template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::String_<ContainerAllocator>& v)
{ {
s << indent << "data: "; s << indent << "data: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.data); Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.data);
} }
}; };

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -38,7 +39,7 @@ struct UInt16MultiArray_
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type; typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout; _layout_type layout;
typedef std::vector<uint16_t, typename ContainerAllocator::template rebind<uint16_t>::other > _data_type; typedef std::vector<uint16_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<uint16_t>> _data_type;
_data_type data; _data_type data;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -38,7 +39,7 @@ struct UInt32MultiArray_
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type; typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout; _layout_type layout;
typedef std::vector<uint32_t, typename ContainerAllocator::template rebind<uint32_t>::other > _data_type; typedef std::vector<uint32_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<uint32_t>> _data_type;
_data_type data; _data_type data;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -38,7 +39,7 @@ struct UInt64MultiArray_
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type; typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout; _layout_type layout;
typedef std::vector<uint64_t, typename ContainerAllocator::template rebind<uint64_t>::other > _data_type; typedef std::vector<uint64_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<uint64_t>> _data_type;
_data_type data; _data_type data;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <ros/types.h> #include <ros/types.h>
#include <ros/serialization.h> #include <ros/serialization.h>
@ -38,7 +39,7 @@ struct UInt8MultiArray_
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type; typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout; _layout_type layout;
typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other > _data_type; typedef std::vector<uint8_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<uint8_t>> _data_type;
_data_type data; _data_type data;