SickLocColaTelegramSrvResponse.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/SickLocColaTelegramSrvResponse.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SICK_SCAN_MESSAGE_SICKLOCCOLATELEGRAMSRVRESPONSE_H
7 #define SICK_SCAN_MESSAGE_SICKLOCCOLATELEGRAMSRVRESPONSE_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 
33  }
34  SickLocColaTelegramSrvResponse_(const ContainerAllocator& _alloc)
35  : cola_ascii_response(_alloc)
40  (void)_alloc;
41  }
42 
43 
44 
45  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _cola_ascii_response_type;
47 
48  typedef uint32_t _send_timestamp_sec_type;
50 
51  typedef uint32_t _send_timestamp_nsec_type;
53 
54  typedef uint32_t _receive_timestamp_sec_type;
56 
57  typedef uint32_t _receive_timestamp_nsec_type;
59 
60 
61 
62 
63 
64  typedef std::shared_ptr< ::sick_scan_xd::SickLocColaTelegramSrvResponse_<ContainerAllocator> > Ptr;
65  typedef std::shared_ptr< ::sick_scan_xd::SickLocColaTelegramSrvResponse_<ContainerAllocator> const> ConstPtr;
66 
67 }; // struct SickLocColaTelegramSrvResponse_
68 
69 typedef ::sick_scan_xd::SickLocColaTelegramSrvResponse_<std::allocator<void> > SickLocColaTelegramSrvResponse;
70 
71 typedef std::shared_ptr< ::sick_scan_xd::SickLocColaTelegramSrvResponse > SickLocColaTelegramSrvResponsePtr;
72 typedef std::shared_ptr< ::sick_scan_xd::SickLocColaTelegramSrvResponse const> SickLocColaTelegramSrvResponseConstPtr;
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::SickLocColaTelegramSrvResponse_<ContainerAllocator> & v)
80 {
82 return s;
83 }
84 
85 
86 template<typename ContainerAllocator1, typename ContainerAllocator2>
87 bool operator==(const ::sick_scan_xd::SickLocColaTelegramSrvResponse_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocColaTelegramSrvResponse_<ContainerAllocator2> & rhs)
88 {
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;
94 }
95 
96 template<typename ContainerAllocator1, typename ContainerAllocator2>
97 bool operator!=(const ::sick_scan_xd::SickLocColaTelegramSrvResponse_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocColaTelegramSrvResponse_<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  : FalseType
117  { };
118 
119 template <class ContainerAllocator>
121  : FalseType
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>
147 {
148  static const char* value()
149  {
150  return "4a966f9c77cc89ffe63caaa088f93373";
151  }
152 
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;
156 };
157 
158 template<class ContainerAllocator>
160 {
161  static const char* value()
162  {
163  return "sick_scan/SickLocColaTelegramSrvResponse";
164  }
165 
166  static const char* value(const ::sick_scan_xd::SickLocColaTelegramSrvResponse_<ContainerAllocator>&) { return value(); }
167 };
168 
169 template<class ContainerAllocator>
171 {
172  static const char* value()
173  {
174  return "\n"
175 "#\n"
176 "# Response (output)\n"
177 "#\n"
178 "\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"
184 "\n"
185 ;
186  }
187 
188  static const char* value(const ::sick_scan_xd::SickLocColaTelegramSrvResponse_<ContainerAllocator>&) { return value(); }
189 };
190 
191 } // namespace message_traits
192 } // namespace roswrap
193 
194 namespace roswrap
195 {
196 namespace serialization
197 {
198 
199  template<class ContainerAllocator> struct Serializer< ::sick_scan_xd::SickLocColaTelegramSrvResponse_<ContainerAllocator> >
200  {
201  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
202  {
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);
208  }
209 
211  }; // struct SickLocColaTelegramSrvResponse_
212 
213 } // namespace serialization
214 } // namespace roswrap
215 
216 namespace roswrap
217 {
218 namespace message_operations
219 {
220 
221 template<class ContainerAllocator>
223 {
224  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sick_scan_xd::SickLocColaTelegramSrvResponse_<ContainerAllocator>& v)
225  {
226  s << indent << "cola_ascii_response: ";
227  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.cola_ascii_response);
228  s << indent << "send_timestamp_sec: ";
229  Printer<uint32_t>::stream(s, indent + " ", v.send_timestamp_sec);
230  s << indent << "send_timestamp_nsec: ";
231  Printer<uint32_t>::stream(s, indent + " ", v.send_timestamp_nsec);
232  s << indent << "receive_timestamp_sec: ";
233  Printer<uint32_t>::stream(s, indent + " ", v.receive_timestamp_sec);
234  s << indent << "receive_timestamp_nsec: ";
235  Printer<uint32_t>::stream(s, indent + " ", v.receive_timestamp_nsec);
236  }
237 };
238 
239 } // namespace message_operations
240 } // namespace roswrap
241 
242 #endif // SICK_SCAN_MESSAGE_SICKLOCCOLATELEGRAMSRVRESPONSE_H
sick_scan_xd::SickLocColaTelegramSrvResponse_::send_timestamp_sec
_send_timestamp_sec_type send_timestamp_sec
Definition: SickLocColaTelegramSrvResponse.h:49
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::SickLocColaTelegramSrvResponse_::cola_ascii_response
_cola_ascii_response_type cola_ascii_response
Definition: SickLocColaTelegramSrvResponse.h:46
roswrap::message_traits::Definition< ::sick_scan_xd::SickLocColaTelegramSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocColaTelegramSrvResponse.h:172
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
roswrap::message_traits::Definition< ::sick_scan_xd::SickLocColaTelegramSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocColaTelegramSrvResponse_< ContainerAllocator > &)
Definition: SickLocColaTelegramSrvResponse.h:188
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::SickLocColaTelegramSrvResponse_
Definition: SickLocColaTelegramSrvResponse.h:23
const
#define const
Definition: getopt.c:38
sick_scan_xd::SickLocColaTelegramSrvResponseConstPtr
std::shared_ptr< ::sick_scan_xd::SickLocColaTelegramSrvResponse const > SickLocColaTelegramSrvResponseConstPtr
Definition: SickLocColaTelegramSrvResponse.h:72
s
XmlRpcServer s
sick_scan_xd::SickLocColaTelegramSrvResponse_::_cola_ascii_response_type
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _cola_ascii_response_type
Definition: SickLocColaTelegramSrvResponse.h:45
sick_scan_xd::SickLocColaTelegramSrvResponse_::ConstPtr
std::shared_ptr< ::sick_scan_xd::SickLocColaTelegramSrvResponse_< ContainerAllocator > const > ConstPtr
Definition: SickLocColaTelegramSrvResponse.h:65
sick_scan_xd::SickLocColaTelegramSrvResponse
::sick_scan_xd::SickLocColaTelegramSrvResponse_< std::allocator< void > > SickLocColaTelegramSrvResponse
Definition: SickLocColaTelegramSrvResponse.h:69
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::SickLocColaTelegramSrvResponsePtr
std::shared_ptr< ::sick_scan_xd::SickLocColaTelegramSrvResponse > SickLocColaTelegramSrvResponsePtr
Definition: SickLocColaTelegramSrvResponse.h:71
sick_scan_xd::SickLocColaTelegramSrvResponse_::_receive_timestamp_sec_type
uint32_t _receive_timestamp_sec_type
Definition: SickLocColaTelegramSrvResponse.h:54
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_traits::MD5Sum< ::sick_scan_xd::SickLocColaTelegramSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocColaTelegramSrvResponse.h:148
sick_scan_xd::SickLocColaTelegramSrvResponse_::Type
SickLocColaTelegramSrvResponse_< ContainerAllocator > Type
Definition: SickLocColaTelegramSrvResponse.h:25
sick_scan_xd::SickLocColaTelegramSrvResponse_::_send_timestamp_sec_type
uint32_t _send_timestamp_sec_type
Definition: SickLocColaTelegramSrvResponse.h:48
roswrap::message_traits::DataType< ::sick_scan_xd::SickLocColaTelegramSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocColaTelegramSrvResponse_< ContainerAllocator > &)
Definition: SickLocColaTelegramSrvResponse.h:166
sick_scan_xd::SickLocColaTelegramSrvResponse_::receive_timestamp_sec
_receive_timestamp_sec_type receive_timestamp_sec
Definition: SickLocColaTelegramSrvResponse.h:55
sick_scan_xd::SickLocColaTelegramSrvResponse_::receive_timestamp_nsec
_receive_timestamp_nsec_type receive_timestamp_nsec
Definition: SickLocColaTelegramSrvResponse.h:58
roswrap::serialization::Serializer< ::sick_scan_xd::SickLocColaTelegramSrvResponse_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: SickLocColaTelegramSrvResponse.h:201
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickLocColaTelegramSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocColaTelegramSrvResponse_< ContainerAllocator > &)
Definition: SickLocColaTelegramSrvResponse.h:153
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
sick_scan_xd::SickLocColaTelegramSrvResponse_::SickLocColaTelegramSrvResponse_
SickLocColaTelegramSrvResponse_()
Definition: SickLocColaTelegramSrvResponse.h:27
roswrap::message_operations::Printer< ::sick_scan_xd::SickLocColaTelegramSrvResponse_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::SickLocColaTelegramSrvResponse_< ContainerAllocator > &v)
Definition: SickLocColaTelegramSrvResponse.h:224
sick_scan_xd::SickLocColaTelegramSrvResponse_::SickLocColaTelegramSrvResponse_
SickLocColaTelegramSrvResponse_(const ContainerAllocator &_alloc)
Definition: SickLocColaTelegramSrvResponse.h:34
sick_scan_xd::SickLocColaTelegramSrvResponse_::_receive_timestamp_nsec_type
uint32_t _receive_timestamp_nsec_type
Definition: SickLocColaTelegramSrvResponse.h:57
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
sick_scan_xd::SickLocColaTelegramSrvResponse_::send_timestamp_nsec
_send_timestamp_nsec_type send_timestamp_nsec
Definition: SickLocColaTelegramSrvResponse.h:52
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
roswrap::message_traits::DataType< ::sick_scan_xd::SickLocColaTelegramSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocColaTelegramSrvResponse.h:161
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::SickLocColaTelegramSrvResponse_::Ptr
std::shared_ptr< ::sick_scan_xd::SickLocColaTelegramSrvResponse_< ContainerAllocator > > Ptr
Definition: SickLocColaTelegramSrvResponse.h:64
sick_scan_xd::SickLocColaTelegramSrvResponse_::_send_timestamp_nsec_type
uint32_t _send_timestamp_nsec_type
Definition: SickLocColaTelegramSrvResponse.h:51


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