6 #ifndef SICK_SCAN_MESSAGE_RADARPREHEADERDEVICEBLOCK_H
7 #define SICK_SCAN_MESSAGE_RADARPREHEADERDEVICEBLOCK_H
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
22 template <
class ContainerAllocator>
64 typedef std::shared_ptr< ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator> >
Ptr;
65 typedef std::shared_ptr< ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator>
const>
ConstPtr;
78 template<
typename ContainerAllocator>
79 std::ostream&
operator<<(std::ostream& s, const ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator> & v)
86 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
87 bool operator==(const ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator1> & lhs, const ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator2> & rhs)
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;
96 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
97 bool operator!=(const ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator1> & lhs, const ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator2> & rhs)
107 namespace message_traits
114 template <
class ContainerAllocator>
119 template <
class ContainerAllocator>
124 template <
class ContainerAllocator>
129 template <
class ContainerAllocator>
134 template <
class ContainerAllocator>
139 template <
class ContainerAllocator>
145 template<
class ContainerAllocator>
150 return "be30eec819eb95fab7fceb700298df91";
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;
158 template<
class ContainerAllocator>
163 return "sick_scan/RadarPreHeaderDeviceBlock";
166 static const char*
value(const ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator>&) {
return value(); }
169 template<
class ContainerAllocator>
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"
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"
195 static const char*
value(const ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator>&) {
return value(); }
203 namespace serialization
208 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
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);
225 namespace message_operations
228 template<
class ContainerAllocator>
231 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::sick_scan_xd::RadarPreHeaderDeviceBlock_<ContainerAllocator>& v)
235 s <<
indent <<
"udiserialno: ";
237 s <<
indent <<
"bdeviceerror: ";
239 s <<
indent <<
"bcontaminationwarning: ";
241 s <<
indent <<
"bcontaminationerror: ";
249 #endif // SICK_SCAN_MESSAGE_RADARPREHEADERDEVICEBLOCK_H