6 #ifndef SICK_SCAN_MESSAGE_SICKLOCCOLATELEGRAMSRVRESPONSE_H
7 #define SICK_SCAN_MESSAGE_SICKLOCCOLATELEGRAMSRVRESPONSE_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>
45 typedef std::basic_string<char, std::char_traits<char>,
typename ContainerAllocator::template rebind<char>::other >
_cola_ascii_response_type;
64 typedef std::shared_ptr< ::sick_scan_xd::SickLocColaTelegramSrvResponse_<ContainerAllocator> >
Ptr;
65 typedef std::shared_ptr< ::sick_scan_xd::SickLocColaTelegramSrvResponse_<ContainerAllocator>
const>
ConstPtr;
78 template<
typename ContainerAllocator>
79 std::ostream&
operator<<(std::ostream& s, const ::sick_scan_xd::SickLocColaTelegramSrvResponse_<ContainerAllocator> & v)
86 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
87 bool operator==(const ::sick_scan_xd::SickLocColaTelegramSrvResponse_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocColaTelegramSrvResponse_<ContainerAllocator2> & rhs)
89 return lhs.cola_ascii_response == rhs.cola_ascii_response &&
90 lhs.send_timestamp_sec == rhs.send_timestamp_sec &&
91 lhs.send_timestamp_nsec == rhs.send_timestamp_nsec &&
92 lhs.receive_timestamp_sec == rhs.receive_timestamp_sec &&
93 lhs.receive_timestamp_nsec == rhs.receive_timestamp_nsec;
96 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
97 bool operator!=(const ::sick_scan_xd::SickLocColaTelegramSrvResponse_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocColaTelegramSrvResponse_<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 "4a966f9c77cc89ffe63caaa088f93373";
153 static const char*
value(const ::sick_scan_xd::SickLocColaTelegramSrvResponse_<ContainerAllocator>&) {
return value(); }
154 static const uint64_t static_value1 = 0x4a966f9c77cc89ffULL;
155 static const uint64_t static_value2 = 0xe63caaa088f93373ULL;
158 template<
class ContainerAllocator>
163 return "sick_scan/SickLocColaTelegramSrvResponse";
166 static const char*
value(const ::sick_scan_xd::SickLocColaTelegramSrvResponse_<ContainerAllocator>&) {
return value(); }
169 template<
class ContainerAllocator>
176 "# Response (output)\n"
179 "string cola_ascii_response # Response from the localization controller (empty in case of connection failures, communication errors or timeouts)\n"
180 "uint32 send_timestamp_sec # Send timestamp (seconds part of ros timestamp immediately before tcp send)\n"
181 "uint32 send_timestamp_nsec # Send timestamp (nano seconds part of ros timestamp immediately before tcp send)\n"
182 "uint32 receive_timestamp_sec # Receive timestamp (seconds part of ros timestamp immediately after first response byte received)\n"
183 "uint32 receive_timestamp_nsec # Receive timestamp (nano seconds part of ros timestamp immediately after first response byte received)\n"
188 static const char*
value(const ::sick_scan_xd::SickLocColaTelegramSrvResponse_<ContainerAllocator>&) {
return value(); }
196 namespace serialization
201 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
203 stream.next(m.cola_ascii_response);
204 stream.next(m.send_timestamp_sec);
205 stream.next(m.send_timestamp_nsec);
206 stream.next(m.receive_timestamp_sec);
207 stream.next(m.receive_timestamp_nsec);
218 namespace message_operations
221 template<
class ContainerAllocator>
224 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::sick_scan_xd::SickLocColaTelegramSrvResponse_<ContainerAllocator>& v)
226 s <<
indent <<
"cola_ascii_response: ";
228 s <<
indent <<
"send_timestamp_sec: ";
230 s <<
indent <<
"send_timestamp_nsec: ";
232 s <<
indent <<
"receive_timestamp_sec: ";
234 s <<
indent <<
"receive_timestamp_nsec: ";
242 #endif // SICK_SCAN_MESSAGE_SICKLOCCOLATELEGRAMSRVRESPONSE_H