LaserEcho.h
Go to the documentation of this file.
1 // Generated by gencpp from file sensor_msgs/LaserEcho.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef SENSOR_MSGS_MESSAGE_LASERECHO_H
6 #define SENSOR_MSGS_MESSAGE_LASERECHO_H
7 
8 
9 #include <string>
10 #include <vector>
11 #include <map>
12 
13 #include <ros/types.h>
14 #include <ros/serialization.h>
16 #include <ros/message_operations.h>
17 
18 
19 namespace sensor_msgs
20 {
21 template <class ContainerAllocator>
22 struct LaserEcho_
23 {
25 
27  : echoes() {
28  }
29  LaserEcho_(const ContainerAllocator& _alloc)
30  : echoes(_alloc) {
31  (void)_alloc;
32  }
33 
34 
35 
36  typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _echoes_type;
37  _echoes_type echoes;
38 
39 
40 
41 
44 
45 }; // struct LaserEcho_
46 
47 typedef ::sensor_msgs::LaserEcho_<std::allocator<void> > LaserEcho;
48 
51 
52 // constants requiring out of line definition
53 
54 
55 
56 template<typename ContainerAllocator>
57 std::ostream& operator<<(std::ostream& s, const ::sensor_msgs::LaserEcho_<ContainerAllocator> & v)
58 {
60 return s;
61 }
62 
63 } // namespace sensor_msgs
64 
65 namespace rs2rosinternal
66 {
67 namespace message_traits
68 {
69 
70 
71 
72 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
73 // {'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']}
74 
75 // !!!!!!!!!!! ['__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']
76 
77 
78 
79 
80 template <class ContainerAllocator>
81 struct IsFixedSize< ::sensor_msgs::LaserEcho_<ContainerAllocator> >
82  : FalseType
83  { };
84 
85 template <class ContainerAllocator>
86 struct IsFixedSize< ::sensor_msgs::LaserEcho_<ContainerAllocator> const>
87  : FalseType
88  { };
89 
90 template <class ContainerAllocator>
91 struct IsMessage< ::sensor_msgs::LaserEcho_<ContainerAllocator> >
92  : TrueType
93  { };
94 
95 template <class ContainerAllocator>
96 struct IsMessage< ::sensor_msgs::LaserEcho_<ContainerAllocator> const>
97  : TrueType
98  { };
99 
100 template <class ContainerAllocator>
101 struct HasHeader< ::sensor_msgs::LaserEcho_<ContainerAllocator> >
102  : FalseType
103  { };
104 
105 template <class ContainerAllocator>
106 struct HasHeader< ::sensor_msgs::LaserEcho_<ContainerAllocator> const>
107  : FalseType
108  { };
109 
110 
111 template<class ContainerAllocator>
112 struct MD5Sum< ::sensor_msgs::LaserEcho_<ContainerAllocator> >
113 {
114  static const char* value()
115  {
116  return "8bc5ae449b200fba4d552b4225586696";
117  }
118 
119  static const char* value(const ::sensor_msgs::LaserEcho_<ContainerAllocator>&) { return value(); }
120  static const uint64_t static_value1 = 0x8bc5ae449b200fbaULL;
121  static const uint64_t static_value2 = 0x4d552b4225586696ULL;
122 };
123 
124 template<class ContainerAllocator>
125 struct DataType< ::sensor_msgs::LaserEcho_<ContainerAllocator> >
126 {
127  static const char* value()
128  {
129  return "sensor_msgs/LaserEcho";
130  }
131 
132  static const char* value(const ::sensor_msgs::LaserEcho_<ContainerAllocator>&) { return value(); }
133 };
134 
135 template<class ContainerAllocator>
136 struct Definition< ::sensor_msgs::LaserEcho_<ContainerAllocator> >
137 {
138  static const char* value()
139  {
140  return "# This message is a submessage of MultiEchoLaserScan and is not intended\n\
141 # to be used separately.\n\
142 \n\
143 float32[] echoes # Multiple values of ranges or intensities.\n\
144  # Each array represents data from the same angle increment.\n\
145 ";
146  }
147 
148  static const char* value(const ::sensor_msgs::LaserEcho_<ContainerAllocator>&) { return value(); }
149 };
150 
151 } // namespace message_traits
152 } // namespace rs2rosinternal
153 
154 namespace rs2rosinternal
155 {
156 namespace serialization
157 {
158 
159  template<class ContainerAllocator> struct Serializer< ::sensor_msgs::LaserEcho_<ContainerAllocator> >
160  {
161  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
162  {
163  stream.next(m.echoes);
164  }
165 
167  }; // struct LaserEcho_
168 
169 } // namespace serialization
170 } // namespace rs2rosinternal
171 
172 namespace rs2rosinternal
173 {
174 namespace message_operations
175 {
176 
177 template<class ContainerAllocator>
178 struct Printer< ::sensor_msgs::LaserEcho_<ContainerAllocator> >
179 {
180  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::LaserEcho_<ContainerAllocator>& v)
181  {
182  s << indent << "echoes[]" << std::endl;
183  for (size_t i = 0; i < v.echoes.size(); ++i)
184  {
185  s << indent << " echoes[" << i << "]: ";
186  Printer<float>::stream(s, indent + " ", v.echoes[i]);
187  }
188  }
189 };
190 
191 } // namespace message_operations
192 } // namespace rs2rosinternal
193 
194 #endif // SENSOR_MSGS_MESSAGE_LASERECHO_H
static const char * value(const ::sensor_msgs::LaserEcho_< ContainerAllocator > &)
Definition: LaserEcho.h:132
boost::shared_ptr< ::sensor_msgs::LaserEcho const > LaserEchoConstPtr
Definition: LaserEcho.h:50
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
LaserEcho_< ContainerAllocator > Type
Definition: LaserEcho.h:24
GLdouble s
const GLfloat * m
Definition: glext.h:6814
Specialize to provide the md5sum for a message.
std::vector< float, typename ContainerAllocator::template rebind< float >::other > _echoes_type
Definition: LaserEcho.h:36
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLsizei const GLchar *const * string
Specialize to provide the datatype for a message.
HasHeader informs whether or not there is a header that gets serialized as the first thing in the mes...
GLuint GLuint stream
Definition: glext.h:1790
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
Stream base-class, provides common functionality for IStream and OStream.
::sensor_msgs::LaserEcho_< std::allocator< void > > LaserEcho
Definition: LaserEcho.h:47
static const char * value(const ::sensor_msgs::LaserEcho_< ContainerAllocator > &)
Definition: LaserEcho.h:119
LaserEcho_(const ContainerAllocator &_alloc)
Definition: LaserEcho.h:29
Tools for manipulating sensor_msgs.
Definition: BatteryState.h:20
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
unsigned __int64 uint64_t
Definition: stdint.h:90
Specialize to provide the definition for a message.
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::LaserEcho_< ContainerAllocator > &v)
Definition: LaserEcho.h:180
static const char * value(const ::sensor_msgs::LaserEcho_< ContainerAllocator > &)
Definition: LaserEcho.h:148
boost::shared_ptr< ::sensor_msgs::LaserEcho_< ContainerAllocator > > Ptr
Definition: LaserEcho.h:42
_echoes_type echoes
Definition: LaserEcho.h:37
boost::shared_ptr< ::sensor_msgs::LaserEcho > LaserEchoPtr
Definition: LaserEcho.h:49
int i
Templated serialization class. Default implementation provides backwards compatibility with old messa...
boost::shared_ptr< ::sensor_msgs::LaserEcho_< ContainerAllocator > const > ConstPtr
Definition: LaserEcho.h:43
GLdouble v


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:21