PointField.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 sensor_msgs/PointField.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SENSOR_MSGS_MESSAGE_POINTFIELD_H
7 #define SENSOR_MSGS_MESSAGE_POINTFIELD_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 
19 
20 namespace sensor_msgs
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : name()
29  , offset(0)
30  , datatype(0)
31  , count(0) {
32  }
33  PointField_(const ContainerAllocator& _alloc)
34  : name(_alloc)
35  , offset(0)
36  , datatype(0)
37  , count(0) {
38  (void)_alloc;
39  }
40 
41 
42 
43  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type;
45 
46  typedef uint32_t _offset_type;
48 
49  typedef uint8_t _datatype_type;
51 
52  typedef uint32_t _count_type;
54 
55 
56  enum { INT8 = 1u };
57  enum { UINT8 = 2u };
58  enum { INT16 = 3u };
59  enum { UINT16 = 4u };
60  enum { INT32 = 5u };
61  enum { UINT32 = 6u };
62  enum { FLOAT32 = 7u };
63  enum { FLOAT64 = 8u };
64 
65 
66  typedef std::shared_ptr< ::sensor_msgs::PointField_<ContainerAllocator> > Ptr;
67  typedef std::shared_ptr< ::sensor_msgs::PointField_<ContainerAllocator> const> ConstPtr;
68 
69 }; // struct PointField_
70 
71 typedef ::sensor_msgs::PointField_<std::allocator<void> > PointField;
72 
73 typedef std::shared_ptr< ::sensor_msgs::PointField > PointFieldPtr;
74 typedef std::shared_ptr< ::sensor_msgs::PointField const> PointFieldConstPtr;
75 
76 // constants requiring out of line definition
77 
78 
79 
80 
81 
82 
83 
84 
85 
86 
87 
88 
89 
90 
91 
92 
93 
94 
95 
96 template<typename ContainerAllocator>
97 std::ostream& operator<<(std::ostream& s, const ::sensor_msgs::PointField_<ContainerAllocator> & v)
98 {
100 return s;
101 }
102 
103 } // namespace sensor_msgs
104 
105 namespace roswrap
106 {
107 namespace message_traits
108 {
109 
110 
111 
112 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
113 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/opt/ros/kinetic/share/geometry_msgs/cmake/../msg'], 'sensor_msgs': ['/tmp/binarydeb/ros-kinetic-sensor-msgs-1.12.5/msg']}
114 
115 // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
116 
117 
118 
119 
120 template <class ContainerAllocator>
121 struct IsFixedSize< ::sensor_msgs::PointField_<ContainerAllocator> >
122  : FalseType
123  { };
124 
125 template <class ContainerAllocator>
126 struct IsFixedSize< ::sensor_msgs::PointField_<ContainerAllocator> const>
127  : FalseType
128  { };
129 
130 template <class ContainerAllocator>
131 struct IsMessage< ::sensor_msgs::PointField_<ContainerAllocator> >
132  : TrueType
133  { };
134 
135 template <class ContainerAllocator>
136 struct IsMessage< ::sensor_msgs::PointField_<ContainerAllocator> const>
137  : TrueType
138  { };
139 
140 template <class ContainerAllocator>
141 struct HasHeader< ::sensor_msgs::PointField_<ContainerAllocator> >
142  : FalseType
143  { };
144 
145 template <class ContainerAllocator>
146 struct HasHeader< ::sensor_msgs::PointField_<ContainerAllocator> const>
147  : FalseType
148  { };
149 
150 
151 template<class ContainerAllocator>
152 struct MD5Sum< ::sensor_msgs::PointField_<ContainerAllocator> >
153 {
154  static const char* value()
155  {
156  return "268eacb2962780ceac86cbd17e328150";
157  }
158 
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;
162 };
163 
164 template<class ContainerAllocator>
165 struct DataType< ::sensor_msgs::PointField_<ContainerAllocator> >
166 {
167  static const char* value()
168  {
169  return "sensor_msgs/PointField";
170  }
171 
172  static const char* value(const ::sensor_msgs::PointField_<ContainerAllocator>&) { return value(); }
173 };
174 
175 template<class ContainerAllocator>
176 struct Definition< ::sensor_msgs::PointField_<ContainerAllocator> >
177 {
178  static const char* value()
179  {
180  return "# This message holds the description of one point entry in the\n\
181 # PointCloud2 message format.\n\
182 uint8 INT8 = 1\n\
183 uint8 UINT8 = 2\n\
184 uint8 INT16 = 3\n\
185 uint8 UINT16 = 4\n\
186 uint8 INT32 = 5\n\
187 uint8 UINT32 = 6\n\
188 uint8 FLOAT32 = 7\n\
189 uint8 FLOAT64 = 8\n\
190 \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\
195 ";
196  }
197 
198  static const char* value(const ::sensor_msgs::PointField_<ContainerAllocator>&) { return value(); }
199 };
200 
201 } // namespace message_traits
202 } // namespace roswrap
203 
204 namespace roswrap
205 {
206 namespace serialization
207 {
208 
209  template<class ContainerAllocator> struct Serializer< ::sensor_msgs::PointField_<ContainerAllocator> >
210  {
211  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
212  {
213  stream.next(m.name);
214  stream.next(m.offset);
215  stream.next(m.datatype);
216  stream.next(m.count);
217  }
218 
220  }; // struct PointField_
221 
222 } // namespace serialization
223 } // namespace roswrap
224 
225 namespace roswrap
226 {
227 namespace message_operations
228 {
229 
230 template<class ContainerAllocator>
231 struct Printer< ::sensor_msgs::PointField_<ContainerAllocator> >
232 {
233  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::PointField_<ContainerAllocator>& v)
234  {
235  s << indent << "name: ";
236  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.name);
237  s << indent << "offset: ";
238  Printer<uint32_t>::stream(s, indent + " ", v.offset);
239  s << indent << "datatype: ";
240  Printer<uint8_t>::stream(s, indent + " ", v.datatype);
241  s << indent << "count: ";
242  Printer<uint32_t>::stream(s, indent + " ", v.count);
243  }
244 };
245 
246 } // namespace message_operations
247 } // namespace roswrap
248 
249 #endif // SENSOR_MSGS_MESSAGE_POINTFIELD_H
sensor_msgs::PointField_::datatype
_datatype_type datatype
Definition: PointField.h:50
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
UINT16
uint16_t UINT16
Definition: BasicDatatypes.hpp:73
UINT8
uint8_t UINT8
Definition: BasicDatatypes.hpp:75
sensor_msgs::PointField_::Type
PointField_< ContainerAllocator > Type
Definition: PointField.h:25
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::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
sensor_msgs::PointField_::PointField_
PointField_(const ContainerAllocator &_alloc)
Definition: PointField.h:33
const
#define const
Definition: getopt.c:38
INT16
int16_t INT16
Definition: BasicDatatypes.hpp:74
s
XmlRpcServer s
sensor_msgs::PointField_::PointField_
PointField_()
Definition: PointField.h:27
roswrap::message_traits::DataType< ::sensor_msgs::PointField_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::PointField_< ContainerAllocator > &)
Definition: PointField.h:172
sensor_msgs::PointField_::FLOAT64
@ FLOAT64
Definition: PointField.h:63
roswrap::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:43
sensor_msgs::PointField_::Ptr
std::shared_ptr< ::sensor_msgs::PointField_< ContainerAllocator > > Ptr
Definition: PointField.h:66
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
sensor_msgs::PointField
::sensor_msgs::PointField_< std::allocator< void > > PointField
Definition: PointField.h:71
INT8
int8_t INT8
Definition: BasicDatatypes.hpp:76
roswrap::message_operations::Printer< ::sensor_msgs::PointField_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::PointField_< ContainerAllocator > &v)
Definition: PointField.h:233
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
INT32
int32_t INT32
Definition: BasicDatatypes.hpp:71
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
roswrap::message_traits::MD5Sum< ::sensor_msgs::PointField_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::PointField_< ContainerAllocator > &)
Definition: PointField.h:159
roswrap::message_traits::Definition< ::sensor_msgs::PointField_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::PointField_< ContainerAllocator > &)
Definition: PointField.h:198
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
sensor_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::sensor_msgs::BatteryState_< ContainerAllocator > &v)
Definition: BatteryState.h:187
sensor_msgs::PointField_::_count_type
uint32_t _count_type
Definition: PointField.h:52
roswrap::message_traits::Definition< ::sensor_msgs::PointField_< ContainerAllocator > >::value
static const char * value()
Definition: PointField.h:178
sensor_msgs::PointField_::count
_count_type count
Definition: PointField.h:53
sensor_msgs::PointField_::name
_name_type name
Definition: PointField.h:44
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
sensor_msgs::PointField_::offset
_offset_type offset
Definition: PointField.h:47
roswrap::message_traits::DataType< ::sensor_msgs::PointField_< ContainerAllocator > >::value
static const char * value()
Definition: PointField.h:167
sensor_msgs::PointField_::FLOAT32
@ FLOAT32
Definition: PointField.h:62
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
sensor_msgs::PointField_::_name_type
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _name_type
Definition: PointField.h:43
sensor_msgs::PointField_::_datatype_type
uint8_t _datatype_type
Definition: PointField.h:49
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
sensor_msgs::PointFieldPtr
std::shared_ptr< ::sensor_msgs::PointField > PointFieldPtr
Definition: PointField.h:73
sensor_msgs::PointField_::ConstPtr
std::shared_ptr< ::sensor_msgs::PointField_< ContainerAllocator > const > ConstPtr
Definition: PointField.h:67
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
roswrap::message_traits::MD5Sum< ::sensor_msgs::PointField_< ContainerAllocator > >::value
static const char * value()
Definition: PointField.h:154
sensor_msgs::PointField_
Definition: PointField.h:23
UINT32
uint32_t UINT32
Definition: BasicDatatypes.hpp:72
roswrap::serialization::Serializer< ::sensor_msgs::PointField_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: PointField.h:211
sensor_msgs::PointFieldConstPtr
std::shared_ptr< ::sensor_msgs::PointField const > PointFieldConstPtr
Definition: PointField.h:74
sensor_msgs::PointField_::_offset_type
uint32_t _offset_type
Definition: PointField.h:46
sensor_msgs
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