RadarPreHeaderEncoderBlock.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 sick_scan/RadarPreHeaderEncoderBlock.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SICK_SCAN_MESSAGE_RADARPREHEADERENCODERBLOCK_H
7 #define SICK_SCAN_MESSAGE_RADARPREHEADERENCODERBLOCK_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 sick_scan_xd
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : udiencoderpos(0)
29  , iencoderspeed(0) {
30  }
31  RadarPreHeaderEncoderBlock_(const ContainerAllocator& _alloc)
32  : udiencoderpos(0)
33  , iencoderspeed(0) {
34  (void)_alloc;
35  }
36 
37 
38 
39  typedef uint32_t _udiencoderpos_type;
41 
42  typedef int16_t _iencoderspeed_type;
44 
45 
46 
47 
48 
49  typedef std::shared_ptr< ::sick_scan_xd::RadarPreHeaderEncoderBlock_<ContainerAllocator> > Ptr;
50  typedef std::shared_ptr< ::sick_scan_xd::RadarPreHeaderEncoderBlock_<ContainerAllocator> const> ConstPtr;
51 
52 }; // struct RadarPreHeaderEncoderBlock_
53 
54 typedef ::sick_scan_xd::RadarPreHeaderEncoderBlock_<std::allocator<void> > RadarPreHeaderEncoderBlock;
55 
56 typedef std::shared_ptr< ::sick_scan_xd::RadarPreHeaderEncoderBlock > RadarPreHeaderEncoderBlockPtr;
57 typedef std::shared_ptr< ::sick_scan_xd::RadarPreHeaderEncoderBlock const> RadarPreHeaderEncoderBlockConstPtr;
58 
59 // constants requiring out of line definition
60 
61 
62 
63 template<typename ContainerAllocator>
64 std::ostream& operator<<(std::ostream& s, const ::sick_scan_xd::RadarPreHeaderEncoderBlock_<ContainerAllocator> & v)
65 {
67 return s;
68 }
69 
70 
71 template<typename ContainerAllocator1, typename ContainerAllocator2>
72 bool operator==(const ::sick_scan_xd::RadarPreHeaderEncoderBlock_<ContainerAllocator1> & lhs, const ::sick_scan_xd::RadarPreHeaderEncoderBlock_<ContainerAllocator2> & rhs)
73 {
74  return lhs.udiencoderpos == rhs.udiencoderpos &&
75  lhs.iencoderspeed == rhs.iencoderspeed;
76 }
77 
78 template<typename ContainerAllocator1, typename ContainerAllocator2>
79 bool operator!=(const ::sick_scan_xd::RadarPreHeaderEncoderBlock_<ContainerAllocator1> & lhs, const ::sick_scan_xd::RadarPreHeaderEncoderBlock_<ContainerAllocator2> & rhs)
80 {
81  return !(lhs == rhs);
82 }
83 
84 
85 } // namespace sick_scan_xd
86 
87 namespace roswrap
88 {
89 namespace message_traits
90 {
91 
92 
93 
94 
95 
96 template <class ContainerAllocator>
98  : TrueType
99  { };
100 
101 template <class ContainerAllocator>
103  : TrueType
104  { };
105 
106 template <class ContainerAllocator>
108  : TrueType
109  { };
110 
111 template <class ContainerAllocator>
113  : TrueType
114  { };
115 
116 template <class ContainerAllocator>
118  : FalseType
119  { };
120 
121 template <class ContainerAllocator>
123  : FalseType
124  { };
125 
126 
127 template<class ContainerAllocator>
128 struct MD5Sum< ::sick_scan_xd::RadarPreHeaderEncoderBlock_<ContainerAllocator> >
129 {
130  static const char* value()
131  {
132  return "fe409801376c90135322466d8a5244ac";
133  }
134 
135  static const char* value(const ::sick_scan_xd::RadarPreHeaderEncoderBlock_<ContainerAllocator>&) { return value(); }
136  static const uint64_t static_value1 = 0xfe409801376c9013ULL;
137  static const uint64_t static_value2 = 0x5322466d8a5244acULL;
138 };
139 
140 template<class ContainerAllocator>
142 {
143  static const char* value()
144  {
145  return "sick_scan/RadarPreHeaderEncoderBlock";
146  }
147 
148  static const char* value(const ::sick_scan_xd::RadarPreHeaderEncoderBlock_<ContainerAllocator>&) { return value(); }
149 };
150 
151 template<class ContainerAllocator>
153 {
154  static const char* value()
155  {
156  return "# Array with connected encoder sensors\n"
157 "# ROS-1:\n"
158 "#uint32 udiEncoderPos # encoder position [inc]\n"
159 "#int16 iEncoderSpeed # encoder speed [inc/mm]\n"
160 "# ROS-2:\n"
161 "uint32 udiencoderpos # encoder position [inc]\n"
162 "int16 iencoderspeed # encoder speed [inc/mm]\n"
163 ;
164  }
165 
166  static const char* value(const ::sick_scan_xd::RadarPreHeaderEncoderBlock_<ContainerAllocator>&) { return value(); }
167 };
168 
169 } // namespace message_traits
170 } // namespace roswrap
171 
172 namespace roswrap
173 {
174 namespace serialization
175 {
176 
177  template<class ContainerAllocator> struct Serializer< ::sick_scan_xd::RadarPreHeaderEncoderBlock_<ContainerAllocator> >
178  {
179  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
180  {
181  stream.next(m.udiencoderpos);
182  stream.next(m.iencoderspeed);
183  }
184 
186  }; // struct RadarPreHeaderEncoderBlock_
187 
188 } // namespace serialization
189 } // namespace roswrap
190 
191 namespace roswrap
192 {
193 namespace message_operations
194 {
195 
196 template<class ContainerAllocator>
197 struct Printer< ::sick_scan_xd::RadarPreHeaderEncoderBlock_<ContainerAllocator> >
198 {
199  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sick_scan_xd::RadarPreHeaderEncoderBlock_<ContainerAllocator>& v)
200  {
201  s << indent << "udiencoderpos: ";
202  Printer<uint32_t>::stream(s, indent + " ", v.udiencoderpos);
203  s << indent << "iencoderspeed: ";
204  Printer<int16_t>::stream(s, indent + " ", v.iencoderspeed);
205  }
206 };
207 
208 } // namespace message_operations
209 } // namespace roswrap
210 
211 #endif // SICK_SCAN_MESSAGE_RADARPREHEADERENCODERBLOCK_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
sick_scan_xd::operator<<
std::ostream & operator<<(std::ostream &s, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > &v)
Definition: ColaMsgSrvRequest.h:59
sick_scan_xd::RadarPreHeaderEncoderBlockPtr
std::shared_ptr< ::sick_scan_xd::RadarPreHeaderEncoderBlock > RadarPreHeaderEncoderBlockPtr
Definition: RadarPreHeaderEncoderBlock.h:56
roswrap::message_traits::DataType< ::sick_scan_xd::RadarPreHeaderEncoderBlock_< ContainerAllocator > >::value
static const char * value()
Definition: RadarPreHeaderEncoderBlock.h:143
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
sick_scan_xd::RadarPreHeaderEncoderBlock_::iencoderspeed
_iencoderspeed_type iencoderspeed
Definition: RadarPreHeaderEncoderBlock.h:43
sick_scan_xd::operator!=
bool operator!=(const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator1 > &lhs, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator2 > &rhs)
Definition: ColaMsgSrvRequest.h:73
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
roswrap::message_traits::MD5Sum< ::sick_scan_xd::RadarPreHeaderEncoderBlock_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::RadarPreHeaderEncoderBlock_< ContainerAllocator > &)
Definition: RadarPreHeaderEncoderBlock.h:135
const
#define const
Definition: getopt.c:38
roswrap::message_traits::DataType< ::sick_scan_xd::RadarPreHeaderEncoderBlock_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::RadarPreHeaderEncoderBlock_< ContainerAllocator > &)
Definition: RadarPreHeaderEncoderBlock.h:148
s
XmlRpcServer s
sick_scan_xd::RadarPreHeaderEncoderBlock_::ConstPtr
std::shared_ptr< ::sick_scan_xd::RadarPreHeaderEncoderBlock_< ContainerAllocator > const > ConstPtr
Definition: RadarPreHeaderEncoderBlock.h:50
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
roswrap::message_traits::MD5Sum< ::sick_scan_xd::RadarPreHeaderEncoderBlock_< ContainerAllocator > >::value
static const char * value()
Definition: RadarPreHeaderEncoderBlock.h:130
sick_scan_xd::RadarPreHeaderEncoderBlock_::Ptr
std::shared_ptr< ::sick_scan_xd::RadarPreHeaderEncoderBlock_< ContainerAllocator > > Ptr
Definition: RadarPreHeaderEncoderBlock.h:49
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
sick_scan_xd
Definition: abstract_parser.cpp:65
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
roswrap::message_operations::Printer< ::sick_scan_xd::RadarPreHeaderEncoderBlock_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::RadarPreHeaderEncoderBlock_< ContainerAllocator > &v)
Definition: RadarPreHeaderEncoderBlock.h:199
roswrap::message_traits::Definition< ::sick_scan_xd::RadarPreHeaderEncoderBlock_< ContainerAllocator > >::value
static const char * value()
Definition: RadarPreHeaderEncoderBlock.h:154
sick_scan_xd::RadarPreHeaderEncoderBlock_::RadarPreHeaderEncoderBlock_
RadarPreHeaderEncoderBlock_()
Definition: RadarPreHeaderEncoderBlock.h:27
sick_scan_xd::RadarPreHeaderEncoderBlock_::RadarPreHeaderEncoderBlock_
RadarPreHeaderEncoderBlock_(const ContainerAllocator &_alloc)
Definition: RadarPreHeaderEncoderBlock.h:31
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
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::Definition< ::sick_scan_xd::RadarPreHeaderEncoderBlock_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::RadarPreHeaderEncoderBlock_< ContainerAllocator > &)
Definition: RadarPreHeaderEncoderBlock.h:166
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
sick_scan_xd::RadarPreHeaderEncoderBlock
::sick_scan_xd::RadarPreHeaderEncoderBlock_< std::allocator< void > > RadarPreHeaderEncoderBlock
Definition: RadarPreHeaderEncoderBlock.h:54
sick_scan_xd::RadarPreHeaderEncoderBlock_
Definition: RadarPreHeaderEncoderBlock.h:23
sick_scan_xd::RadarPreHeaderEncoderBlock_::_udiencoderpos_type
uint32_t _udiencoderpos_type
Definition: RadarPreHeaderEncoderBlock.h:39
sick_scan_xd::operator==
bool operator==(const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator1 > &lhs, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator2 > &rhs)
Definition: ColaMsgSrvRequest.h:67
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
sick_scan_xd::RadarPreHeaderEncoderBlockConstPtr
std::shared_ptr< ::sick_scan_xd::RadarPreHeaderEncoderBlock const > RadarPreHeaderEncoderBlockConstPtr
Definition: RadarPreHeaderEncoderBlock.h:57
sick_scan_xd::RadarPreHeaderEncoderBlock_::Type
RadarPreHeaderEncoderBlock_< ContainerAllocator > Type
Definition: RadarPreHeaderEncoderBlock.h:25
sick_scan_xd::RadarPreHeaderEncoderBlock_::udiencoderpos
_udiencoderpos_type udiencoderpos
Definition: RadarPreHeaderEncoderBlock.h:40
roswrap::serialization::Serializer< ::sick_scan_xd::RadarPreHeaderEncoderBlock_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: RadarPreHeaderEncoderBlock.h:179
sick_scan_xd::RadarPreHeaderEncoderBlock_::_iencoderspeed_type
int16_t _iencoderspeed_type
Definition: RadarPreHeaderEncoderBlock.h:42


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