Go to the documentation of this file.
6 #ifndef VISUALIZATION_MSGS_MESSAGE_MARKERARRAY_H
7 #define VISUALIZATION_MSGS_MESSAGE_MARKERARRAY_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< ::visualization_msgs::Marker_<ContainerAllocator> ,
typename ContainerAllocator::template rebind< ::visualization_msgs::Marker_<ContainerAllocator> >::other >
_markers_type;
45 typedef std::shared_ptr< ::visualization_msgs::MarkerArray_<ContainerAllocator> >
Ptr;
46 typedef std::shared_ptr< ::visualization_msgs::MarkerArray_<ContainerAllocator>
const>
ConstPtr;
50 typedef ::visualization_msgs::MarkerArray_<std::allocator<void> >
MarkerArray;
59 template<
typename ContainerAllocator>
60 std::ostream&
operator<<(std::ostream& s, const ::visualization_msgs::MarkerArray_<ContainerAllocator> & v)
67 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
68 bool operator==(const ::visualization_msgs::MarkerArray_<ContainerAllocator1> & lhs, const ::visualization_msgs::MarkerArray_<ContainerAllocator2> & rhs)
70 return lhs.markers == rhs.markers;
73 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
74 bool operator!=(const ::visualization_msgs::MarkerArray_<ContainerAllocator1> & lhs, const ::visualization_msgs::MarkerArray_<ContainerAllocator2> & rhs)
84 namespace message_traits
91 template <
class ContainerAllocator>
96 template <
class ContainerAllocator>
101 template <
class ContainerAllocator>
106 template <
class ContainerAllocator>
111 template <
class ContainerAllocator>
116 template <
class ContainerAllocator>
122 template<
class ContainerAllocator>
127 return "d155b9ce5188fbaf89745847fd5882d7";
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;
135 template<
class ContainerAllocator>
140 return "visualization_msgs/MarkerArray";
143 static const char*
value(const ::visualization_msgs::MarkerArray_<ContainerAllocator>&) {
return value(); }
146 template<
class ContainerAllocator>
151 return "Marker[] markers\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"
161 "uint8 LINE_STRIP=4\n"
162 "uint8 LINE_LIST=5\n"
163 "uint8 CUBE_LIST=6\n"
164 "uint8 SPHERE_LIST=7\n"
166 "uint8 TEXT_VIEW_FACING=9\n"
167 "uint8 MESH_RESOURCE=10\n"
168 "uint8 TRIANGLE_LIST=11\n"
173 "uint8 DELETEALL=3\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"
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"
193 "# NOTE: only used for text markers\n"
196 "# NOTE: only used for MESH_RESOURCE markers\n"
197 "string mesh_resource\n"
198 "bool mesh_use_embedded_materials\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"
206 "# sequence ID: consecutively increasing ID \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"
213 "#Frame this data is associated with\n"
216 "================================================================================\n"
217 "MSG: geometry_msgs/Pose\n"
218 "# A representation of pose in free space, composed of position and orientation. \n"
220 "Quaternion orientation\n"
222 "================================================================================\n"
223 "MSG: geometry_msgs/Point\n"
224 "# This contains the position of a point in free space\n"
229 "================================================================================\n"
230 "MSG: geometry_msgs/Quaternion\n"
231 "# This represents an orientation in free space in quaternion form.\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"
250 "================================================================================\n"
251 "MSG: std_msgs/ColorRGBA\n"
259 static const char*
value(const ::visualization_msgs::MarkerArray_<ContainerAllocator>&) {
return value(); }
267 namespace serialization
272 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
274 stream.next(m.markers);
285 namespace message_operations
288 template<
class ContainerAllocator>
291 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::visualization_msgs::MarkerArray_<ContainerAllocator>& v)
293 s <<
indent <<
"markers[]" << std::endl;
294 for (
size_t i = 0; i < v.markers.size(); ++i)
296 s <<
indent <<
" markers[" << i <<
"]: ";
307 #endif // VISUALIZATION_MSGS_MESSAGE_MARKERARRAY_H
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
bool operator!=(const ::visualization_msgs::ImageMarker_< ContainerAllocator1 > &lhs, const ::visualization_msgs::ImageMarker_< ContainerAllocator2 > &rhs)
Templated serialization class. Default implementation provides backwards compatibility with old messa...
static const char * value()
std::shared_ptr< ::visualization_msgs::MarkerArray > MarkerArrayPtr
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...
MarkerArray_(const ContainerAllocator &_alloc)
MarkerArray_< ContainerAllocator > Type
static const char * value()
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
bool operator==(const ::visualization_msgs::ImageMarker_< ContainerAllocator1 > &lhs, const ::visualization_msgs::ImageMarker_< ContainerAllocator2 > &rhs)
static const char * value(const ::visualization_msgs::MarkerArray_< ContainerAllocator > &)
std::vector< ::visualization_msgs::Marker_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::visualization_msgs::Marker_< ContainerAllocator > >::other > _markers_type
Specialize to provide the datatype for a message.
Specialize to provide the definition for a message.
static const char * value(const ::visualization_msgs::MarkerArray_< ContainerAllocator > &)
std::ostream & operator<<(std::ostream &s, const ::visualization_msgs::ImageMarker_< ContainerAllocator > &v)
::visualization_msgs::MarkerArray_< std::allocator< void > > MarkerArray
static const char * value(const ::visualization_msgs::MarkerArray_< ContainerAllocator > &)
static const char * value()
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the md5sum for a message.
Stream base-class, provides common functionality for IStream and OStream.
std::shared_ptr< ::visualization_msgs::MarkerArray_< ContainerAllocator > const > ConstPtr
std::shared_ptr< ::visualization_msgs::MarkerArray_< ContainerAllocator > > Ptr
static void stream(Stream &s, const std::string &indent, const ::visualization_msgs::MarkerArray_< ContainerAllocator > &v)
std::shared_ptr< ::visualization_msgs::MarkerArray const > MarkerArrayConstPtr
static void allInOne(Stream &stream, T m)
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:09