Go to the documentation of this file.
6 #ifndef SENSOR_MSGS_MESSAGE_LASERECHO_H
7 #define SENSOR_MSGS_MESSAGE_LASERECHO_H
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
22 template <
class ContainerAllocator>
37 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >
_echoes_type;
43 typedef std::shared_ptr< ::sensor_msgs::LaserEcho_<ContainerAllocator> >
Ptr;
44 typedef std::shared_ptr< ::sensor_msgs::LaserEcho_<ContainerAllocator>
const>
ConstPtr;
48 typedef ::sensor_msgs::LaserEcho_<std::allocator<void> >
LaserEcho;
57 template<
typename ContainerAllocator>
58 std::ostream&
operator<<(std::ostream& s, const ::sensor_msgs::LaserEcho_<ContainerAllocator> & v)
68 namespace message_traits
81 template <
class ContainerAllocator>
86 template <
class ContainerAllocator>
91 template <
class ContainerAllocator>
96 template <
class ContainerAllocator>
101 template <
class ContainerAllocator>
106 template <
class ContainerAllocator>
112 template<
class ContainerAllocator>
117 return "8bc5ae449b200fba4d552b4225586696";
120 static const char*
value(const ::sensor_msgs::LaserEcho_<ContainerAllocator>&) {
return value(); }
121 static const uint64_t static_value1 = 0x8bc5ae449b200fbaULL;
122 static const uint64_t static_value2 = 0x4d552b4225586696ULL;
125 template<
class ContainerAllocator>
130 return "sensor_msgs/LaserEcho";
133 static const char*
value(const ::sensor_msgs::LaserEcho_<ContainerAllocator>&) {
return value(); }
136 template<
class ContainerAllocator>
141 return "# This message is a submessage of MultiEchoLaserScan and is not intended\n\
142 # to be used separately.\n\
144 float32[] echoes # Multiple values of ranges or intensities.\n\
145 # Each array represents data from the same angle increment.\n\
149 static const char*
value(const ::sensor_msgs::LaserEcho_<ContainerAllocator>&) {
return value(); }
157 namespace serialization
162 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
164 stream.next(m.echoes);
175 namespace message_operations
178 template<
class ContainerAllocator>
181 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::sensor_msgs::LaserEcho_<ContainerAllocator>& v)
183 s <<
indent <<
"echoes[]" << std::endl;
184 for (
size_t i = 0; i < v.echoes.size(); ++i)
186 s <<
indent <<
" echoes[" << i <<
"]: ";
195 #endif // SENSOR_MSGS_MESSAGE_LASERECHO_H
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::LaserEcho_< ContainerAllocator > &v)
Templated serialization class. Default implementation provides backwards compatibility with old messa...
static const char * value()
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...
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
static const char * value(const ::sensor_msgs::LaserEcho_< ContainerAllocator > &)
Specialize to provide the datatype for a message.
Specialize to provide the definition for a message.
std::shared_ptr< ::sensor_msgs::LaserEcho const > LaserEchoConstPtr
std::shared_ptr< ::sensor_msgs::LaserEcho > LaserEchoPtr
static void allInOne(Stream &stream, T m)
static const char * value()
std::ostream & operator<<(std::ostream &s, const ::sensor_msgs::BatteryState_< ContainerAllocator > &v)
::sensor_msgs::LaserEcho_< std::allocator< void > > LaserEcho
LaserEcho_(const ContainerAllocator &_alloc)
static const char * value()
std::shared_ptr< ::sensor_msgs::LaserEcho_< ContainerAllocator > > Ptr
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the md5sum for a message.
std::shared_ptr< ::sensor_msgs::LaserEcho_< ContainerAllocator > const > ConstPtr
Stream base-class, provides common functionality for IStream and OStream.
LaserEcho_< ContainerAllocator > Type
Tools for manipulating sensor_msgs.
static const char * value(const ::sensor_msgs::LaserEcho_< ContainerAllocator > &)
std::vector< float, typename ContainerAllocator::template rebind< float >::other > _echoes_type
static const char * value(const ::sensor_msgs::LaserEcho_< ContainerAllocator > &)
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:08