Go to the documentation of this file.
6 #ifndef GEOMETRY_MSGS_MESSAGE_POLYGON_H
7 #define GEOMETRY_MSGS_MESSAGE_POLYGON_H
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
23 template <
class ContainerAllocator>
38 typedef std::vector< ::geometry_msgs::Point32_<ContainerAllocator> ,
typename ContainerAllocator::template rebind< ::geometry_msgs::Point32_<ContainerAllocator> >::other >
_points_type;
44 typedef std::shared_ptr< ::geometry_msgs::Polygon_<ContainerAllocator> >
Ptr;
45 typedef std::shared_ptr< ::geometry_msgs::Polygon_<ContainerAllocator>
const>
ConstPtr;
49 typedef ::geometry_msgs::Polygon_<std::allocator<void> >
Polygon;
51 typedef std::shared_ptr< ::geometry_msgs::Polygon >
PolygonPtr;
58 template<
typename ContainerAllocator>
59 std::ostream&
operator<<(std::ostream& s, const ::geometry_msgs::Polygon_<ContainerAllocator> & v)
69 namespace message_traits
82 template <
class ContainerAllocator>
87 template <
class ContainerAllocator>
92 template <
class ContainerAllocator>
97 template <
class ContainerAllocator>
102 template <
class ContainerAllocator>
107 template <
class ContainerAllocator>
113 template<
class ContainerAllocator>
118 return "cd60a26494a087f577976f0329fa120e";
121 static const char*
value(const ::geometry_msgs::Polygon_<ContainerAllocator>&) {
return value(); }
122 static const uint64_t static_value1 = 0xcd60a26494a087f5ULL;
123 static const uint64_t static_value2 = 0x77976f0329fa120eULL;
126 template<
class ContainerAllocator>
131 return "geometry_msgs/Polygon";
134 static const char*
value(const ::geometry_msgs::Polygon_<ContainerAllocator>&) {
return value(); }
137 template<
class ContainerAllocator>
142 return "#A specification of a polygon where the first and last points are assumed to be connected\n\
145 ================================================================================\n\
146 MSG: geometry_msgs/Point32\n\
147 # This contains the position of a point in free space(with 32 bits of precision).\n\
148 # It is recommeded to use Point wherever possible instead of Point32. \n\
150 # This recommendation is to promote interoperability. \n\
152 # This message is designed to take up less space when sending\n\
153 # lots of points at once, as in the case of a PointCloud. \n\
161 static const char*
value(const ::geometry_msgs::Polygon_<ContainerAllocator>&) {
return value(); }
169 namespace serialization
174 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
176 stream.next(m.points);
187 namespace message_operations
190 template<
class ContainerAllocator>
193 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::geometry_msgs::Polygon_<ContainerAllocator>& v)
195 s <<
indent <<
"points[]" << std::endl;
196 for (
size_t i = 0; i < v.points.size(); ++i)
198 s <<
indent <<
" points[" << i <<
"]: ";
209 #endif // GEOMETRY_MSGS_MESSAGE_POLYGON_H
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
std::vector< ::geometry_msgs::Point32_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::geometry_msgs::Point32_< ContainerAllocator > >::other > _points_type
Templated serialization class. Default implementation provides backwards compatibility with old messa...
std::ostream & operator<<(std::ostream &s, const ::geometry_msgs::Accel_< ContainerAllocator > &v)
static const char * value()
::geometry_msgs::Polygon_< std::allocator< void > > Polygon
std::shared_ptr< ::geometry_msgs::Polygon_< ContainerAllocator > const > ConstPtr
static void stream(Stream &s, const std::string &indent, const M &value)
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
static const char * value()
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
std::shared_ptr< ::geometry_msgs::Polygon const > PolygonConstPtr
static const char * value()
Specialize to provide the datatype for a message.
Specialize to provide the definition for a message.
std::shared_ptr< ::geometry_msgs::Polygon_< ContainerAllocator > > Ptr
static const char * value(const ::geometry_msgs::Polygon_< ContainerAllocator > &)
Polygon_< ContainerAllocator > Type
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the md5sum for a message.
static void allInOne(Stream &stream, T m)
Stream base-class, provides common functionality for IStream and OStream.
static void stream(Stream &s, const std::string &indent, const ::geometry_msgs::Polygon_< ContainerAllocator > &v)
Polygon_(const ContainerAllocator &_alloc)
static const char * value(const ::geometry_msgs::Polygon_< ContainerAllocator > &)
std::shared_ptr< ::geometry_msgs::Polygon > PolygonPtr
static const char * value(const ::geometry_msgs::Polygon_< ContainerAllocator > &)
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:09