Polygon.h
Go to the documentation of this file.
1 #include "sick_scan/sick_scan_base.h" /* Base definitions included in all header files, added by add_sick_scan_base_header.py. Do not edit this line. */
2 // Generated by gencpp from file geometry_msgs/Polygon.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef GEOMETRY_MSGS_MESSAGE_POLYGON_H
7 #define GEOMETRY_MSGS_MESSAGE_POLYGON_H
8 
9 
10 #include <string>
11 #include <vector>
12 #include <map>
13 
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
18 
19 #include <geometry_msgs/Point32.h>
20 
21 namespace geometry_msgs
22 {
23 template <class ContainerAllocator>
24 struct Polygon_
25 {
27 
29  : points() {
30  }
31  Polygon_(const ContainerAllocator& _alloc)
32  : points(_alloc) {
33  (void)_alloc;
34  }
35 
36 
37 
38  typedef std::vector< ::geometry_msgs::Point32_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point32_<ContainerAllocator> >::other > _points_type;
40 
41 
42 
43 
44  typedef std::shared_ptr< ::geometry_msgs::Polygon_<ContainerAllocator> > Ptr;
45  typedef std::shared_ptr< ::geometry_msgs::Polygon_<ContainerAllocator> const> ConstPtr;
46 
47 }; // struct Polygon_
48 
49 typedef ::geometry_msgs::Polygon_<std::allocator<void> > Polygon;
50 
51 typedef std::shared_ptr< ::geometry_msgs::Polygon > PolygonPtr;
52 typedef std::shared_ptr< ::geometry_msgs::Polygon const> PolygonConstPtr;
53 
54 // constants requiring out of line definition
55 
56 
57 
58 template<typename ContainerAllocator>
59 std::ostream& operator<<(std::ostream& s, const ::geometry_msgs::Polygon_<ContainerAllocator> & v)
60 {
62 return s;
63 }
64 
65 } // namespace geometry_msgs
66 
67 namespace roswrap
68 {
69 namespace message_traits
70 {
71 
72 
73 
74 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
75 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/tmp/binarydeb/ros-kinetic-geometry-msgs-1.12.5/msg']}
76 
77 // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
78 
79 
80 
81 
82 template <class ContainerAllocator>
83 struct IsFixedSize< ::geometry_msgs::Polygon_<ContainerAllocator> >
84  : FalseType
85  { };
86 
87 template <class ContainerAllocator>
88 struct IsFixedSize< ::geometry_msgs::Polygon_<ContainerAllocator> const>
89  : FalseType
90  { };
91 
92 template <class ContainerAllocator>
93 struct IsMessage< ::geometry_msgs::Polygon_<ContainerAllocator> >
94  : TrueType
95  { };
96 
97 template <class ContainerAllocator>
98 struct IsMessage< ::geometry_msgs::Polygon_<ContainerAllocator> const>
99  : TrueType
100  { };
101 
102 template <class ContainerAllocator>
103 struct HasHeader< ::geometry_msgs::Polygon_<ContainerAllocator> >
104  : FalseType
105  { };
106 
107 template <class ContainerAllocator>
108 struct HasHeader< ::geometry_msgs::Polygon_<ContainerAllocator> const>
109  : FalseType
110  { };
111 
112 
113 template<class ContainerAllocator>
114 struct MD5Sum< ::geometry_msgs::Polygon_<ContainerAllocator> >
115 {
116  static const char* value()
117  {
118  return "cd60a26494a087f577976f0329fa120e";
119  }
120 
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;
124 };
125 
126 template<class ContainerAllocator>
127 struct DataType< ::geometry_msgs::Polygon_<ContainerAllocator> >
128 {
129  static const char* value()
130  {
131  return "geometry_msgs/Polygon";
132  }
133 
134  static const char* value(const ::geometry_msgs::Polygon_<ContainerAllocator>&) { return value(); }
135 };
136 
137 template<class ContainerAllocator>
138 struct Definition< ::geometry_msgs::Polygon_<ContainerAllocator> >
139 {
140  static const char* value()
141  {
142  return "#A specification of a polygon where the first and last points are assumed to be connected\n\
143 Point32[] points\n\
144 \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\
149 # \n\
150 # This recommendation is to promote interoperability. \n\
151 #\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\
154 \n\
155 float32 x\n\
156 float32 y\n\
157 float32 z\n\
158 ";
159  }
160 
161  static const char* value(const ::geometry_msgs::Polygon_<ContainerAllocator>&) { return value(); }
162 };
163 
164 } // namespace message_traits
165 } // namespace roswrap
166 
167 namespace roswrap
168 {
169 namespace serialization
170 {
171 
172  template<class ContainerAllocator> struct Serializer< ::geometry_msgs::Polygon_<ContainerAllocator> >
173  {
174  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
175  {
176  stream.next(m.points);
177  }
178 
180  }; // struct Polygon_
181 
182 } // namespace serialization
183 } // namespace roswrap
184 
185 namespace roswrap
186 {
187 namespace message_operations
188 {
189 
190 template<class ContainerAllocator>
191 struct Printer< ::geometry_msgs::Polygon_<ContainerAllocator> >
192 {
193  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::Polygon_<ContainerAllocator>& v)
194  {
195  s << indent << "points[]" << std::endl;
196  for (size_t i = 0; i < v.points.size(); ++i)
197  {
198  s << indent << " points[" << i << "]: ";
199  s << std::endl;
200  s << indent;
202  }
203  }
204 };
205 
206 } // namespace message_operations
207 } // namespace roswrap
208 
209 #endif // GEOMETRY_MSGS_MESSAGE_POLYGON_H
roswrap::message_traits::FalseType
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Definition: message_traits.h:89
geometry_msgs::Polygon_::_points_type
std::vector< ::geometry_msgs::Point32_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::geometry_msgs::Point32_< ContainerAllocator > >::other > _points_type
Definition: Polygon.h:38
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
roswrap::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: serialization.h:120
roswrap::message_traits::HasHeader
HasHeader informs whether or not there is a header that gets serialized as the first thing in the mes...
Definition: message_traits.h:107
geometry_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::geometry_msgs::Accel_< ContainerAllocator > &v)
Definition: Accel.h:65
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
roswrap::message_traits::MD5Sum< ::geometry_msgs::Polygon_< ContainerAllocator > >::value
static const char * value()
Definition: Polygon.h:116
geometry_msgs::Polygon
::geometry_msgs::Polygon_< std::allocator< void > > Polygon
Definition: Polygon.h:49
geometry_msgs::Polygon_::ConstPtr
std::shared_ptr< ::geometry_msgs::Polygon_< ContainerAllocator > const > ConstPtr
Definition: Polygon.h:45
geometry_msgs
roswrap::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:43
roswrap::message_traits::IsFixedSize
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
Definition: message_traits.h:103
roswrap::message_traits::Definition< ::geometry_msgs::Polygon_< ContainerAllocator > >::value
static const char * value()
Definition: Polygon.h:140
ros::message_operations::Printer
ROS_DECLARE_ALLINONE_SERIALIZER
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
Definition: serialization.h:74
geometry_msgs::Polygon_
Definition: Polygon.h:24
geometry_msgs::PolygonConstPtr
std::shared_ptr< ::geometry_msgs::Polygon const > PolygonConstPtr
Definition: Polygon.h:52
roswrap::message_traits::DataType< ::geometry_msgs::Polygon_< ContainerAllocator > >::value
static const char * value()
Definition: Polygon.h:129
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
Point32.h
geometry_msgs::Polygon_::points
_points_type points
Definition: Polygon.h:39
geometry_msgs::Polygon_::Polygon_
Polygon_()
Definition: Polygon.h:28
geometry_msgs::Polygon_::Ptr
std::shared_ptr< ::geometry_msgs::Polygon_< ContainerAllocator > > Ptr
Definition: Polygon.h:44
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
roswrap::message_traits::MD5Sum< ::geometry_msgs::Polygon_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::Polygon_< ContainerAllocator > &)
Definition: Polygon.h:121
geometry_msgs::Polygon_::Type
Polygon_< ContainerAllocator > Type
Definition: Polygon.h:26
roswrap::message_traits::TrueType
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Definition: message_traits.h:79
roswrap::message_traits::MD5Sum
Specialize to provide the md5sum for a message.
Definition: message_traits.h:118
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
roswrap::serialization::Serializer< ::geometry_msgs::Polygon_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: Polygon.h:174
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
roswrap::message_operations::Printer< ::geometry_msgs::Polygon_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::geometry_msgs::Polygon_< ContainerAllocator > &v)
Definition: Polygon.h:193
geometry_msgs::Polygon_::Polygon_
Polygon_(const ContainerAllocator &_alloc)
Definition: Polygon.h:31
roswrap::message_traits::DataType< ::geometry_msgs::Polygon_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::Polygon_< ContainerAllocator > &)
Definition: Polygon.h:134
geometry_msgs::PolygonPtr
std::shared_ptr< ::geometry_msgs::Polygon > PolygonPtr
Definition: Polygon.h:51
roswrap::message_traits::Definition< ::geometry_msgs::Polygon_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::Polygon_< ContainerAllocator > &)
Definition: Polygon.h:161


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:09