RadarPreHeaderDeviceBlock.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/RadarPreHeaderDeviceBlock.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SICK_SCAN_MESSAGE_RADARPREHEADERDEVICEBLOCK_H
7 #define SICK_SCAN_MESSAGE_RADARPREHEADERDEVICEBLOCK_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  : uiident(0)
29  , udiserialno(0)
30  , bdeviceerror(false)
31  , bcontaminationwarning(false)
32  , bcontaminationerror(false) {
33  }
34  RadarPreHeaderDeviceBlock_(const ContainerAllocator& _alloc)
35  : uiident(0)
36  , udiserialno(0)
37  , bdeviceerror(false)
38  , bcontaminationwarning(false)
39  , bcontaminationerror(false) {
40  (void)_alloc;
41  }
42 
43 
44 
45  typedef uint32_t _uiident_type;
47 
48  typedef uint32_t _udiserialno_type;
50 
51  typedef uint8_t _bdeviceerror_type;
53 
54  typedef uint8_t _bcontaminationwarning_type;
56 
57  typedef uint8_t _bcontaminationerror_type;
59 
60 
61 
62 
63 
64  typedef std::shared_ptr< ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator> > Ptr;
65  typedef std::shared_ptr< ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator> const> ConstPtr;
66 
67 }; // struct RadarPreHeaderDeviceBlock_
68 
69 typedef ::sick_scan_xd::RadarPreHeaderDeviceBlock_<std::allocator<void> > RadarPreHeaderDeviceBlock;
70 
71 typedef std::shared_ptr< ::sick_scan_xd::RadarPreHeaderDeviceBlock > RadarPreHeaderDeviceBlockPtr;
72 typedef std::shared_ptr< ::sick_scan_xd::RadarPreHeaderDeviceBlock const> RadarPreHeaderDeviceBlockConstPtr;
73 
74 // constants requiring out of line definition
75 
76 
77 
78 template<typename ContainerAllocator>
79 std::ostream& operator<<(std::ostream& s, const ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator> & v)
80 {
82 return s;
83 }
84 
85 
86 template<typename ContainerAllocator1, typename ContainerAllocator2>
87 bool operator==(const ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator1> & lhs, const ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator2> & rhs)
88 {
89  return lhs.uiident == rhs.uiident &&
90  lhs.udiserialno == rhs.udiserialno &&
91  lhs.bdeviceerror == rhs.bdeviceerror &&
92  lhs.bcontaminationwarning == rhs.bcontaminationwarning &&
93  lhs.bcontaminationerror == rhs.bcontaminationerror;
94 }
95 
96 template<typename ContainerAllocator1, typename ContainerAllocator2>
97 bool operator!=(const ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator1> & lhs, const ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator2> & rhs)
98 {
99  return !(lhs == rhs);
100 }
101 
102 
103 } // namespace sick_scan_xd
104 
105 namespace roswrap
106 {
107 namespace message_traits
108 {
109 
110 
111 
112 
113 
114 template <class ContainerAllocator>
116  : TrueType
117  { };
118 
119 template <class ContainerAllocator>
121  : TrueType
122  { };
123 
124 template <class ContainerAllocator>
126  : TrueType
127  { };
128 
129 template <class ContainerAllocator>
131  : TrueType
132  { };
133 
134 template <class ContainerAllocator>
136  : FalseType
137  { };
138 
139 template <class ContainerAllocator>
141  : FalseType
142  { };
143 
144 
145 template<class ContainerAllocator>
146 struct MD5Sum< ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator> >
147 {
148  static const char* value()
149  {
150  return "be30eec819eb95fab7fceb700298df91";
151  }
152 
153  static const char* value(const ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator>&) { return value(); }
154  static const uint64_t static_value1 = 0xbe30eec819eb95faULL;
155  static const uint64_t static_value2 = 0xb7fceb700298df91ULL;
156 };
157 
158 template<class ContainerAllocator>
159 struct DataType< ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator> >
160 {
161  static const char* value()
162  {
163  return "sick_scan/RadarPreHeaderDeviceBlock";
164  }
165 
166  static const char* value(const ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator>&) { return value(); }
167 };
168 
169 template<class ContainerAllocator>
171 {
172  static const char* value()
173  {
174  return "#\n"
175 "#\n"
176 "#\n"
177 "#\n"
178 "\n"
179 "# ROS-1:\n"
180 "#uint32 uiIdent # Logical number of the device\"\n"
181 "#uint32 udiSerialNo # Serial number of the device\n"
182 "#bool bDeviceError # State of the device\n"
183 "#bool bContaminationWarning # Contamination Warning\n"
184 "#bool bContaminationError # Contamination Error\n"
185 "\n"
186 "# ROS-2:\n"
187 "uint32 uiident # Logical number of the device\"\n"
188 "uint32 udiserialno # Serial number of the device\n"
189 "bool bdeviceerror # State of the device\n"
190 "bool bcontaminationwarning # Contamination Warning\n"
191 "bool bcontaminationerror # Contamination Error\n"
192 ;
193  }
194 
195  static const char* value(const ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator>&) { return value(); }
196 };
197 
198 } // namespace message_traits
199 } // namespace roswrap
200 
201 namespace roswrap
202 {
203 namespace serialization
204 {
205 
206  template<class ContainerAllocator> struct Serializer< ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator> >
207  {
208  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
209  {
210  stream.next(m.uiident);
211  stream.next(m.udiserialno);
212  stream.next(m.bdeviceerror);
213  stream.next(m.bcontaminationwarning);
214  stream.next(m.bcontaminationerror);
215  }
216 
218  }; // struct RadarPreHeaderDeviceBlock_
219 
220 } // namespace serialization
221 } // namespace roswrap
222 
223 namespace roswrap
224 {
225 namespace message_operations
226 {
227 
228 template<class ContainerAllocator>
229 struct Printer< ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator> >
230 {
231  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator>& v)
232  {
233  s << indent << "uiident: ";
234  Printer<uint32_t>::stream(s, indent + " ", v.uiident);
235  s << indent << "udiserialno: ";
236  Printer<uint32_t>::stream(s, indent + " ", v.udiserialno);
237  s << indent << "bdeviceerror: ";
238  Printer<uint8_t>::stream(s, indent + " ", v.bdeviceerror);
239  s << indent << "bcontaminationwarning: ";
240  Printer<uint8_t>::stream(s, indent + " ", v.bcontaminationwarning);
241  s << indent << "bcontaminationerror: ";
242  Printer<uint8_t>::stream(s, indent + " ", v.bcontaminationerror);
243  }
244 };
245 
246 } // namespace message_operations
247 } // namespace roswrap
248 
249 #endif // SICK_SCAN_MESSAGE_RADARPREHEADERDEVICEBLOCK_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::RadarPreHeaderDeviceBlockConstPtr
std::shared_ptr< ::sick_scan_xd::RadarPreHeaderDeviceBlock const > RadarPreHeaderDeviceBlockConstPtr
Definition: RadarPreHeaderDeviceBlock.h:72
roswrap::message_traits::MD5Sum< ::sick_scan_xd::RadarPreHeaderDeviceBlock_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::RadarPreHeaderDeviceBlock_< ContainerAllocator > &)
Definition: RadarPreHeaderDeviceBlock.h:153
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
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
sick_scan_xd::RadarPreHeaderDeviceBlock_::udiserialno
_udiserialno_type udiserialno
Definition: RadarPreHeaderDeviceBlock.h:49
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
sick_scan_xd::RadarPreHeaderDeviceBlock_::Type
RadarPreHeaderDeviceBlock_< ContainerAllocator > Type
Definition: RadarPreHeaderDeviceBlock.h:25
roswrap::message_traits::Definition< ::sick_scan_xd::RadarPreHeaderDeviceBlock_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::RadarPreHeaderDeviceBlock_< ContainerAllocator > &)
Definition: RadarPreHeaderDeviceBlock.h:195
const
#define const
Definition: getopt.c:38
roswrap::serialization::Serializer< ::sick_scan_xd::RadarPreHeaderDeviceBlock_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: RadarPreHeaderDeviceBlock.h:208
sick_scan_xd::RadarPreHeaderDeviceBlock_::ConstPtr
std::shared_ptr< ::sick_scan_xd::RadarPreHeaderDeviceBlock_< ContainerAllocator > const > ConstPtr
Definition: RadarPreHeaderDeviceBlock.h:65
s
XmlRpcServer s
sick_scan_xd::RadarPreHeaderDeviceBlock
::sick_scan_xd::RadarPreHeaderDeviceBlock_< std::allocator< void > > RadarPreHeaderDeviceBlock
Definition: RadarPreHeaderDeviceBlock.h:69
roswrap::message_traits::MD5Sum< ::sick_scan_xd::RadarPreHeaderDeviceBlock_< ContainerAllocator > >::value
static const char * value()
Definition: RadarPreHeaderDeviceBlock.h:148
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
sick_scan_xd::RadarPreHeaderDeviceBlock_::_bcontaminationwarning_type
uint8_t _bcontaminationwarning_type
Definition: RadarPreHeaderDeviceBlock.h:54
roswrap::message_traits::DataType< ::sick_scan_xd::RadarPreHeaderDeviceBlock_< ContainerAllocator > >::value
static const char * value()
Definition: RadarPreHeaderDeviceBlock.h:161
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::RadarPreHeaderDeviceBlock_
Definition: RadarPreHeaderDeviceBlock.h:23
sick_scan_xd
Definition: abstract_parser.cpp:65
sick_scan_xd::RadarPreHeaderDeviceBlock_::_udiserialno_type
uint32_t _udiserialno_type
Definition: RadarPreHeaderDeviceBlock.h:48
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
sick_scan_xd::RadarPreHeaderDeviceBlock_::Ptr
std::shared_ptr< ::sick_scan_xd::RadarPreHeaderDeviceBlock_< ContainerAllocator > > Ptr
Definition: RadarPreHeaderDeviceBlock.h:64
sick_scan_xd::RadarPreHeaderDeviceBlock_::_bdeviceerror_type
uint8_t _bdeviceerror_type
Definition: RadarPreHeaderDeviceBlock.h:51
roswrap::message_traits::DataType< ::sick_scan_xd::RadarPreHeaderDeviceBlock_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::RadarPreHeaderDeviceBlock_< ContainerAllocator > &)
Definition: RadarPreHeaderDeviceBlock.h:166
sick_scan_xd::RadarPreHeaderDeviceBlock_::_bcontaminationerror_type
uint8_t _bcontaminationerror_type
Definition: RadarPreHeaderDeviceBlock.h:57
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
sick_scan_xd::RadarPreHeaderDeviceBlock_::bdeviceerror
_bdeviceerror_type bdeviceerror
Definition: RadarPreHeaderDeviceBlock.h:52
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_operations::Printer< ::sick_scan_xd::RadarPreHeaderDeviceBlock_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::RadarPreHeaderDeviceBlock_< ContainerAllocator > &v)
Definition: RadarPreHeaderDeviceBlock.h:231
sick_scan_xd::RadarPreHeaderDeviceBlock_::uiident
_uiident_type uiident
Definition: RadarPreHeaderDeviceBlock.h:46
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
sick_scan_xd::RadarPreHeaderDeviceBlock_::RadarPreHeaderDeviceBlock_
RadarPreHeaderDeviceBlock_(const ContainerAllocator &_alloc)
Definition: RadarPreHeaderDeviceBlock.h:34
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_xd::RadarPreHeaderDeviceBlock_::_uiident_type
uint32_t _uiident_type
Definition: RadarPreHeaderDeviceBlock.h:45
sick_scan_xd::RadarPreHeaderDeviceBlock_::bcontaminationwarning
_bcontaminationwarning_type bcontaminationwarning
Definition: RadarPreHeaderDeviceBlock.h:55
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
roswrap::message_traits::Definition< ::sick_scan_xd::RadarPreHeaderDeviceBlock_< ContainerAllocator > >::value
static const char * value()
Definition: RadarPreHeaderDeviceBlock.h:172
sick_scan_xd::RadarPreHeaderDeviceBlockPtr
std::shared_ptr< ::sick_scan_xd::RadarPreHeaderDeviceBlock > RadarPreHeaderDeviceBlockPtr
Definition: RadarPreHeaderDeviceBlock.h:71
sick_scan_xd::RadarPreHeaderDeviceBlock_::RadarPreHeaderDeviceBlock_
RadarPreHeaderDeviceBlock_()
Definition: RadarPreHeaderDeviceBlock.h:27
sick_scan_xd::RadarPreHeaderDeviceBlock_::bcontaminationerror
_bcontaminationerror_type bcontaminationerror
Definition: RadarPreHeaderDeviceBlock.h:58


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