SickLocTimeSyncSrvResponse.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/SickLocTimeSyncSrvResponse.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SICK_SCAN_MESSAGE_SICKLOCTIMESYNCSRVRESPONSE_H
7 #define SICK_SCAN_MESSAGE_SICKLOCTIMESYNCSRVRESPONSE_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 
28  : vehicle_time_valid(false)
29  , vehicle_time_sec(0)
30  , vehicle_time_nsec(0) {
31  }
32  SickLocTimeSyncSrvResponse_(const ContainerAllocator& _alloc)
33  : vehicle_time_valid(false)
34  , vehicle_time_sec(0)
35  , vehicle_time_nsec(0) {
36  (void)_alloc;
37  }
38 
39 
40 
41  typedef uint8_t _vehicle_time_valid_type;
43 
44  typedef uint32_t _vehicle_time_sec_type;
46 
47  typedef uint32_t _vehicle_time_nsec_type;
49 
50 
51 
52 
53 
54  typedef std::shared_ptr< ::sick_scan_xd::SickLocTimeSyncSrvResponse_<ContainerAllocator> > Ptr;
55  typedef std::shared_ptr< ::sick_scan_xd::SickLocTimeSyncSrvResponse_<ContainerAllocator> const> ConstPtr;
56 
57 }; // struct SickLocTimeSyncSrvResponse_
58 
59 typedef ::sick_scan_xd::SickLocTimeSyncSrvResponse_<std::allocator<void> > SickLocTimeSyncSrvResponse;
60 
61 typedef std::shared_ptr< ::sick_scan_xd::SickLocTimeSyncSrvResponse > SickLocTimeSyncSrvResponsePtr;
62 typedef std::shared_ptr< ::sick_scan_xd::SickLocTimeSyncSrvResponse const> SickLocTimeSyncSrvResponseConstPtr;
63 
64 // constants requiring out of line definition
65 
66 
67 
68 template<typename ContainerAllocator>
69 std::ostream& operator<<(std::ostream& s, const ::sick_scan_xd::SickLocTimeSyncSrvResponse_<ContainerAllocator> & v)
70 {
72 return s;
73 }
74 
75 
76 template<typename ContainerAllocator1, typename ContainerAllocator2>
77 bool operator==(const ::sick_scan_xd::SickLocTimeSyncSrvResponse_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocTimeSyncSrvResponse_<ContainerAllocator2> & rhs)
78 {
79  return lhs.vehicle_time_valid == rhs.vehicle_time_valid &&
80  lhs.vehicle_time_sec == rhs.vehicle_time_sec &&
81  lhs.vehicle_time_nsec == rhs.vehicle_time_nsec;
82 }
83 
84 template<typename ContainerAllocator1, typename ContainerAllocator2>
85 bool operator!=(const ::sick_scan_xd::SickLocTimeSyncSrvResponse_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocTimeSyncSrvResponse_<ContainerAllocator2> & rhs)
86 {
87  return !(lhs == rhs);
88 }
89 
90 
91 } // namespace sick_scan_xd
92 
93 namespace roswrap
94 {
95 namespace message_traits
96 {
97 
98 
99 
100 
101 
102 template <class ContainerAllocator>
104  : TrueType
105  { };
106 
107 template <class ContainerAllocator>
109  : TrueType
110  { };
111 
112 template <class ContainerAllocator>
114  : TrueType
115  { };
116 
117 template <class ContainerAllocator>
119  : TrueType
120  { };
121 
122 template <class ContainerAllocator>
124  : FalseType
125  { };
126 
127 template <class ContainerAllocator>
129  : FalseType
130  { };
131 
132 
133 template<class ContainerAllocator>
134 struct MD5Sum< ::sick_scan_xd::SickLocTimeSyncSrvResponse_<ContainerAllocator> >
135 {
136  static const char* value()
137  {
138  return "cf6450e0c6b2fb33be19dfbfcc6f9815";
139  }
140 
141  static const char* value(const ::sick_scan_xd::SickLocTimeSyncSrvResponse_<ContainerAllocator>&) { return value(); }
142  static const uint64_t static_value1 = 0xcf6450e0c6b2fb33ULL;
143  static const uint64_t static_value2 = 0xbe19dfbfcc6f9815ULL;
144 };
145 
146 template<class ContainerAllocator>
148 {
149  static const char* value()
150  {
151  return "sick_scan/SickLocTimeSyncSrvResponse";
152  }
153 
154  static const char* value(const ::sick_scan_xd::SickLocTimeSyncSrvResponse_<ContainerAllocator>&) { return value(); }
155 };
156 
157 template<class ContainerAllocator>
159 {
160  static const char* value()
161  {
162  return "\n"
163 "#\n"
164 "# Response (output): System time calculated by software pll\n"
165 "#\n"
166 "\n"
167 "bool vehicle_time_valid # true: vehicle_time_sec and vehicle_time_nsec valid, false: software pll still in initial phase\n"
168 "uint32 vehicle_time_sec # Time of vehicles pose calculated by software pll (seconds part of the system time)\n"
169 "uint32 vehicle_time_nsec # Time of vehicles pose calculated by software pll (nano seconds part of the system time)\n"
170 "\n"
171 ;
172  }
173 
174  static const char* value(const ::sick_scan_xd::SickLocTimeSyncSrvResponse_<ContainerAllocator>&) { return value(); }
175 };
176 
177 } // namespace message_traits
178 } // namespace roswrap
179 
180 namespace roswrap
181 {
182 namespace serialization
183 {
184 
185  template<class ContainerAllocator> struct Serializer< ::sick_scan_xd::SickLocTimeSyncSrvResponse_<ContainerAllocator> >
186  {
187  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
188  {
189  stream.next(m.vehicle_time_valid);
190  stream.next(m.vehicle_time_sec);
191  stream.next(m.vehicle_time_nsec);
192  }
193 
195  }; // struct SickLocTimeSyncSrvResponse_
196 
197 } // namespace serialization
198 } // namespace roswrap
199 
200 namespace roswrap
201 {
202 namespace message_operations
203 {
204 
205 template<class ContainerAllocator>
206 struct Printer< ::sick_scan_xd::SickLocTimeSyncSrvResponse_<ContainerAllocator> >
207 {
208  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sick_scan_xd::SickLocTimeSyncSrvResponse_<ContainerAllocator>& v)
209  {
210  s << indent << "vehicle_time_valid: ";
211  Printer<uint8_t>::stream(s, indent + " ", v.vehicle_time_valid);
212  s << indent << "vehicle_time_sec: ";
213  Printer<uint32_t>::stream(s, indent + " ", v.vehicle_time_sec);
214  s << indent << "vehicle_time_nsec: ";
215  Printer<uint32_t>::stream(s, indent + " ", v.vehicle_time_nsec);
216  }
217 };
218 
219 } // namespace message_operations
220 } // namespace roswrap
221 
222 #endif // SICK_SCAN_MESSAGE_SICKLOCTIMESYNCSRVRESPONSE_H
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
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
sick_scan_xd::SickLocTimeSyncSrvResponse_::vehicle_time_sec
_vehicle_time_sec_type vehicle_time_sec
Definition: SickLocTimeSyncSrvResponse.h:45
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::SickLocTimeSyncSrvResponse_::_vehicle_time_nsec_type
uint32_t _vehicle_time_nsec_type
Definition: SickLocTimeSyncSrvResponse.h:47
sick_scan_xd::SickLocTimeSyncSrvResponse_::Ptr
std::shared_ptr< ::sick_scan_xd::SickLocTimeSyncSrvResponse_< ContainerAllocator > > Ptr
Definition: SickLocTimeSyncSrvResponse.h:54
const
#define const
Definition: getopt.c:38
sick_scan_xd::SickLocTimeSyncSrvResponse_::vehicle_time_valid
_vehicle_time_valid_type vehicle_time_valid
Definition: SickLocTimeSyncSrvResponse.h:42
s
XmlRpcServer s
sick_scan_xd::SickLocTimeSyncSrvResponse_::_vehicle_time_valid_type
uint8_t _vehicle_time_valid_type
Definition: SickLocTimeSyncSrvResponse.h:41
sick_scan_xd::SickLocTimeSyncSrvResponse_::ConstPtr
std::shared_ptr< ::sick_scan_xd::SickLocTimeSyncSrvResponse_< ContainerAllocator > const > ConstPtr
Definition: SickLocTimeSyncSrvResponse.h:55
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickLocTimeSyncSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocTimeSyncSrvResponse.h:136
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
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::SickLocTimeSyncSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocTimeSyncSrvResponse_< ContainerAllocator > &)
Definition: SickLocTimeSyncSrvResponse.h:141
sick_scan_xd::SickLocTimeSyncSrvResponse_::SickLocTimeSyncSrvResponse_
SickLocTimeSyncSrvResponse_()
Definition: SickLocTimeSyncSrvResponse.h:27
sick_scan_xd::SickLocTimeSyncSrvResponse_
Definition: SickLocTimeSyncSrvResponse.h:23
roswrap::message_traits::DataType< ::sick_scan_xd::SickLocTimeSyncSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocTimeSyncSrvResponse.h:149
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
sick_scan_xd::SickLocTimeSyncSrvResponse
::sick_scan_xd::SickLocTimeSyncSrvResponse_< std::allocator< void > > SickLocTimeSyncSrvResponse
Definition: SickLocTimeSyncSrvResponse.h:59
roswrap::message_operations::Printer< ::sick_scan_xd::SickLocTimeSyncSrvResponse_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::SickLocTimeSyncSrvResponse_< ContainerAllocator > &v)
Definition: SickLocTimeSyncSrvResponse.h:208
sick_scan_xd::SickLocTimeSyncSrvResponse_::Type
SickLocTimeSyncSrvResponse_< ContainerAllocator > Type
Definition: SickLocTimeSyncSrvResponse.h:25
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::SickLocTimeSyncSrvResponse_::_vehicle_time_sec_type
uint32_t _vehicle_time_sec_type
Definition: SickLocTimeSyncSrvResponse.h:44
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
sick_scan_xd::SickLocTimeSyncSrvResponseConstPtr
std::shared_ptr< ::sick_scan_xd::SickLocTimeSyncSrvResponse const > SickLocTimeSyncSrvResponseConstPtr
Definition: SickLocTimeSyncSrvResponse.h:62
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::SickLocTimeSyncSrvResponsePtr
std::shared_ptr< ::sick_scan_xd::SickLocTimeSyncSrvResponse > SickLocTimeSyncSrvResponsePtr
Definition: SickLocTimeSyncSrvResponse.h:61
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
sick_scan_xd::SickLocTimeSyncSrvResponse_::vehicle_time_nsec
_vehicle_time_nsec_type vehicle_time_nsec
Definition: SickLocTimeSyncSrvResponse.h:48
roswrap::message_traits::Definition< ::sick_scan_xd::SickLocTimeSyncSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocTimeSyncSrvResponse_< ContainerAllocator > &)
Definition: SickLocTimeSyncSrvResponse.h:174
roswrap::message_traits::DataType< ::sick_scan_xd::SickLocTimeSyncSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocTimeSyncSrvResponse_< ContainerAllocator > &)
Definition: SickLocTimeSyncSrvResponse.h:154
roswrap::serialization::Serializer< ::sick_scan_xd::SickLocTimeSyncSrvResponse_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: SickLocTimeSyncSrvResponse.h:187
roswrap::message_traits::Definition< ::sick_scan_xd::SickLocTimeSyncSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocTimeSyncSrvResponse.h:160
sick_scan_xd::SickLocTimeSyncSrvResponse_::SickLocTimeSyncSrvResponse_
SickLocTimeSyncSrvResponse_(const ContainerAllocator &_alloc)
Definition: SickLocTimeSyncSrvResponse.h:32


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