SickLocResultModeSrvResponse.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/SickLocResultModeSrvResponse.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SICK_SCAN_MESSAGE_SICKLOCRESULTMODESRVRESPONSE_H
7 #define SICK_SCAN_MESSAGE_SICKLOCRESULTMODESRVRESPONSE_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  : mode(0)
29  , success(false) {
30  }
31  SickLocResultModeSrvResponse_(const ContainerAllocator& _alloc)
32  : mode(0)
33  , success(false) {
34  (void)_alloc;
35  }
36 
37 
38 
39  typedef int32_t _mode_type;
41 
42  typedef uint8_t _success_type;
44 
45 
46 
47 
48 
49  typedef std::shared_ptr< ::sick_scan_xd::SickLocResultModeSrvResponse_<ContainerAllocator> > Ptr;
50  typedef std::shared_ptr< ::sick_scan_xd::SickLocResultModeSrvResponse_<ContainerAllocator> const> ConstPtr;
51 
52 }; // struct SickLocResultModeSrvResponse_
53 
54 typedef ::sick_scan_xd::SickLocResultModeSrvResponse_<std::allocator<void> > SickLocResultModeSrvResponse;
55 
56 typedef std::shared_ptr< ::sick_scan_xd::SickLocResultModeSrvResponse > SickLocResultModeSrvResponsePtr;
57 typedef std::shared_ptr< ::sick_scan_xd::SickLocResultModeSrvResponse const> SickLocResultModeSrvResponseConstPtr;
58 
59 // constants requiring out of line definition
60 
61 
62 
63 template<typename ContainerAllocator>
64 std::ostream& operator<<(std::ostream& s, const ::sick_scan_xd::SickLocResultModeSrvResponse_<ContainerAllocator> & v)
65 {
67 return s;
68 }
69 
70 
71 template<typename ContainerAllocator1, typename ContainerAllocator2>
72 bool operator==(const ::sick_scan_xd::SickLocResultModeSrvResponse_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocResultModeSrvResponse_<ContainerAllocator2> & rhs)
73 {
74  return lhs.mode == rhs.mode &&
75  lhs.success == rhs.success;
76 }
77 
78 template<typename ContainerAllocator1, typename ContainerAllocator2>
79 bool operator!=(const ::sick_scan_xd::SickLocResultModeSrvResponse_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocResultModeSrvResponse_<ContainerAllocator2> & rhs)
80 {
81  return !(lhs == rhs);
82 }
83 
84 
85 } // namespace sick_scan_xd
86 
87 namespace roswrap
88 {
89 namespace message_traits
90 {
91 
92 
93 
94 
95 
96 template <class ContainerAllocator>
98  : TrueType
99  { };
100 
101 template <class ContainerAllocator>
103  : TrueType
104  { };
105 
106 template <class ContainerAllocator>
108  : TrueType
109  { };
110 
111 template <class ContainerAllocator>
113  : TrueType
114  { };
115 
116 template <class ContainerAllocator>
118  : FalseType
119  { };
120 
121 template <class ContainerAllocator>
123  : FalseType
124  { };
125 
126 
127 template<class ContainerAllocator>
129 {
130  static const char* value()
131  {
132  return "2f5955347ceb3a6a079af7cb70bb2354";
133  }
134 
135  static const char* value(const ::sick_scan_xd::SickLocResultModeSrvResponse_<ContainerAllocator>&) { return value(); }
136  static const uint64_t static_value1 = 0x2f5955347ceb3a6aULL;
137  static const uint64_t static_value2 = 0x079af7cb70bb2354ULL;
138 };
139 
140 template<class ContainerAllocator>
142 {
143  static const char* value()
144  {
145  return "sick_scan/SickLocResultModeSrvResponse";
146  }
147 
148  static const char* value(const ::sick_scan_xd::SickLocResultModeSrvResponse_<ContainerAllocator>&) { return value(); }
149 };
150 
151 template<class ContainerAllocator>
153 {
154  static const char* value()
155  {
156  return "\n"
157 "# \n"
158 "# Response (output)\n"
159 "# \n"
160 "\n"
161 "int32 mode # The current result mode. 0 STREAM (default), 1 POLL\n"
162 "bool success # true: success response received from localization controller, false: service failed (timeout or error status from controller)\n"
163 "\n"
164 ;
165  }
166 
167  static const char* value(const ::sick_scan_xd::SickLocResultModeSrvResponse_<ContainerAllocator>&) { return value(); }
168 };
169 
170 } // namespace message_traits
171 } // namespace roswrap
172 
173 namespace roswrap
174 {
175 namespace serialization
176 {
177 
178  template<class ContainerAllocator> struct Serializer< ::sick_scan_xd::SickLocResultModeSrvResponse_<ContainerAllocator> >
179  {
180  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
181  {
182  stream.next(m.mode);
183  stream.next(m.success);
184  }
185 
187  }; // struct SickLocResultModeSrvResponse_
188 
189 } // namespace serialization
190 } // namespace roswrap
191 
192 namespace roswrap
193 {
194 namespace message_operations
195 {
196 
197 template<class ContainerAllocator>
199 {
200  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sick_scan_xd::SickLocResultModeSrvResponse_<ContainerAllocator>& v)
201  {
202  s << indent << "mode: ";
203  Printer<int32_t>::stream(s, indent + " ", v.mode);
204  s << indent << "success: ";
205  Printer<uint8_t>::stream(s, indent + " ", v.success);
206  }
207 };
208 
209 } // namespace message_operations
210 } // namespace roswrap
211 
212 #endif // SICK_SCAN_MESSAGE_SICKLOCRESULTMODESRVRESPONSE_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
roswrap::message_traits::Definition< ::sick_scan_xd::SickLocResultModeSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocResultModeSrvResponse.h:154
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
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickLocResultModeSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocResultModeSrvResponse.h:130
sick_scan_xd::SickLocResultModeSrvResponse_::success
_success_type success
Definition: SickLocResultModeSrvResponse.h:43
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
roswrap::message_traits::DataType< ::sick_scan_xd::SickLocResultModeSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocResultModeSrvResponse_< ContainerAllocator > &)
Definition: SickLocResultModeSrvResponse.h:148
sick_scan_xd::SickLocResultModeSrvResponse_::_success_type
uint8_t _success_type
Definition: SickLocResultModeSrvResponse.h:42
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::SickLocResultModeSrvResponse_
Definition: SickLocResultModeSrvResponse.h:23
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
sick_scan_xd::SickLocResultModeSrvResponse_::_mode_type
int32_t _mode_type
Definition: SickLocResultModeSrvResponse.h:39
roswrap::serialization::Serializer< ::sick_scan_xd::SickLocResultModeSrvResponse_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: SickLocResultModeSrvResponse.h:180
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickLocResultModeSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocResultModeSrvResponse_< ContainerAllocator > &)
Definition: SickLocResultModeSrvResponse.h:135
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
roswrap::message_traits::DataType< ::sick_scan_xd::SickLocResultModeSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocResultModeSrvResponse.h:143
sick_scan_xd::SickLocResultModeSrvResponse_::Ptr
std::shared_ptr< ::sick_scan_xd::SickLocResultModeSrvResponse_< ContainerAllocator > > Ptr
Definition: SickLocResultModeSrvResponse.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::SickLocResultModeSrvResponse_::SickLocResultModeSrvResponse_
SickLocResultModeSrvResponse_(const ContainerAllocator &_alloc)
Definition: SickLocResultModeSrvResponse.h:31
sick_scan_xd::SickLocResultModeSrvResponse_::Type
SickLocResultModeSrvResponse_< ContainerAllocator > Type
Definition: SickLocResultModeSrvResponse.h:25
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
sick_scan_xd::SickLocResultModeSrvResponseConstPtr
std::shared_ptr< ::sick_scan_xd::SickLocResultModeSrvResponse const > SickLocResultModeSrvResponseConstPtr
Definition: SickLocResultModeSrvResponse.h:57
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::SickLocResultModeSrvResponse_::mode
_mode_type mode
Definition: SickLocResultModeSrvResponse.h:40
sick_scan_base.h
sick_scan_xd::SickLocResultModeSrvResponse_::ConstPtr
std::shared_ptr< ::sick_scan_xd::SickLocResultModeSrvResponse_< ContainerAllocator > const > ConstPtr
Definition: SickLocResultModeSrvResponse.h:50
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
sick_scan_xd::SickLocResultModeSrvResponsePtr
std::shared_ptr< ::sick_scan_xd::SickLocResultModeSrvResponse > SickLocResultModeSrvResponsePtr
Definition: SickLocResultModeSrvResponse.h:56
sick_scan_xd::SickLocResultModeSrvResponse_::SickLocResultModeSrvResponse_
SickLocResultModeSrvResponse_()
Definition: SickLocResultModeSrvResponse.h:27
roswrap::message_traits::Definition< ::sick_scan_xd::SickLocResultModeSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocResultModeSrvResponse_< ContainerAllocator > &)
Definition: SickLocResultModeSrvResponse.h:167
sick_scan_xd::SickLocResultModeSrvResponse
::sick_scan_xd::SickLocResultModeSrvResponse_< std::allocator< void > > SickLocResultModeSrvResponse
Definition: SickLocResultModeSrvResponse.h:54
roswrap::message_operations::Printer< ::sick_scan_xd::SickLocResultModeSrvResponse_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::SickLocResultModeSrvResponse_< ContainerAllocator > &v)
Definition: SickLocResultModeSrvResponse.h:200


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