MarkerArray.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 visualization_msgs/MarkerArray.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef VISUALIZATION_MSGS_MESSAGE_MARKERARRAY_H
7 #define VISUALIZATION_MSGS_MESSAGE_MARKERARRAY_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 
20 
21 namespace visualization_msgs
22 {
23 template <class ContainerAllocator>
25 {
27 
29  : markers() {
30  }
31  MarkerArray_(const ContainerAllocator& _alloc)
32  : markers(_alloc) {
33  (void)_alloc;
34  }
35 
36 
37 
38  typedef std::vector< ::visualization_msgs::Marker_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::visualization_msgs::Marker_<ContainerAllocator> >::other > _markers_type;
40 
41 
42 
43 
44 
45  typedef std::shared_ptr< ::visualization_msgs::MarkerArray_<ContainerAllocator> > Ptr;
46  typedef std::shared_ptr< ::visualization_msgs::MarkerArray_<ContainerAllocator> const> ConstPtr;
47 
48 }; // struct MarkerArray_
49 
50 typedef ::visualization_msgs::MarkerArray_<std::allocator<void> > MarkerArray;
51 
52 typedef std::shared_ptr< ::visualization_msgs::MarkerArray > MarkerArrayPtr;
53 typedef std::shared_ptr< ::visualization_msgs::MarkerArray const> MarkerArrayConstPtr;
54 
55 // constants requiring out of line definition
56 
57 
58 
59 template<typename ContainerAllocator>
60 std::ostream& operator<<(std::ostream& s, const ::visualization_msgs::MarkerArray_<ContainerAllocator> & v)
61 {
63 return s;
64 }
65 
66 
67 template<typename ContainerAllocator1, typename ContainerAllocator2>
68 bool operator==(const ::visualization_msgs::MarkerArray_<ContainerAllocator1> & lhs, const ::visualization_msgs::MarkerArray_<ContainerAllocator2> & rhs)
69 {
70  return lhs.markers == rhs.markers;
71 }
72 
73 template<typename ContainerAllocator1, typename ContainerAllocator2>
74 bool operator!=(const ::visualization_msgs::MarkerArray_<ContainerAllocator1> & lhs, const ::visualization_msgs::MarkerArray_<ContainerAllocator2> & rhs)
75 {
76  return !(lhs == rhs);
77 }
78 
79 
80 } // namespace visualization_msgs
81 
82 namespace roswrap
83 {
84 namespace message_traits
85 {
86 
87 
88 
89 
90 
91 template <class ContainerAllocator>
92 struct IsFixedSize< ::visualization_msgs::MarkerArray_<ContainerAllocator> >
93  : FalseType
94  { };
95 
96 template <class ContainerAllocator>
97 struct IsFixedSize< ::visualization_msgs::MarkerArray_<ContainerAllocator> const>
98  : FalseType
99  { };
100 
101 template <class ContainerAllocator>
102 struct IsMessage< ::visualization_msgs::MarkerArray_<ContainerAllocator> >
103  : TrueType
104  { };
105 
106 template <class ContainerAllocator>
107 struct IsMessage< ::visualization_msgs::MarkerArray_<ContainerAllocator> const>
108  : TrueType
109  { };
110 
111 template <class ContainerAllocator>
112 struct HasHeader< ::visualization_msgs::MarkerArray_<ContainerAllocator> >
113  : FalseType
114  { };
115 
116 template <class ContainerAllocator>
117 struct HasHeader< ::visualization_msgs::MarkerArray_<ContainerAllocator> const>
118  : FalseType
119  { };
120 
121 
122 template<class ContainerAllocator>
123 struct MD5Sum< ::visualization_msgs::MarkerArray_<ContainerAllocator> >
124 {
125  static const char* value()
126  {
127  return "d155b9ce5188fbaf89745847fd5882d7";
128  }
129 
130  static const char* value(const ::visualization_msgs::MarkerArray_<ContainerAllocator>&) { return value(); }
131  static const uint64_t static_value1 = 0xd155b9ce5188fbafULL;
132  static const uint64_t static_value2 = 0x89745847fd5882d7ULL;
133 };
134 
135 template<class ContainerAllocator>
136 struct DataType< ::visualization_msgs::MarkerArray_<ContainerAllocator> >
137 {
138  static const char* value()
139  {
140  return "visualization_msgs/MarkerArray";
141  }
142 
143  static const char* value(const ::visualization_msgs::MarkerArray_<ContainerAllocator>&) { return value(); }
144 };
145 
146 template<class ContainerAllocator>
147 struct Definition< ::visualization_msgs::MarkerArray_<ContainerAllocator> >
148 {
149  static const char* value()
150  {
151  return "Marker[] markers\n"
152 "\n"
153 "================================================================================\n"
154 "MSG: visualization_msgs/Marker\n"
155 "# See http://www.ros.org/wiki/rviz/DisplayTypes/Marker and http://www.ros.org/wiki/rviz/Tutorials/Markers%3A%20Basic%20Shapes for more information on using this message with rviz\n"
156 "\n"
157 "uint8 ARROW=0\n"
158 "uint8 CUBE=1\n"
159 "uint8 SPHERE=2\n"
160 "uint8 CYLINDER=3\n"
161 "uint8 LINE_STRIP=4\n"
162 "uint8 LINE_LIST=5\n"
163 "uint8 CUBE_LIST=6\n"
164 "uint8 SPHERE_LIST=7\n"
165 "uint8 POINTS=8\n"
166 "uint8 TEXT_VIEW_FACING=9\n"
167 "uint8 MESH_RESOURCE=10\n"
168 "uint8 TRIANGLE_LIST=11\n"
169 "\n"
170 "uint8 ADD=0\n"
171 "uint8 MODIFY=0\n"
172 "uint8 DELETE=2\n"
173 "uint8 DELETEALL=3\n"
174 "\n"
175 "Header header # header for time/frame information\n"
176 "string ns # Namespace to place this object in... used in conjunction with id to create a unique name for the object\n"
177 "int32 id # object ID useful in conjunction with the namespace for manipulating and deleting the object later\n"
178 "int32 type # Type of object\n"
179 "int32 action # 0 add/modify an object, 1 (deprecated), 2 deletes an object, 3 deletes all objects\n"
180 "geometry_msgs/Pose pose # Pose of the object\n"
181 "geometry_msgs/Vector3 scale # Scale of the object 1,1,1 means default (usually 1 meter square)\n"
182 "std_msgs/ColorRGBA color # Color [0.0-1.0]\n"
183 "duration lifetime # How long the object should last before being automatically deleted. 0 means forever\n"
184 "bool frame_locked # If this marker should be frame-locked, i.e. retransformed into its frame every timestep\n"
185 "\n"
186 "#Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n"
187 "geometry_msgs/Point[] points\n"
188 "#Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n"
189 "#number of colors must either be 0 or equal to the number of points\n"
190 "#NOTE: alpha is not yet used\n"
191 "std_msgs/ColorRGBA[] colors\n"
192 "\n"
193 "# NOTE: only used for text markers\n"
194 "string text\n"
195 "\n"
196 "# NOTE: only used for MESH_RESOURCE markers\n"
197 "string mesh_resource\n"
198 "bool mesh_use_embedded_materials\n"
199 "\n"
200 "================================================================================\n"
201 "MSG: std_msgs/Header\n"
202 "# Standard metadata for higher-level stamped data types.\n"
203 "# This is generally used to communicate timestamped data \n"
204 "# in a particular coordinate frame.\n"
205 "# \n"
206 "# sequence ID: consecutively increasing ID \n"
207 "uint32 seq\n"
208 "#Two-integer timestamp that is expressed as:\n"
209 "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n"
210 "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n"
211 "# time-handling sugar is provided by the client library\n"
212 "time stamp\n"
213 "#Frame this data is associated with\n"
214 "string frame_id\n"
215 "\n"
216 "================================================================================\n"
217 "MSG: geometry_msgs/Pose\n"
218 "# A representation of pose in free space, composed of position and orientation. \n"
219 "Point position\n"
220 "Quaternion orientation\n"
221 "\n"
222 "================================================================================\n"
223 "MSG: geometry_msgs/Point\n"
224 "# This contains the position of a point in free space\n"
225 "float64 x\n"
226 "float64 y\n"
227 "float64 z\n"
228 "\n"
229 "================================================================================\n"
230 "MSG: geometry_msgs/Quaternion\n"
231 "# This represents an orientation in free space in quaternion form.\n"
232 "\n"
233 "float64 x\n"
234 "float64 y\n"
235 "float64 z\n"
236 "float64 w\n"
237 "\n"
238 "================================================================================\n"
239 "MSG: geometry_msgs/Vector3\n"
240 "# This represents a vector in free space. \n"
241 "# It is only meant to represent a direction. Therefore, it does not\n"
242 "# make sense to apply a translation to it (e.g., when applying a \n"
243 "# generic rigid transformation to a Vector3, tf2 will only apply the\n"
244 "# rotation). If you want your data to be translatable too, use the\n"
245 "# geometry_msgs/Point message instead.\n"
246 "\n"
247 "float64 x\n"
248 "float64 y\n"
249 "float64 z\n"
250 "================================================================================\n"
251 "MSG: std_msgs/ColorRGBA\n"
252 "float32 r\n"
253 "float32 g\n"
254 "float32 b\n"
255 "float32 a\n"
256 ;
257  }
258 
259  static const char* value(const ::visualization_msgs::MarkerArray_<ContainerAllocator>&) { return value(); }
260 };
261 
262 } // namespace message_traits
263 } // namespace roswrap
264 
265 namespace roswrap
266 {
267 namespace serialization
268 {
269 
270  template<class ContainerAllocator> struct Serializer< ::visualization_msgs::MarkerArray_<ContainerAllocator> >
271  {
272  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
273  {
274  stream.next(m.markers);
275  }
276 
278  }; // struct MarkerArray_
279 
280 } // namespace serialization
281 } // namespace roswrap
282 
283 namespace roswrap
284 {
285 namespace message_operations
286 {
287 
288 template<class ContainerAllocator>
289 struct Printer< ::visualization_msgs::MarkerArray_<ContainerAllocator> >
290 {
291  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::visualization_msgs::MarkerArray_<ContainerAllocator>& v)
292  {
293  s << indent << "markers[]" << std::endl;
294  for (size_t i = 0; i < v.markers.size(); ++i)
295  {
296  s << indent << " markers[" << i << "]: ";
297  s << std::endl;
298  s << indent;
300  }
301  }
302 };
303 
304 } // namespace message_operations
305 } // namespace roswrap
306 
307 #endif // VISUALIZATION_MSGS_MESSAGE_MARKERARRAY_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
visualization_msgs::operator!=
bool operator!=(const ::visualization_msgs::ImageMarker_< ContainerAllocator1 > &lhs, const ::visualization_msgs::ImageMarker_< ContainerAllocator2 > &rhs)
Definition: ImageMarker.h:197
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::Definition< ::visualization_msgs::MarkerArray_< ContainerAllocator > >::value
static const char * value()
Definition: MarkerArray.h:149
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
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
visualization_msgs::MarkerArrayPtr
std::shared_ptr< ::visualization_msgs::MarkerArray > MarkerArrayPtr
Definition: MarkerArray.h:52
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
visualization_msgs::MarkerArray_::MarkerArray_
MarkerArray_(const ContainerAllocator &_alloc)
Definition: MarkerArray.h:31
visualization_msgs::MarkerArray_::Type
MarkerArray_< ContainerAllocator > Type
Definition: MarkerArray.h:26
roswrap::message_traits::DataType< ::visualization_msgs::MarkerArray_< ContainerAllocator > >::value
static const char * value()
Definition: MarkerArray.h:138
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
visualization_msgs::operator==
bool operator==(const ::visualization_msgs::ImageMarker_< ContainerAllocator1 > &lhs, const ::visualization_msgs::ImageMarker_< ContainerAllocator2 > &rhs)
Definition: ImageMarker.h:179
roswrap::message_traits::MD5Sum< ::visualization_msgs::MarkerArray_< ContainerAllocator > >::value
static const char * value(const ::visualization_msgs::MarkerArray_< ContainerAllocator > &)
Definition: MarkerArray.h:130
visualization_msgs::MarkerArray_::_markers_type
std::vector< ::visualization_msgs::Marker_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::visualization_msgs::Marker_< ContainerAllocator > >::other > _markers_type
Definition: MarkerArray.h:38
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::Definition< ::visualization_msgs::MarkerArray_< ContainerAllocator > >::value
static const char * value(const ::visualization_msgs::MarkerArray_< ContainerAllocator > &)
Definition: MarkerArray.h:259
visualization_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::visualization_msgs::ImageMarker_< ContainerAllocator > &v)
Definition: ImageMarker.h:171
visualization_msgs::MarkerArray_::markers
_markers_type markers
Definition: MarkerArray.h:39
visualization_msgs::MarkerArray
::visualization_msgs::MarkerArray_< std::allocator< void > > MarkerArray
Definition: MarkerArray.h:50
visualization_msgs::MarkerArray_::MarkerArray_
MarkerArray_()
Definition: MarkerArray.h:28
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
roswrap::message_traits::DataType< ::visualization_msgs::MarkerArray_< ContainerAllocator > >::value
static const char * value(const ::visualization_msgs::MarkerArray_< ContainerAllocator > &)
Definition: MarkerArray.h:143
roswrap::message_traits::MD5Sum< ::visualization_msgs::MarkerArray_< ContainerAllocator > >::value
static const char * value()
Definition: MarkerArray.h:125
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
Marker.h
visualization_msgs
Definition: ImageMarker.h:26
visualization_msgs::MarkerArray_
Definition: MarkerArray.h:24
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
visualization_msgs::MarkerArray_::ConstPtr
std::shared_ptr< ::visualization_msgs::MarkerArray_< ContainerAllocator > const > ConstPtr
Definition: MarkerArray.h:46
visualization_msgs::MarkerArray_::Ptr
std::shared_ptr< ::visualization_msgs::MarkerArray_< ContainerAllocator > > Ptr
Definition: MarkerArray.h:45
roswrap::message_operations::Printer< ::visualization_msgs::MarkerArray_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::visualization_msgs::MarkerArray_< ContainerAllocator > &v)
Definition: MarkerArray.h:291
visualization_msgs::MarkerArrayConstPtr
std::shared_ptr< ::visualization_msgs::MarkerArray const > MarkerArrayConstPtr
Definition: MarkerArray.h:53
roswrap::serialization::Serializer< ::visualization_msgs::MarkerArray_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: MarkerArray.h:272


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