SickLocRequestTimestampSrvResponse.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/SickLocRequestTimestampSrvResponse.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SICK_SCAN_MESSAGE_SICKLOCREQUESTTIMESTAMPSRVRESPONSE_H
7 #define SICK_SCAN_MESSAGE_SICKLOCREQUESTTIMESTAMPSRVRESPONSE_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 
30  , delta_time_ms(0)
35  }
36  SickLocRequestTimestampSrvResponse_(const ContainerAllocator& _alloc)
39  , delta_time_ms(0)
44  (void)_alloc;
45  }
46 
47 
48 
49  typedef uint32_t _timestamp_lidar_ms_type;
51 
52  typedef uint64_t _mean_time_vehicle_ms_type;
54 
55  typedef uint64_t _delta_time_ms_type;
57 
58  typedef uint32_t _send_time_vehicle_sec_type;
60 
61  typedef uint32_t _send_time_vehicle_nsec_type;
63 
66 
69 
70 
71 
72 
73 
74  typedef std::shared_ptr< ::sick_scan_xd::SickLocRequestTimestampSrvResponse_<ContainerAllocator> > Ptr;
75  typedef std::shared_ptr< ::sick_scan_xd::SickLocRequestTimestampSrvResponse_<ContainerAllocator> const> ConstPtr;
76 
77 }; // struct SickLocRequestTimestampSrvResponse_
78 
79 typedef ::sick_scan_xd::SickLocRequestTimestampSrvResponse_<std::allocator<void> > SickLocRequestTimestampSrvResponse;
80 
81 typedef std::shared_ptr< ::sick_scan_xd::SickLocRequestTimestampSrvResponse > SickLocRequestTimestampSrvResponsePtr;
82 typedef std::shared_ptr< ::sick_scan_xd::SickLocRequestTimestampSrvResponse const> SickLocRequestTimestampSrvResponseConstPtr;
83 
84 // constants requiring out of line definition
85 
86 
87 
88 template<typename ContainerAllocator>
89 std::ostream& operator<<(std::ostream& s, const ::sick_scan_xd::SickLocRequestTimestampSrvResponse_<ContainerAllocator> & v)
90 {
92 return s;
93 }
94 
95 
96 template<typename ContainerAllocator1, typename ContainerAllocator2>
97 bool operator==(const ::sick_scan_xd::SickLocRequestTimestampSrvResponse_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocRequestTimestampSrvResponse_<ContainerAllocator2> & rhs)
98 {
99  return lhs.timestamp_lidar_ms == rhs.timestamp_lidar_ms &&
100  lhs.mean_time_vehicle_ms == rhs.mean_time_vehicle_ms &&
101  lhs.delta_time_ms == rhs.delta_time_ms &&
102  lhs.send_time_vehicle_sec == rhs.send_time_vehicle_sec &&
103  lhs.send_time_vehicle_nsec == rhs.send_time_vehicle_nsec &&
104  lhs.receive_time_vehicle_sec == rhs.receive_time_vehicle_sec &&
105  lhs.receive_time_vehicle_nsec == rhs.receive_time_vehicle_nsec;
106 }
107 
108 template<typename ContainerAllocator1, typename ContainerAllocator2>
109 bool operator!=(const ::sick_scan_xd::SickLocRequestTimestampSrvResponse_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocRequestTimestampSrvResponse_<ContainerAllocator2> & rhs)
110 {
111  return !(lhs == rhs);
112 }
113 
114 
115 } // namespace sick_scan_xd
116 
117 namespace roswrap
118 {
119 namespace message_traits
120 {
121 
122 
123 
124 
125 
126 template <class ContainerAllocator>
128  : TrueType
129  { };
130 
131 template <class ContainerAllocator>
133  : TrueType
134  { };
135 
136 template <class ContainerAllocator>
138  : TrueType
139  { };
140 
141 template <class ContainerAllocator>
143  : TrueType
144  { };
145 
146 template <class ContainerAllocator>
148  : FalseType
149  { };
150 
151 template <class ContainerAllocator>
153  : FalseType
154  { };
155 
156 
157 template<class ContainerAllocator>
159 {
160  static const char* value()
161  {
162  return "ae8b1571bf8be63e0bdad9873d14be2b";
163  }
164 
165  static const char* value(const ::sick_scan_xd::SickLocRequestTimestampSrvResponse_<ContainerAllocator>&) { return value(); }
166  static const uint64_t static_value1 = 0xae8b1571bf8be63eULL;
167  static const uint64_t static_value2 = 0x0bdad9873d14be2bULL;
168 };
169 
170 template<class ContainerAllocator>
172 {
173  static const char* value()
174  {
175  return "sick_scan/SickLocRequestTimestampSrvResponse";
176  }
177 
178  static const char* value(const ::sick_scan_xd::SickLocRequestTimestampSrvResponse_<ContainerAllocator>&) { return value(); }
179 };
180 
181 template<class ContainerAllocator>
183 {
184  static const char* value()
185  {
186  return "\n"
187 "#\n"
188 "# Response (output)\n"
189 "#\n"
190 "\n"
191 "uint32 timestamp_lidar_ms # Lidar timestamp in milliseconds from LocRequestTimestamp response\n"
192 "uint64 mean_time_vehicle_ms # Vehicle mean timestamp in milliseconds: (send_time_vehicle + receive_time_vehicle) / 2\n"
193 "uint64 delta_time_ms # Time offset: mean_time_vehicle_ms - timestamp_lidar_ms\n"
194 "\n"
195 "uint32 send_time_vehicle_sec # Vehicle timestamp when sending LocRequestTimestamp (seconds part of ros timestamp immediately before tcp send)\n"
196 "uint32 send_time_vehicle_nsec # Vehicle timestamp when sending LocRequestTimestamp (nano seconds part of ros timestamp immediately before tcp send)\n"
197 "uint32 receive_time_vehicle_sec # Vehicle timestamp when receiving the LocRequestTimestamp response (seconds part of ros timestamp immediately after first response byte received)\n"
198 "uint32 receive_time_vehicle_nsec # Vehicle timestamp when receiving the LocRequestTimestamp response (nano seconds part of ros timestamp immediately after first response byte received)\n"
199 "\n"
200 ;
201  }
202 
203  static const char* value(const ::sick_scan_xd::SickLocRequestTimestampSrvResponse_<ContainerAllocator>&) { return value(); }
204 };
205 
206 } // namespace message_traits
207 } // namespace roswrap
208 
209 namespace roswrap
210 {
211 namespace serialization
212 {
213 
214  template<class ContainerAllocator> struct Serializer< ::sick_scan_xd::SickLocRequestTimestampSrvResponse_<ContainerAllocator> >
215  {
216  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
217  {
218  stream.next(m.timestamp_lidar_ms);
219  stream.next(m.mean_time_vehicle_ms);
220  stream.next(m.delta_time_ms);
221  stream.next(m.send_time_vehicle_sec);
222  stream.next(m.send_time_vehicle_nsec);
223  stream.next(m.receive_time_vehicle_sec);
224  stream.next(m.receive_time_vehicle_nsec);
225  }
226 
228  }; // struct SickLocRequestTimestampSrvResponse_
229 
230 } // namespace serialization
231 } // namespace roswrap
232 
233 namespace roswrap
234 {
235 namespace message_operations
236 {
237 
238 template<class ContainerAllocator>
240 {
241  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sick_scan_xd::SickLocRequestTimestampSrvResponse_<ContainerAllocator>& v)
242  {
243  s << indent << "timestamp_lidar_ms: ";
244  Printer<uint32_t>::stream(s, indent + " ", v.timestamp_lidar_ms);
245  s << indent << "mean_time_vehicle_ms: ";
246  Printer<uint64_t>::stream(s, indent + " ", v.mean_time_vehicle_ms);
247  s << indent << "delta_time_ms: ";
248  Printer<uint64_t>::stream(s, indent + " ", v.delta_time_ms);
249  s << indent << "send_time_vehicle_sec: ";
250  Printer<uint32_t>::stream(s, indent + " ", v.send_time_vehicle_sec);
251  s << indent << "send_time_vehicle_nsec: ";
252  Printer<uint32_t>::stream(s, indent + " ", v.send_time_vehicle_nsec);
253  s << indent << "receive_time_vehicle_sec: ";
254  Printer<uint32_t>::stream(s, indent + " ", v.receive_time_vehicle_sec);
255  s << indent << "receive_time_vehicle_nsec: ";
256  Printer<uint32_t>::stream(s, indent + " ", v.receive_time_vehicle_nsec);
257  }
258 };
259 
260 } // namespace message_operations
261 } // namespace roswrap
262 
263 #endif // SICK_SCAN_MESSAGE_SICKLOCREQUESTTIMESTAMPSRVRESPONSE_H
roswrap::message_traits::Definition< ::sick_scan_xd::SickLocRequestTimestampSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocRequestTimestampSrvResponse_< ContainerAllocator > &)
Definition: SickLocRequestTimestampSrvResponse.h:203
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::SickLocRequestTimestampSrvResponse_::ConstPtr
std::shared_ptr< ::sick_scan_xd::SickLocRequestTimestampSrvResponse_< ContainerAllocator > const > ConstPtr
Definition: SickLocRequestTimestampSrvResponse.h:75
roswrap::message_traits::DataType< ::sick_scan_xd::SickLocRequestTimestampSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocRequestTimestampSrvResponse_< ContainerAllocator > &)
Definition: SickLocRequestTimestampSrvResponse.h:178
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::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::SickLocRequestTimestampSrvResponse_::mean_time_vehicle_ms
_mean_time_vehicle_ms_type mean_time_vehicle_ms
Definition: SickLocRequestTimestampSrvResponse.h:53
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
sick_scan_xd::SickLocRequestTimestampSrvResponsePtr
std::shared_ptr< ::sick_scan_xd::SickLocRequestTimestampSrvResponse > SickLocRequestTimestampSrvResponsePtr
Definition: SickLocRequestTimestampSrvResponse.h:81
roswrap::message_operations::Printer< ::sick_scan_xd::SickLocRequestTimestampSrvResponse_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::SickLocRequestTimestampSrvResponse_< ContainerAllocator > &v)
Definition: SickLocRequestTimestampSrvResponse.h:241
sick_scan_xd::SickLocRequestTimestampSrvResponse_::Ptr
std::shared_ptr< ::sick_scan_xd::SickLocRequestTimestampSrvResponse_< ContainerAllocator > > Ptr
Definition: SickLocRequestTimestampSrvResponse.h:74
sick_scan_xd::SickLocRequestTimestampSrvResponse_::send_time_vehicle_sec
_send_time_vehicle_sec_type send_time_vehicle_sec
Definition: SickLocRequestTimestampSrvResponse.h:59
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
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
sick_scan_xd::SickLocRequestTimestampSrvResponse_::_receive_time_vehicle_nsec_type
uint32_t _receive_time_vehicle_nsec_type
Definition: SickLocRequestTimestampSrvResponse.h:67
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
sick_scan_xd::SickLocRequestTimestampSrvResponse_::receive_time_vehicle_sec
_receive_time_vehicle_sec_type receive_time_vehicle_sec
Definition: SickLocRequestTimestampSrvResponse.h:65
sick_scan_xd::SickLocRequestTimestampSrvResponse_::_delta_time_ms_type
uint64_t _delta_time_ms_type
Definition: SickLocRequestTimestampSrvResponse.h:55
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
sick_scan_xd::SickLocRequestTimestampSrvResponse_
Definition: SickLocRequestTimestampSrvResponse.h:23
sick_scan_xd::SickLocRequestTimestampSrvResponse_::_send_time_vehicle_sec_type
uint32_t _send_time_vehicle_sec_type
Definition: SickLocRequestTimestampSrvResponse.h:58
sick_scan_xd::SickLocRequestTimestampSrvResponse_::_receive_time_vehicle_sec_type
uint32_t _receive_time_vehicle_sec_type
Definition: SickLocRequestTimestampSrvResponse.h:64
sick_scan_xd::SickLocRequestTimestampSrvResponseConstPtr
std::shared_ptr< ::sick_scan_xd::SickLocRequestTimestampSrvResponse const > SickLocRequestTimestampSrvResponseConstPtr
Definition: SickLocRequestTimestampSrvResponse.h:82
roswrap
Definition: param_modi.cpp:41
sick_scan_xd::SickLocRequestTimestampSrvResponse_::_send_time_vehicle_nsec_type
uint32_t _send_time_vehicle_nsec_type
Definition: SickLocRequestTimestampSrvResponse.h:61
roswrap::message_operations::Printer
Definition: message_operations.h:40
sick_scan_xd::SickLocRequestTimestampSrvResponse_::Type
SickLocRequestTimestampSrvResponse_< ContainerAllocator > Type
Definition: SickLocRequestTimestampSrvResponse.h:25
sick_scan_xd::SickLocRequestTimestampSrvResponse_::_timestamp_lidar_ms_type
uint32_t _timestamp_lidar_ms_type
Definition: SickLocRequestTimestampSrvResponse.h:49
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::SickLocRequestTimestampSrvResponse_::delta_time_ms
_delta_time_ms_type delta_time_ms
Definition: SickLocRequestTimestampSrvResponse.h:56
sick_scan_xd::SickLocRequestTimestampSrvResponse_::SickLocRequestTimestampSrvResponse_
SickLocRequestTimestampSrvResponse_()
Definition: SickLocRequestTimestampSrvResponse.h:27
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickLocRequestTimestampSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocRequestTimestampSrvResponse_< ContainerAllocator > &)
Definition: SickLocRequestTimestampSrvResponse.h:165
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::SickLocRequestTimestampSrvResponse_::receive_time_vehicle_nsec
_receive_time_vehicle_nsec_type receive_time_vehicle_nsec
Definition: SickLocRequestTimestampSrvResponse.h:68
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
sick_scan_xd::SickLocRequestTimestampSrvResponse_::send_time_vehicle_nsec
_send_time_vehicle_nsec_type send_time_vehicle_nsec
Definition: SickLocRequestTimestampSrvResponse.h:62
roswrap::serialization::Serializer< ::sick_scan_xd::SickLocRequestTimestampSrvResponse_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: SickLocRequestTimestampSrvResponse.h:216
sick_scan_xd::SickLocRequestTimestampSrvResponse_::_mean_time_vehicle_ms_type
uint64_t _mean_time_vehicle_ms_type
Definition: SickLocRequestTimestampSrvResponse.h:52
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickLocRequestTimestampSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocRequestTimestampSrvResponse.h:160
roswrap::message_traits::Definition< ::sick_scan_xd::SickLocRequestTimestampSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocRequestTimestampSrvResponse.h:184
roswrap::message_traits::DataType< ::sick_scan_xd::SickLocRequestTimestampSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocRequestTimestampSrvResponse.h:173
sick_scan_xd::SickLocRequestTimestampSrvResponse_::timestamp_lidar_ms
_timestamp_lidar_ms_type timestamp_lidar_ms
Definition: SickLocRequestTimestampSrvResponse.h:50
sick_scan_xd::SickLocRequestTimestampSrvResponse_::SickLocRequestTimestampSrvResponse_
SickLocRequestTimestampSrvResponse_(const ContainerAllocator &_alloc)
Definition: SickLocRequestTimestampSrvResponse.h:36
sick_scan_xd::SickLocRequestTimestampSrvResponse
::sick_scan_xd::SickLocRequestTimestampSrvResponse_< std::allocator< void > > SickLocRequestTimestampSrvResponse
Definition: SickLocRequestTimestampSrvResponse.h:79


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