6 #ifndef SICK_SCAN_MESSAGE_RADARPREHEADERSTATUSBLOCK_H
7 #define SICK_SCAN_MESSAGE_RADARPREHEADERSTATUSBLOCK_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>
69 typedef std::shared_ptr< ::sick_scan_xd::RadarPreHeaderStatusBlock_<ContainerAllocator> >
Ptr;
70 typedef std::shared_ptr< ::sick_scan_xd::RadarPreHeaderStatusBlock_<ContainerAllocator>
const>
ConstPtr;
83 template<
typename ContainerAllocator>
84 std::ostream&
operator<<(std::ostream& s, const ::sick_scan_xd::RadarPreHeaderStatusBlock_<ContainerAllocator> & v)
91 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
92 bool operator==(const ::sick_scan_xd::RadarPreHeaderStatusBlock_<ContainerAllocator1> & lhs, const ::sick_scan_xd::RadarPreHeaderStatusBlock_<ContainerAllocator2> & rhs)
94 return lhs.uitelegramcount == rhs.uitelegramcount &&
95 lhs.uicyclecount == rhs.uicyclecount &&
96 lhs.udisystemcountscan == rhs.udisystemcountscan &&
97 lhs.udisystemcounttransmit == rhs.udisystemcounttransmit &&
98 lhs.uiinputs == rhs.uiinputs &&
99 lhs.uioutputs == rhs.uioutputs;
102 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
103 bool operator!=(const ::sick_scan_xd::RadarPreHeaderStatusBlock_<ContainerAllocator1> & lhs, const ::sick_scan_xd::RadarPreHeaderStatusBlock_<ContainerAllocator2> & rhs)
105 return !(lhs == rhs);
113 namespace message_traits
120 template <
class ContainerAllocator>
125 template <
class ContainerAllocator>
130 template <
class ContainerAllocator>
135 template <
class ContainerAllocator>
140 template <
class ContainerAllocator>
145 template <
class ContainerAllocator>
151 template<
class ContainerAllocator>
156 return "dfa18760ab036b23a2e4191788b3e6e4";
159 static const char*
value(const ::sick_scan_xd::RadarPreHeaderStatusBlock_<ContainerAllocator>&) {
return value(); }
160 static const uint64_t static_value1 = 0xdfa18760ab036b23ULL;
161 static const uint64_t static_value2 = 0xa2e4191788b3e6e4ULL;
164 template<
class ContainerAllocator>
169 return "sick_scan/RadarPreHeaderStatusBlock";
172 static const char*
value(const ::sick_scan_xd::RadarPreHeaderStatusBlock_<ContainerAllocator>&) {
return value(); }
175 template<
class ContainerAllocator>
184 "#uint32 uiTelegramCount # telegram number\n"
185 "#uint32 uiCycleCount # \"scan number\"\n"
186 "#uint32 udiSystemCountScan # system time since power on of scan gen. [us]\n"
187 "#uint32 udiSystemCountTransmit # system time since power on of scan transmission [us]\n"
188 "#uint16 uiInputs # state of digital inputs\n"
189 "#uint16 uiOutputs # state of digital outputs\n"
192 "uint32 uitelegramcount # telegram number\n"
193 "uint32 uicyclecount # \"scan number\"\n"
194 "uint32 udisystemcountscan # system time since power on of scan gen. [us]\n"
195 "uint32 udisystemcounttransmit # system time since power on of scan transmission [us]\n"
196 "uint16 uiinputs # state of digital inputs\n"
197 "uint16 uioutputs # state of digital outputs\n"
201 static const char*
value(const ::sick_scan_xd::RadarPreHeaderStatusBlock_<ContainerAllocator>&) {
return value(); }
209 namespace serialization
214 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
216 stream.next(m.uitelegramcount);
217 stream.next(m.uicyclecount);
218 stream.next(m.udisystemcountscan);
219 stream.next(m.udisystemcounttransmit);
220 stream.next(m.uiinputs);
221 stream.next(m.uioutputs);
232 namespace message_operations
235 template<
class ContainerAllocator>
238 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::sick_scan_xd::RadarPreHeaderStatusBlock_<ContainerAllocator>& v)
240 s <<
indent <<
"uitelegramcount: ";
242 s <<
indent <<
"uicyclecount: ";
244 s <<
indent <<
"udisystemcountscan: ";
246 s <<
indent <<
"udisystemcounttransmit: ";
258 #endif // SICK_SCAN_MESSAGE_RADARPREHEADERSTATUSBLOCK_H