Go to the documentation of this file.
6 #ifndef SENSOR_MSGS_MESSAGE_POINTFIELD_H
7 #define SENSOR_MSGS_MESSAGE_POINTFIELD_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>
43 typedef std::basic_string<char, std::char_traits<char>,
typename ContainerAllocator::template rebind<char>::other >
_name_type;
66 typedef std::shared_ptr< ::sensor_msgs::PointField_<ContainerAllocator> >
Ptr;
67 typedef std::shared_ptr< ::sensor_msgs::PointField_<ContainerAllocator>
const>
ConstPtr;
71 typedef ::sensor_msgs::PointField_<std::allocator<void> >
PointField;
96 template<
typename ContainerAllocator>
97 std::ostream&
operator<<(std::ostream& s, const ::sensor_msgs::PointField_<ContainerAllocator> & v)
107 namespace message_traits
120 template <
class ContainerAllocator>
125 template <
class ContainerAllocator>
130 template <
class ContainerAllocator>
135 template <
class ContainerAllocator>
140 template <
class ContainerAllocator>
145 template <
class ContainerAllocator>
151 template<
class ContainerAllocator>
156 return "268eacb2962780ceac86cbd17e328150";
159 static const char*
value(const ::sensor_msgs::PointField_<ContainerAllocator>&) {
return value(); }
160 static const uint64_t static_value1 = 0x268eacb2962780ceULL;
161 static const uint64_t static_value2 = 0xac86cbd17e328150ULL;
164 template<
class ContainerAllocator>
169 return "sensor_msgs/PointField";
172 static const char*
value(const ::sensor_msgs::PointField_<ContainerAllocator>&) {
return value(); }
175 template<
class ContainerAllocator>
180 return "# This message holds the description of one point entry in the\n\
181 # PointCloud2 message format.\n\
191 string name # Name of field\n\
192 uint32 offset # Offset from start of point struct\n\
193 uint8 datatype # Datatype enumeration, see above\n\
194 uint32 count # How many elements in the field\n\
198 static const char*
value(const ::sensor_msgs::PointField_<ContainerAllocator>&) {
return value(); }
206 namespace serialization
211 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
214 stream.next(m.offset);
215 stream.next(m.datatype);
216 stream.next(m.count);
227 namespace message_operations
230 template<
class ContainerAllocator>
233 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::sensor_msgs::PointField_<ContainerAllocator>& v)
249 #endif // SENSOR_MSGS_MESSAGE_POINTFIELD_H
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
PointField_< ContainerAllocator > Type
Templated serialization class. Default implementation provides backwards compatibility with old messa...
PointField_(const ContainerAllocator &_alloc)
static const char * value(const ::sensor_msgs::PointField_< ContainerAllocator > &)
static void stream(Stream &s, const std::string &indent, const M &value)
std::shared_ptr< ::sensor_msgs::PointField_< ContainerAllocator > > Ptr
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
::sensor_msgs::PointField_< std::allocator< void > > PointField
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::PointField_< ContainerAllocator > &v)
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
Specialize to provide the datatype for a message.
static const char * value(const ::sensor_msgs::PointField_< ContainerAllocator > &)
static const char * value(const ::sensor_msgs::PointField_< ContainerAllocator > &)
Specialize to provide the definition for a message.
std::ostream & operator<<(std::ostream &s, const ::sensor_msgs::BatteryState_< ContainerAllocator > &v)
static const char * value()
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.
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _name_type
std::shared_ptr< ::sensor_msgs::PointField > PointFieldPtr
std::shared_ptr< ::sensor_msgs::PointField_< ContainerAllocator > const > ConstPtr
Stream base-class, provides common functionality for IStream and OStream.
static const char * value()
static void allInOne(Stream &stream, T m)
std::shared_ptr< ::sensor_msgs::PointField const > PointFieldConstPtr
Tools for manipulating sensor_msgs.
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:09