SickLocStateSrvResponse.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/SickLocStateSrvResponse.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SICK_SCAN_MESSAGE_SICKLOCSTATESRVRESPONSE_H
7 #define SICK_SCAN_MESSAGE_SICKLOCSTATESRVRESPONSE_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  : state(0)
29  , success(false) {
30  }
31  SickLocStateSrvResponse_(const ContainerAllocator& _alloc)
32  : state(0)
33  , success(false) {
34  (void)_alloc;
35  }
36 
37 
38 
39  typedef int32_t _state_type;
41 
42  typedef uint8_t _success_type;
44 
45 
46 
47 
48 
49  typedef std::shared_ptr< ::sick_scan_xd::SickLocStateSrvResponse_<ContainerAllocator> > Ptr;
50  typedef std::shared_ptr< ::sick_scan_xd::SickLocStateSrvResponse_<ContainerAllocator> const> ConstPtr;
51 
52 }; // struct SickLocStateSrvResponse_
53 
54 typedef ::sick_scan_xd::SickLocStateSrvResponse_<std::allocator<void> > SickLocStateSrvResponse;
55 
56 typedef std::shared_ptr< ::sick_scan_xd::SickLocStateSrvResponse > SickLocStateSrvResponsePtr;
57 typedef std::shared_ptr< ::sick_scan_xd::SickLocStateSrvResponse const> SickLocStateSrvResponseConstPtr;
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::SickLocStateSrvResponse_<ContainerAllocator> & v)
65 {
67 return s;
68 }
69 
70 
71 template<typename ContainerAllocator1, typename ContainerAllocator2>
72 bool operator==(const ::sick_scan_xd::SickLocStateSrvResponse_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocStateSrvResponse_<ContainerAllocator2> & rhs)
73 {
74  return lhs.state == rhs.state &&
75  lhs.success == rhs.success;
76 }
77 
78 template<typename ContainerAllocator1, typename ContainerAllocator2>
79 bool operator!=(const ::sick_scan_xd::SickLocStateSrvResponse_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocStateSrvResponse_<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>
97 struct IsFixedSize< ::sick_scan_xd::SickLocStateSrvResponse_<ContainerAllocator> >
98  : TrueType
99  { };
100 
101 template <class ContainerAllocator>
103  : TrueType
104  { };
105 
106 template <class ContainerAllocator>
107 struct IsMessage< ::sick_scan_xd::SickLocStateSrvResponse_<ContainerAllocator> >
108  : TrueType
109  { };
110 
111 template <class ContainerAllocator>
113  : TrueType
114  { };
115 
116 template <class ContainerAllocator>
117 struct HasHeader< ::sick_scan_xd::SickLocStateSrvResponse_<ContainerAllocator> >
118  : FalseType
119  { };
120 
121 template <class ContainerAllocator>
123  : FalseType
124  { };
125 
126 
127 template<class ContainerAllocator>
128 struct MD5Sum< ::sick_scan_xd::SickLocStateSrvResponse_<ContainerAllocator> >
129 {
130  static const char* value()
131  {
132  return "112e7992c0a1025af8b2c1b11d515e09";
133  }
134 
135  static const char* value(const ::sick_scan_xd::SickLocStateSrvResponse_<ContainerAllocator>&) { return value(); }
136  static const uint64_t static_value1 = 0x112e7992c0a1025aULL;
137  static const uint64_t static_value2 = 0xf8b2c1b11d515e09ULL;
138 };
139 
140 template<class ContainerAllocator>
141 struct DataType< ::sick_scan_xd::SickLocStateSrvResponse_<ContainerAllocator> >
142 {
143  static const char* value()
144  {
145  return "sick_scan/SickLocStateSrvResponse";
146  }
147 
148  static const char* value(const ::sick_scan_xd::SickLocStateSrvResponse_<ContainerAllocator>&) { return value(); }
149 };
150 
151 template<class ContainerAllocator>
152 struct Definition< ::sick_scan_xd::SickLocStateSrvResponse_<ContainerAllocator> >
153 {
154  static const char* value()
155  {
156  return "\n"
157 "#\n"
158 "# Response (output)\n"
159 "#\n"
160 "\n"
161 "int32 state # localization state (0:BOOTING, 1:IDLE, 2:LOCALIZING, 3:DEMO_MAPPING)\n"
162 "bool success # true: success response received from localization controller, false: service failed (timeout or error status from controller)\n"
163 "\n"
164 "\n"
165 ;
166  }
167 
168  static const char* value(const ::sick_scan_xd::SickLocStateSrvResponse_<ContainerAllocator>&) { return value(); }
169 };
170 
171 } // namespace message_traits
172 } // namespace roswrap
173 
174 namespace roswrap
175 {
176 namespace serialization
177 {
178 
179  template<class ContainerAllocator> struct Serializer< ::sick_scan_xd::SickLocStateSrvResponse_<ContainerAllocator> >
180  {
181  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
182  {
183  stream.next(m.state);
184  stream.next(m.success);
185  }
186 
188  }; // struct SickLocStateSrvResponse_
189 
190 } // namespace serialization
191 } // namespace roswrap
192 
193 namespace roswrap
194 {
195 namespace message_operations
196 {
197 
198 template<class ContainerAllocator>
199 struct Printer< ::sick_scan_xd::SickLocStateSrvResponse_<ContainerAllocator> >
200 {
201  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sick_scan_xd::SickLocStateSrvResponse_<ContainerAllocator>& v)
202  {
203  s << indent << "state: ";
204  Printer<int32_t>::stream(s, indent + " ", v.state);
205  s << indent << "success: ";
206  Printer<uint8_t>::stream(s, indent + " ", v.success);
207  }
208 };
209 
210 } // namespace message_operations
211 } // namespace roswrap
212 
213 #endif // SICK_SCAN_MESSAGE_SICKLOCSTATESRVRESPONSE_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::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::SickLocStateSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocStateSrvResponse_< ContainerAllocator > &)
Definition: SickLocStateSrvResponse.h:168
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
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
roswrap::message_traits::Definition< ::sick_scan_xd::SickLocStateSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocStateSrvResponse.h:154
sick_scan_xd::SickLocStateSrvResponse_::state
_state_type state
Definition: SickLocStateSrvResponse.h:40
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::SickLocStateSrvResponse_::_state_type
int32_t _state_type
Definition: SickLocStateSrvResponse.h:39
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::SickLocStateSrvResponse_::success
_success_type success
Definition: SickLocStateSrvResponse.h:43
sick_scan_xd::SickLocStateSrvResponseConstPtr
std::shared_ptr< ::sick_scan_xd::SickLocStateSrvResponse const > SickLocStateSrvResponseConstPtr
Definition: SickLocStateSrvResponse.h:57
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickLocStateSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocStateSrvResponse.h:130
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::SickLocStateSrvResponse_
Definition: SickLocStateSrvResponse.h:23
sick_scan_xd::SickLocStateSrvResponse_::ConstPtr
std::shared_ptr< ::sick_scan_xd::SickLocStateSrvResponse_< ContainerAllocator > const > ConstPtr
Definition: SickLocStateSrvResponse.h:50
sick_scan_xd::SickLocStateSrvResponse_::Ptr
std::shared_ptr< ::sick_scan_xd::SickLocStateSrvResponse_< ContainerAllocator > > Ptr
Definition: SickLocStateSrvResponse.h:49
roswrap
Definition: param_modi.cpp:41
sick_scan_xd::SickLocStateSrvResponse_::SickLocStateSrvResponse_
SickLocStateSrvResponse_(const ContainerAllocator &_alloc)
Definition: SickLocStateSrvResponse.h:31
roswrap::message_operations::Printer
Definition: message_operations.h:40
roswrap::message_traits::DataType< ::sick_scan_xd::SickLocStateSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocStateSrvResponse.h:143
sick_scan_xd::SickLocStateSrvResponse
::sick_scan_xd::SickLocStateSrvResponse_< std::allocator< void > > SickLocStateSrvResponse
Definition: SickLocStateSrvResponse.h:54
sick_scan_xd::SickLocStateSrvResponse_::Type
SickLocStateSrvResponse_< ContainerAllocator > Type
Definition: SickLocStateSrvResponse.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
roswrap::serialization::Serializer< ::sick_scan_xd::SickLocStateSrvResponse_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: SickLocStateSrvResponse.h:181
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
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::SickLocStateSrvResponse_::_success_type
uint8_t _success_type
Definition: SickLocStateSrvResponse.h:42
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
sick_scan_xd::SickLocStateSrvResponse_::SickLocStateSrvResponse_
SickLocStateSrvResponse_()
Definition: SickLocStateSrvResponse.h:27
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickLocStateSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocStateSrvResponse_< ContainerAllocator > &)
Definition: SickLocStateSrvResponse.h:135
sick_scan_xd::SickLocStateSrvResponsePtr
std::shared_ptr< ::sick_scan_xd::SickLocStateSrvResponse > SickLocStateSrvResponsePtr
Definition: SickLocStateSrvResponse.h:56
roswrap::message_operations::Printer< ::sick_scan_xd::SickLocStateSrvResponse_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::SickLocStateSrvResponse_< ContainerAllocator > &v)
Definition: SickLocStateSrvResponse.h:201
roswrap::message_traits::DataType< ::sick_scan_xd::SickLocStateSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocStateSrvResponse_< ContainerAllocator > &)
Definition: SickLocStateSrvResponse.h:148


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