ChannelFloat32.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/ChannelFloat32.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SENSOR_MSGS_MESSAGE_CHANNELFLOAT32_H
7 #define SENSOR_MSGS_MESSAGE_CHANNELFLOAT32_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  , values() {
30  }
31  ChannelFloat32_(const ContainerAllocator& _alloc)
32  : name(_alloc)
33  , values(_alloc) {
34  (void)_alloc;
35  }
36 
37 
38 
39  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type;
41 
42  typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _values_type;
44 
45 
46 
47 
48  typedef std::shared_ptr< ::sensor_msgs::ChannelFloat32_<ContainerAllocator> > Ptr;
49  typedef std::shared_ptr< ::sensor_msgs::ChannelFloat32_<ContainerAllocator> const> ConstPtr;
50 
51 }; // struct ChannelFloat32_
52 
53 typedef ::sensor_msgs::ChannelFloat32_<std::allocator<void> > ChannelFloat32;
54 
55 typedef std::shared_ptr< ::sensor_msgs::ChannelFloat32 > ChannelFloat32Ptr;
56 typedef std::shared_ptr< ::sensor_msgs::ChannelFloat32 const> ChannelFloat32ConstPtr;
57 
58 // constants requiring out of line definition
59 
60 
61 
62 template<typename ContainerAllocator>
63 std::ostream& operator<<(std::ostream& s, const ::sensor_msgs::ChannelFloat32_<ContainerAllocator> & v)
64 {
66 return s;
67 }
68 
69 } // namespace sensor_msgs
70 
71 namespace roswrap
72 {
73 namespace message_traits
74 {
75 
76 
77 
78 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
79 // {'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']}
80 
81 // !!!!!!!!!!! ['__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']
82 
83 
84 
85 
86 template <class ContainerAllocator>
87 struct IsFixedSize< ::sensor_msgs::ChannelFloat32_<ContainerAllocator> >
88  : FalseType
89  { };
90 
91 template <class ContainerAllocator>
92 struct IsFixedSize< ::sensor_msgs::ChannelFloat32_<ContainerAllocator> const>
93  : FalseType
94  { };
95 
96 template <class ContainerAllocator>
97 struct IsMessage< ::sensor_msgs::ChannelFloat32_<ContainerAllocator> >
98  : TrueType
99  { };
100 
101 template <class ContainerAllocator>
102 struct IsMessage< ::sensor_msgs::ChannelFloat32_<ContainerAllocator> const>
103  : TrueType
104  { };
105 
106 template <class ContainerAllocator>
107 struct HasHeader< ::sensor_msgs::ChannelFloat32_<ContainerAllocator> >
108  : FalseType
109  { };
110 
111 template <class ContainerAllocator>
112 struct HasHeader< ::sensor_msgs::ChannelFloat32_<ContainerAllocator> const>
113  : FalseType
114  { };
115 
116 
117 template<class ContainerAllocator>
118 struct MD5Sum< ::sensor_msgs::ChannelFloat32_<ContainerAllocator> >
119 {
120  static const char* value()
121  {
122  return "3d40139cdd33dfedcb71ffeeeb42ae7f";
123  }
124 
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;
128 };
129 
130 template<class ContainerAllocator>
131 struct DataType< ::sensor_msgs::ChannelFloat32_<ContainerAllocator> >
132 {
133  static const char* value()
134  {
135  return "sensor_msgs/ChannelFloat32";
136  }
137 
138  static const char* value(const ::sensor_msgs::ChannelFloat32_<ContainerAllocator>&) { return value(); }
139 };
140 
141 template<class ContainerAllocator>
142 struct Definition< ::sensor_msgs::ChannelFloat32_<ContainerAllocator> >
143 {
144  static const char* value()
145  {
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\
150 # point.\n\
151 \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\
156 # such problem.\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\
159 # in order.\n\
160 # \"intensity\" - laser or pixel intensity.\n\
161 # \"distance\"\n\
162 \n\
163 # The channel name should give semantics of the channel (e.g.\n\
164 # \"intensity\" instead of \"value\").\n\
165 string name\n\
166 \n\
167 # The values array should be 1-1 with the elements of the associated\n\
168 # PointCloud.\n\
169 float32[] values\n\
170 ";
171  }
172 
173  static const char* value(const ::sensor_msgs::ChannelFloat32_<ContainerAllocator>&) { return value(); }
174 };
175 
176 } // namespace message_traits
177 } // namespace roswrap
178 
179 namespace roswrap
180 {
181 namespace serialization
182 {
183 
184  template<class ContainerAllocator> struct Serializer< ::sensor_msgs::ChannelFloat32_<ContainerAllocator> >
185  {
186  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
187  {
188  stream.next(m.name);
189  stream.next(m.values);
190  }
191 
193  }; // struct ChannelFloat32_
194 
195 } // namespace serialization
196 } // namespace roswrap
197 
198 namespace roswrap
199 {
200 namespace message_operations
201 {
202 
203 template<class ContainerAllocator>
204 struct Printer< ::sensor_msgs::ChannelFloat32_<ContainerAllocator> >
205 {
206  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::ChannelFloat32_<ContainerAllocator>& v)
207  {
208  s << indent << "name: ";
209  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.name);
210  s << indent << "values[]" << std::endl;
211  for (size_t i = 0; i < v.values.size(); ++i)
212  {
213  s << indent << " values[" << i << "]: ";
214  Printer<float>::stream(s, indent + " ", v.values[i]);
215  }
216  }
217 };
218 
219 } // namespace message_operations
220 } // namespace roswrap
221 
222 #endif // SENSOR_MSGS_MESSAGE_CHANNELFLOAT32_H
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
sensor_msgs::ChannelFloat32_::ChannelFloat32_
ChannelFloat32_(const ContainerAllocator &_alloc)
Definition: ChannelFloat32.h:31
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
sensor_msgs::ChannelFloat32
::sensor_msgs::ChannelFloat32_< std::allocator< void > > ChannelFloat32
Definition: ChannelFloat32.h:53
roswrap::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: serialization.h:120
sensor_msgs::ChannelFloat32_::name
_name_type name
Definition: ChannelFloat32.h:40
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::ChannelFloat32Ptr
std::shared_ptr< ::sensor_msgs::ChannelFloat32 > ChannelFloat32Ptr
Definition: ChannelFloat32.h:55
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
roswrap::message_traits::MD5Sum< ::sensor_msgs::ChannelFloat32_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::ChannelFloat32_< ContainerAllocator > &)
Definition: ChannelFloat32.h:125
sensor_msgs::ChannelFloat32_::_name_type
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _name_type
Definition: ChannelFloat32.h:39
roswrap::message_traits::DataType< ::sensor_msgs::ChannelFloat32_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::ChannelFloat32_< ContainerAllocator > &)
Definition: ChannelFloat32.h:138
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
sensor_msgs::ChannelFloat32_
Definition: ChannelFloat32.h:23
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_operations::Printer< ::sensor_msgs::ChannelFloat32_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::ChannelFloat32_< ContainerAllocator > &v)
Definition: ChannelFloat32.h:206
sensor_msgs::ChannelFloat32_::ConstPtr
std::shared_ptr< ::sensor_msgs::ChannelFloat32_< ContainerAllocator > const > ConstPtr
Definition: ChannelFloat32.h:49
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
sensor_msgs::ChannelFloat32ConstPtr
std::shared_ptr< ::sensor_msgs::ChannelFloat32 const > ChannelFloat32ConstPtr
Definition: ChannelFloat32.h:56
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
sensor_msgs::ChannelFloat32_::ChannelFloat32_
ChannelFloat32_()
Definition: ChannelFloat32.h:27
roswrap::message_traits::Definition< ::sensor_msgs::ChannelFloat32_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::ChannelFloat32_< ContainerAllocator > &)
Definition: ChannelFloat32.h:173
roswrap::message_traits::DataType< ::sensor_msgs::ChannelFloat32_< ContainerAllocator > >::value
static const char * value()
Definition: ChannelFloat32.h:133
sensor_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::sensor_msgs::BatteryState_< ContainerAllocator > &v)
Definition: BatteryState.h:187
roswrap::serialization::Serializer< ::sensor_msgs::ChannelFloat32_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: ChannelFloat32.h:186
sensor_msgs::ChannelFloat32_::_values_type
std::vector< float, typename ContainerAllocator::template rebind< float >::other > _values_type
Definition: ChannelFloat32.h:42
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
sensor_msgs::ChannelFloat32_::values
_values_type values
Definition: ChannelFloat32.h:43
sensor_msgs::ChannelFloat32_::Ptr
std::shared_ptr< ::sensor_msgs::ChannelFloat32_< ContainerAllocator > > Ptr
Definition: ChannelFloat32.h:48
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
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
sensor_msgs
Tools for manipulating sensor_msgs.
sensor_msgs::ChannelFloat32_::Type
ChannelFloat32_< ContainerAllocator > Type
Definition: ChannelFloat32.h:25
roswrap::message_traits::MD5Sum< ::sensor_msgs::ChannelFloat32_< ContainerAllocator > >::value
static const char * value()
Definition: ChannelFloat32.h:120
roswrap::message_traits::Definition< ::sensor_msgs::ChannelFloat32_< ContainerAllocator > >::value
static const char * value()
Definition: ChannelFloat32.h:144


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