LaserEcho.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/LaserEcho.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SENSOR_MSGS_MESSAGE_LASERECHO_H
7 #define SENSOR_MSGS_MESSAGE_LASERECHO_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>
23 struct LaserEcho_
24 {
26 
28  : echoes() {
29  }
30  LaserEcho_(const ContainerAllocator& _alloc)
31  : echoes(_alloc) {
32  (void)_alloc;
33  }
34 
35 
36 
37  typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _echoes_type;
39 
40 
41 
42 
43  typedef std::shared_ptr< ::sensor_msgs::LaserEcho_<ContainerAllocator> > Ptr;
44  typedef std::shared_ptr< ::sensor_msgs::LaserEcho_<ContainerAllocator> const> ConstPtr;
45 
46 }; // struct LaserEcho_
47 
48 typedef ::sensor_msgs::LaserEcho_<std::allocator<void> > LaserEcho;
49 
50 typedef std::shared_ptr< ::sensor_msgs::LaserEcho > LaserEchoPtr;
51 typedef std::shared_ptr< ::sensor_msgs::LaserEcho const> LaserEchoConstPtr;
52 
53 // constants requiring out of line definition
54 
55 
56 
57 template<typename ContainerAllocator>
58 std::ostream& operator<<(std::ostream& s, const ::sensor_msgs::LaserEcho_<ContainerAllocator> & v)
59 {
61 return s;
62 }
63 
64 } // namespace sensor_msgs
65 
66 namespace roswrap
67 {
68 namespace message_traits
69 {
70 
71 
72 
73 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
74 // {'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']}
75 
76 // !!!!!!!!!!! ['__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']
77 
78 
79 
80 
81 template <class ContainerAllocator>
82 struct IsFixedSize< ::sensor_msgs::LaserEcho_<ContainerAllocator> >
83  : FalseType
84  { };
85 
86 template <class ContainerAllocator>
87 struct IsFixedSize< ::sensor_msgs::LaserEcho_<ContainerAllocator> const>
88  : FalseType
89  { };
90 
91 template <class ContainerAllocator>
92 struct IsMessage< ::sensor_msgs::LaserEcho_<ContainerAllocator> >
93  : TrueType
94  { };
95 
96 template <class ContainerAllocator>
97 struct IsMessage< ::sensor_msgs::LaserEcho_<ContainerAllocator> const>
98  : TrueType
99  { };
100 
101 template <class ContainerAllocator>
102 struct HasHeader< ::sensor_msgs::LaserEcho_<ContainerAllocator> >
103  : FalseType
104  { };
105 
106 template <class ContainerAllocator>
107 struct HasHeader< ::sensor_msgs::LaserEcho_<ContainerAllocator> const>
108  : FalseType
109  { };
110 
111 
112 template<class ContainerAllocator>
113 struct MD5Sum< ::sensor_msgs::LaserEcho_<ContainerAllocator> >
114 {
115  static const char* value()
116  {
117  return "8bc5ae449b200fba4d552b4225586696";
118  }
119 
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;
123 };
124 
125 template<class ContainerAllocator>
126 struct DataType< ::sensor_msgs::LaserEcho_<ContainerAllocator> >
127 {
128  static const char* value()
129  {
130  return "sensor_msgs/LaserEcho";
131  }
132 
133  static const char* value(const ::sensor_msgs::LaserEcho_<ContainerAllocator>&) { return value(); }
134 };
135 
136 template<class ContainerAllocator>
137 struct Definition< ::sensor_msgs::LaserEcho_<ContainerAllocator> >
138 {
139  static const char* value()
140  {
141  return "# This message is a submessage of MultiEchoLaserScan and is not intended\n\
142 # to be used separately.\n\
143 \n\
144 float32[] echoes # Multiple values of ranges or intensities.\n\
145  # Each array represents data from the same angle increment.\n\
146 ";
147  }
148 
149  static const char* value(const ::sensor_msgs::LaserEcho_<ContainerAllocator>&) { return value(); }
150 };
151 
152 } // namespace message_traits
153 } // namespace roswrap
154 
155 namespace roswrap
156 {
157 namespace serialization
158 {
159 
160  template<class ContainerAllocator> struct Serializer< ::sensor_msgs::LaserEcho_<ContainerAllocator> >
161  {
162  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
163  {
164  stream.next(m.echoes);
165  }
166 
168  }; // struct LaserEcho_
169 
170 } // namespace serialization
171 } // namespace roswrap
172 
173 namespace roswrap
174 {
175 namespace message_operations
176 {
177 
178 template<class ContainerAllocator>
179 struct Printer< ::sensor_msgs::LaserEcho_<ContainerAllocator> >
180 {
181  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::LaserEcho_<ContainerAllocator>& v)
182  {
183  s << indent << "echoes[]" << std::endl;
184  for (size_t i = 0; i < v.echoes.size(); ++i)
185  {
186  s << indent << " echoes[" << i << "]: ";
187  Printer<float>::stream(s, indent + " ", v.echoes[i]);
188  }
189  }
190 };
191 
192 } // namespace message_operations
193 } // namespace roswrap
194 
195 #endif // SENSOR_MSGS_MESSAGE_LASERECHO_H
sensor_msgs::LaserEcho_::LaserEcho_
LaserEcho_()
Definition: LaserEcho.h:27
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
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
roswrap::message_operations::Printer< ::sensor_msgs::LaserEcho_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::LaserEcho_< ContainerAllocator > &v)
Definition: LaserEcho.h:181
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
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
roswrap::message_traits::DataType< ::sensor_msgs::LaserEcho_< ContainerAllocator > >::value
static const char * value()
Definition: LaserEcho.h:128
roswrap::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:43
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
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
roswrap::message_traits::DataType< ::sensor_msgs::LaserEcho_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::LaserEcho_< ContainerAllocator > &)
Definition: LaserEcho.h:133
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
sensor_msgs::LaserEchoConstPtr
std::shared_ptr< ::sensor_msgs::LaserEcho const > LaserEchoConstPtr
Definition: LaserEcho.h:51
sensor_msgs::LaserEchoPtr
std::shared_ptr< ::sensor_msgs::LaserEcho > LaserEchoPtr
Definition: LaserEcho.h:50
roswrap::serialization::Serializer< ::sensor_msgs::LaserEcho_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: LaserEcho.h:162
roswrap::message_traits::Definition< ::sensor_msgs::LaserEcho_< ContainerAllocator > >::value
static const char * value()
Definition: LaserEcho.h:139
sensor_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::sensor_msgs::BatteryState_< ContainerAllocator > &v)
Definition: BatteryState.h:187
sensor_msgs::LaserEcho
::sensor_msgs::LaserEcho_< std::allocator< void > > LaserEcho
Definition: LaserEcho.h:48
sensor_msgs::LaserEcho_::LaserEcho_
LaserEcho_(const ContainerAllocator &_alloc)
Definition: LaserEcho.h:30
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
roswrap::message_traits::MD5Sum< ::sensor_msgs::LaserEcho_< ContainerAllocator > >::value
static const char * value()
Definition: LaserEcho.h:115
sensor_msgs::LaserEcho_::Ptr
std::shared_ptr< ::sensor_msgs::LaserEcho_< ContainerAllocator > > Ptr
Definition: LaserEcho.h:43
sensor_msgs::LaserEcho_::echoes
_echoes_type echoes
Definition: LaserEcho.h:38
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::LaserEcho_::ConstPtr
std::shared_ptr< ::sensor_msgs::LaserEcho_< ContainerAllocator > const > ConstPtr
Definition: LaserEcho.h:44
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
sensor_msgs::LaserEcho_
Definition: LaserEcho.h:23
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
sensor_msgs::LaserEcho_::Type
LaserEcho_< ContainerAllocator > Type
Definition: LaserEcho.h:25
sensor_msgs
Tools for manipulating sensor_msgs.
roswrap::message_traits::MD5Sum< ::sensor_msgs::LaserEcho_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::LaserEcho_< ContainerAllocator > &)
Definition: LaserEcho.h:120
sensor_msgs::LaserEcho_::_echoes_type
std::vector< float, typename ContainerAllocator::template rebind< float >::other > _echoes_type
Definition: LaserEcho.h:37
roswrap::message_traits::Definition< ::sensor_msgs::LaserEcho_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::LaserEcho_< ContainerAllocator > &)
Definition: LaserEcho.h:149


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:08