PolygonStamped.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/PolygonStamped.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef GEOMETRY_MSGS_MESSAGE_POLYGONSTAMPED_H
7 #define GEOMETRY_MSGS_MESSAGE_POLYGONSTAMPED_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 <std_msgs/Header.h>
20 #include <geometry_msgs/Polygon.h>
21 
22 namespace geometry_msgs
23 {
24 template <class ContainerAllocator>
26 {
28 
30  : header()
31  , polygon() {
32  }
33  PolygonStamped_(const ContainerAllocator& _alloc)
34  : header(_alloc)
35  , polygon(_alloc) {
36  (void)_alloc;
37  }
38 
39 
40 
41  typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
43 
44  typedef ::geometry_msgs::Polygon_<ContainerAllocator> _polygon_type;
46 
47 
48 
49 
50  typedef std::shared_ptr< ::geometry_msgs::PolygonStamped_<ContainerAllocator> > Ptr;
51  typedef std::shared_ptr< ::geometry_msgs::PolygonStamped_<ContainerAllocator> const> ConstPtr;
52 
53 }; // struct PolygonStamped_
54 
55 typedef ::geometry_msgs::PolygonStamped_<std::allocator<void> > PolygonStamped;
56 
57 typedef std::shared_ptr< ::geometry_msgs::PolygonStamped > PolygonStampedPtr;
58 typedef std::shared_ptr< ::geometry_msgs::PolygonStamped const> PolygonStampedConstPtr;
59 
60 // constants requiring out of line definition
61 
62 
63 
64 template<typename ContainerAllocator>
65 std::ostream& operator<<(std::ostream& s, const ::geometry_msgs::PolygonStamped_<ContainerAllocator> & v)
66 {
68 return s;
69 }
70 
71 } // namespace geometry_msgs
72 
73 namespace roswrap
74 {
75 namespace message_traits
76 {
77 
78 
79 
80 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': True}
81 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/tmp/binarydeb/ros-kinetic-geometry-msgs-1.12.5/msg']}
82 
83 // !!!!!!!!!!! ['__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']
84 
85 
86 
87 
88 template <class ContainerAllocator>
89 struct IsFixedSize< ::geometry_msgs::PolygonStamped_<ContainerAllocator> >
90  : FalseType
91  { };
92 
93 template <class ContainerAllocator>
94 struct IsFixedSize< ::geometry_msgs::PolygonStamped_<ContainerAllocator> const>
95  : FalseType
96  { };
97 
98 template <class ContainerAllocator>
99 struct IsMessage< ::geometry_msgs::PolygonStamped_<ContainerAllocator> >
100  : TrueType
101  { };
102 
103 template <class ContainerAllocator>
104 struct IsMessage< ::geometry_msgs::PolygonStamped_<ContainerAllocator> const>
105  : TrueType
106  { };
107 
108 template <class ContainerAllocator>
109 struct HasHeader< ::geometry_msgs::PolygonStamped_<ContainerAllocator> >
110  : TrueType
111  { };
112 
113 template <class ContainerAllocator>
114 struct HasHeader< ::geometry_msgs::PolygonStamped_<ContainerAllocator> const>
115  : TrueType
116  { };
117 
118 
119 template<class ContainerAllocator>
120 struct MD5Sum< ::geometry_msgs::PolygonStamped_<ContainerAllocator> >
121 {
122  static const char* value()
123  {
124  return "c6be8f7dc3bee7fe9e8d296070f53340";
125  }
126 
127  static const char* value(const ::geometry_msgs::PolygonStamped_<ContainerAllocator>&) { return value(); }
128  static const uint64_t static_value1 = 0xc6be8f7dc3bee7feULL;
129  static const uint64_t static_value2 = 0x9e8d296070f53340ULL;
130 };
131 
132 template<class ContainerAllocator>
133 struct DataType< ::geometry_msgs::PolygonStamped_<ContainerAllocator> >
134 {
135  static const char* value()
136  {
137  return "geometry_msgs/PolygonStamped";
138  }
139 
140  static const char* value(const ::geometry_msgs::PolygonStamped_<ContainerAllocator>&) { return value(); }
141 };
142 
143 template<class ContainerAllocator>
144 struct Definition< ::geometry_msgs::PolygonStamped_<ContainerAllocator> >
145 {
146  static const char* value()
147  {
148  return "# This represents a Polygon with reference coordinate frame and timestamp\n\
149 Header header\n\
150 Polygon polygon\n\
151 \n\
152 ================================================================================\n\
153 MSG: std_msgs/Header\n\
154 # Standard metadata for higher-level stamped data types.\n\
155 # This is generally used to communicate timestamped data \n\
156 # in a particular coordinate frame.\n\
157 # \n\
158 # sequence ID: consecutively increasing ID \n\
159 uint32 seq\n\
160 #Two-integer timestamp that is expressed as:\n\
161 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
162 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
163 # time-handling sugar is provided by the client library\n\
164 time stamp\n\
165 #Frame this data is associated with\n\
166 # 0: no frame\n\
167 # 1: global frame\n\
168 string frame_id\n\
169 \n\
170 ================================================================================\n\
171 MSG: geometry_msgs/Polygon\n\
172 #A specification of a polygon where the first and last points are assumed to be connected\n\
173 Point32[] points\n\
174 \n\
175 ================================================================================\n\
176 MSG: geometry_msgs/Point32\n\
177 # This contains the position of a point in free space(with 32 bits of precision).\n\
178 # It is recommeded to use Point wherever possible instead of Point32. \n\
179 # \n\
180 # This recommendation is to promote interoperability. \n\
181 #\n\
182 # This message is designed to take up less space when sending\n\
183 # lots of points at once, as in the case of a PointCloud. \n\
184 \n\
185 float32 x\n\
186 float32 y\n\
187 float32 z\n\
188 ";
189  }
190 
191  static const char* value(const ::geometry_msgs::PolygonStamped_<ContainerAllocator>&) { return value(); }
192 };
193 
194 } // namespace message_traits
195 } // namespace roswrap
196 
197 namespace roswrap
198 {
199 namespace serialization
200 {
201 
202  template<class ContainerAllocator> struct Serializer< ::geometry_msgs::PolygonStamped_<ContainerAllocator> >
203  {
204  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
205  {
206  stream.next(m.header);
207  stream.next(m.polygon);
208  }
209 
211  }; // struct PolygonStamped_
212 
213 } // namespace serialization
214 } // namespace roswrap
215 
216 namespace roswrap
217 {
218 namespace message_operations
219 {
220 
221 template<class ContainerAllocator>
222 struct Printer< ::geometry_msgs::PolygonStamped_<ContainerAllocator> >
223 {
224  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::PolygonStamped_<ContainerAllocator>& v)
225  {
226  s << indent << "header: ";
227  s << std::endl;
229  s << indent << "polygon: ";
230  s << std::endl;
232  }
233 };
234 
235 } // namespace message_operations
236 } // namespace roswrap
237 
238 #endif // GEOMETRY_MSGS_MESSAGE_POLYGONSTAMPED_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::PolygonStamped_::header
_header_type header
Definition: PolygonStamped.h:42
roswrap::message_traits::DataType< ::geometry_msgs::PolygonStamped_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::PolygonStamped_< ContainerAllocator > &)
Definition: PolygonStamped.h:140
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::PolygonStamped_::Ptr
std::shared_ptr< ::geometry_msgs::PolygonStamped_< ContainerAllocator > > Ptr
Definition: PolygonStamped.h:50
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
geometry_msgs
roswrap::message_traits::MD5Sum< ::geometry_msgs::PolygonStamped_< ContainerAllocator > >::value
static const char * value()
Definition: PolygonStamped.h:122
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
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
roswrap::serialization::Serializer< ::geometry_msgs::PolygonStamped_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: PolygonStamped.h:204
geometry_msgs::Polygon_
Definition: Polygon.h:24
Polygon.h
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
roswrap::message_traits::DataType< ::geometry_msgs::PolygonStamped_< ContainerAllocator > >::value
static const char * value()
Definition: PolygonStamped.h:135
roswrap::message_traits::MD5Sum< ::geometry_msgs::PolygonStamped_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::PolygonStamped_< ContainerAllocator > &)
Definition: PolygonStamped.h:127
geometry_msgs::PolygonStamped_::PolygonStamped_
PolygonStamped_(const ContainerAllocator &_alloc)
Definition: PolygonStamped.h:33
geometry_msgs::PolygonStampedPtr
std::shared_ptr< ::geometry_msgs::PolygonStamped > PolygonStampedPtr
Definition: PolygonStamped.h:57
geometry_msgs::PolygonStamped_::Type
PolygonStamped_< ContainerAllocator > Type
Definition: PolygonStamped.h:27
geometry_msgs::PolygonStamped_
Definition: PolygonStamped.h:25
roswrap::message_traits::Definition< ::geometry_msgs::PolygonStamped_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::PolygonStamped_< ContainerAllocator > &)
Definition: PolygonStamped.h:191
roswrap
Definition: param_modi.cpp:41
geometry_msgs::PolygonStamped_::ConstPtr
std::shared_ptr< ::geometry_msgs::PolygonStamped_< ContainerAllocator > const > ConstPtr
Definition: PolygonStamped.h:51
roswrap::message_operations::Printer
Definition: message_operations.h:40
geometry_msgs::PolygonStamped_::_header_type
::std_msgs::Header_< ContainerAllocator > _header_type
Definition: PolygonStamped.h:41
std_msgs::Header_
Definition: Header.h:23
geometry_msgs::PolygonStampedConstPtr
std::shared_ptr< ::geometry_msgs::PolygonStamped const > PolygonStampedConstPtr
Definition: PolygonStamped.h:58
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::message_traits::Definition< ::geometry_msgs::PolygonStamped_< ContainerAllocator > >::value
static const char * value()
Definition: PolygonStamped.h:146
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::PolygonStamped_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::geometry_msgs::PolygonStamped_< ContainerAllocator > &v)
Definition: PolygonStamped.h:224
geometry_msgs::PolygonStamped
::geometry_msgs::PolygonStamped_< std::allocator< void > > PolygonStamped
Definition: PolygonStamped.h:55
geometry_msgs::PolygonStamped_::_polygon_type
::geometry_msgs::Polygon_< ContainerAllocator > _polygon_type
Definition: PolygonStamped.h:44
Header.h
geometry_msgs::PolygonStamped_::PolygonStamped_
PolygonStamped_()
Definition: PolygonStamped.h:29
geometry_msgs::PolygonStamped_::polygon
_polygon_type polygon
Definition: PolygonStamped.h:45


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