Go to the documentation of this file.
6 #ifndef SENSOR_MSGS_MESSAGE_CHANNELFLOAT32_H
7 #define SENSOR_MSGS_MESSAGE_CHANNELFLOAT32_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>
39 typedef std::basic_string<char, std::char_traits<char>,
typename ContainerAllocator::template rebind<char>::other >
_name_type;
42 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >
_values_type;
48 typedef std::shared_ptr< ::sensor_msgs::ChannelFloat32_<ContainerAllocator> >
Ptr;
49 typedef std::shared_ptr< ::sensor_msgs::ChannelFloat32_<ContainerAllocator>
const>
ConstPtr;
53 typedef ::sensor_msgs::ChannelFloat32_<std::allocator<void> >
ChannelFloat32;
62 template<
typename ContainerAllocator>
63 std::ostream&
operator<<(std::ostream& s, const ::sensor_msgs::ChannelFloat32_<ContainerAllocator> & v)
73 namespace message_traits
86 template <
class ContainerAllocator>
91 template <
class ContainerAllocator>
96 template <
class ContainerAllocator>
101 template <
class ContainerAllocator>
106 template <
class ContainerAllocator>
111 template <
class ContainerAllocator>
117 template<
class ContainerAllocator>
122 return "3d40139cdd33dfedcb71ffeeeb42ae7f";
125 static const char*
value(const ::sensor_msgs::ChannelFloat32_<ContainerAllocator>&) {
return value(); }
126 static const uint64_t static_value1 = 0x3d40139cdd33dfedULL;
127 static const uint64_t static_value2 = 0xcb71ffeeeb42ae7fULL;
130 template<
class ContainerAllocator>
135 return "sensor_msgs/ChannelFloat32";
138 static const char*
value(const ::sensor_msgs::ChannelFloat32_<ContainerAllocator>&) {
return value(); }
141 template<
class ContainerAllocator>
146 return "# This message is used by the PointCloud message to hold optional data\n\
147 # associated with each point in the cloud. The length of the values\n\
148 # array should be the same as the length of the points array in the\n\
149 # PointCloud, and each value should be associated with the corresponding\n\
152 # Channel names in existing practice include:\n\
153 # \"u\", \"v\" - row and column (respectively) in the left stereo image.\n\
154 # This is opposite to usual conventions but remains for\n\
155 # historical reasons. The newer PointCloud2 message has no\n\
157 # \"rgb\" - For point clouds produced by color stereo cameras. uint8\n\
158 # (R,G,B) values packed into the least significant 24 bits,\n\
160 # \"intensity\" - laser or pixel intensity.\n\
163 # The channel name should give semantics of the channel (e.g.\n\
164 # \"intensity\" instead of \"value\").\n\
167 # The values array should be 1-1 with the elements of the associated\n\
173 static const char*
value(const ::sensor_msgs::ChannelFloat32_<ContainerAllocator>&) {
return value(); }
181 namespace serialization
186 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
189 stream.next(m.values);
200 namespace message_operations
203 template<
class ContainerAllocator>
206 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::sensor_msgs::ChannelFloat32_<ContainerAllocator>& v)
210 s <<
indent <<
"values[]" << std::endl;
211 for (
size_t i = 0; i < v.values.size(); ++i)
213 s <<
indent <<
" values[" << i <<
"]: ";
222 #endif // SENSOR_MSGS_MESSAGE_CHANNELFLOAT32_H
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
ChannelFloat32_(const ContainerAllocator &_alloc)
::sensor_msgs::ChannelFloat32_< std::allocator< void > > ChannelFloat32
Templated serialization class. Default implementation provides backwards compatibility with old messa...
std::shared_ptr< ::sensor_msgs::ChannelFloat32 > ChannelFloat32Ptr
static const char * value(const ::sensor_msgs::ChannelFloat32_< ContainerAllocator > &)
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _name_type
static const char * value(const ::sensor_msgs::ChannelFloat32_< ContainerAllocator > &)
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 void stream(Stream &s, const std::string &indent, const ::sensor_msgs::ChannelFloat32_< ContainerAllocator > &v)
std::shared_ptr< ::sensor_msgs::ChannelFloat32_< ContainerAllocator > const > ConstPtr
Specialize to provide the datatype for a message.
std::shared_ptr< ::sensor_msgs::ChannelFloat32 const > ChannelFloat32ConstPtr
Specialize to provide the definition for a message.
static const char * value(const ::sensor_msgs::ChannelFloat32_< ContainerAllocator > &)
static const char * value()
std::ostream & operator<<(std::ostream &s, const ::sensor_msgs::BatteryState_< ContainerAllocator > &v)
static void allInOne(Stream &stream, T m)
std::vector< float, typename ContainerAllocator::template rebind< float >::other > _values_type
std::shared_ptr< ::sensor_msgs::ChannelFloat32_< 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.
Stream base-class, provides common functionality for IStream and OStream.
Tools for manipulating sensor_msgs.
ChannelFloat32_< ContainerAllocator > Type
static const char * value()
static const char * value()
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:07