SickDevGetLidarStateSrvResponse.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/SickDevGetLidarStateSrvResponse.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SICK_SCAN_MESSAGE_SICKDEVGETLIDARSTATESRVRESPONSE_H
7 #define SICK_SCAN_MESSAGE_SICKDEVGETLIDARSTATESRVRESPONSE_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  : devicestatus(0)
29  , deviceconnected(0)
30  , receivingdata(0)
31  , success(false) {
32  }
33  SickDevGetLidarStateSrvResponse_(const ContainerAllocator& _alloc)
34  : devicestatus(0)
35  , deviceconnected(0)
36  , receivingdata(0)
37  , success(false) {
38  (void)_alloc;
39  }
40 
41 
42 
43  typedef int32_t _devicestatus_type;
45 
46  typedef int32_t _deviceconnected_type;
48 
49  typedef int32_t _receivingdata_type;
51 
52  typedef uint8_t _success_type;
54 
55 
56 
57 
58 
59  typedef std::shared_ptr< ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator> > Ptr;
60  typedef std::shared_ptr< ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator> const> ConstPtr;
61 
62 }; // struct SickDevGetLidarStateSrvResponse_
63 
64 typedef ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<std::allocator<void> > SickDevGetLidarStateSrvResponse;
65 
66 typedef std::shared_ptr< ::sick_scan_xd::SickDevGetLidarStateSrvResponse > SickDevGetLidarStateSrvResponsePtr;
67 typedef std::shared_ptr< ::sick_scan_xd::SickDevGetLidarStateSrvResponse const> SickDevGetLidarStateSrvResponseConstPtr;
68 
69 // constants requiring out of line definition
70 
71 
72 
73 template<typename ContainerAllocator>
74 std::ostream& operator<<(std::ostream& s, const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator> & v)
75 {
77 return s;
78 }
79 
80 
81 template<typename ContainerAllocator1, typename ContainerAllocator2>
82 bool operator==(const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator2> & rhs)
83 {
84  return lhs.devicestatus == rhs.devicestatus &&
85  lhs.deviceconnected == rhs.deviceconnected &&
86  lhs.receivingdata == rhs.receivingdata &&
87  lhs.success == rhs.success;
88 }
89 
90 template<typename ContainerAllocator1, typename ContainerAllocator2>
91 bool operator!=(const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator2> & rhs)
92 {
93  return !(lhs == rhs);
94 }
95 
96 
97 } // namespace sick_scan_xd
98 
99 namespace roswrap
100 {
101 namespace message_traits
102 {
103 
104 
105 
106 
107 
108 template <class ContainerAllocator>
110  : TrueType
111  { };
112 
113 template <class ContainerAllocator>
115  : TrueType
116  { };
117 
118 template <class ContainerAllocator>
120  : TrueType
121  { };
122 
123 template <class ContainerAllocator>
125  : TrueType
126  { };
127 
128 template <class ContainerAllocator>
130  : FalseType
131  { };
132 
133 template <class ContainerAllocator>
135  : FalseType
136  { };
137 
138 
139 template<class ContainerAllocator>
141 {
142  static const char* value()
143  {
144  return "534afaccc5deab8ed620d76ccfad301b";
145  }
146 
147  static const char* value(const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator>&) { return value(); }
148  static const uint64_t static_value1 = 0x534afaccc5deab8eULL;
149  static const uint64_t static_value2 = 0xd620d76ccfad301bULL;
150 };
151 
152 template<class ContainerAllocator>
154 {
155  static const char* value()
156  {
157  return "sick_scan/SickDevGetLidarStateSrvResponse";
158  }
159 
160  static const char* value(const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator>&) { return value(); }
161 };
162 
163 template<class ContainerAllocator>
165 {
166  static const char* value()
167  {
168  return "\n"
169 "# \n"
170 "# Response (output)\n"
171 "# \n"
172 "\n"
173 "int32 devicestatus # Status of the device. {0 (ERROR), 1 (UNDEF), 2 (OKAY)} \n"
174 "int32 deviceconnected # State of the connection to the scanner. {0 (ERROR), 1 (UNDEF), 2 (OKAY)} \n"
175 "int32 receivingdata # State of the data transmission from the scanner. {0 (ERROR), 1 (UNDEF), 2 (OKAY)} \n"
176 "bool success # true: success response received from localization controller, false: service failed (timeout or error status from controller)\n"
177 "\n"
178 ;
179  }
180 
181  static const char* value(const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator>&) { return value(); }
182 };
183 
184 } // namespace message_traits
185 } // namespace roswrap
186 
187 namespace roswrap
188 {
189 namespace serialization
190 {
191 
192  template<class ContainerAllocator> struct Serializer< ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator> >
193  {
194  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
195  {
196  stream.next(m.devicestatus);
197  stream.next(m.deviceconnected);
198  stream.next(m.receivingdata);
199  stream.next(m.success);
200  }
201 
203  }; // struct SickDevGetLidarStateSrvResponse_
204 
205 } // namespace serialization
206 } // namespace roswrap
207 
208 namespace roswrap
209 {
210 namespace message_operations
211 {
212 
213 template<class ContainerAllocator>
215 {
216  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator>& v)
217  {
218  s << indent << "devicestatus: ";
219  Printer<int32_t>::stream(s, indent + " ", v.devicestatus);
220  s << indent << "deviceconnected: ";
221  Printer<int32_t>::stream(s, indent + " ", v.deviceconnected);
222  s << indent << "receivingdata: ";
223  Printer<int32_t>::stream(s, indent + " ", v.receivingdata);
224  s << indent << "success: ";
225  Printer<uint8_t>::stream(s, indent + " ", v.success);
226  }
227 };
228 
229 } // namespace message_operations
230 } // namespace roswrap
231 
232 #endif // SICK_SCAN_MESSAGE_SICKDEVGETLIDARSTATESRVRESPONSE_H
roswrap::message_traits::DataType< ::sick_scan_xd::SickDevGetLidarStateSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_< ContainerAllocator > &)
Definition: SickDevGetLidarStateSrvResponse.h:160
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::SickDevGetLidarStateSrvResponse_::receivingdata
_receivingdata_type receivingdata
Definition: SickDevGetLidarStateSrvResponse.h:50
roswrap::serialization::Serializer< ::sick_scan_xd::SickDevGetLidarStateSrvResponse_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: SickDevGetLidarStateSrvResponse.h:194
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::SickDevGetLidarStateSrvResponse
::sick_scan_xd::SickDevGetLidarStateSrvResponse_< std::allocator< void > > SickDevGetLidarStateSrvResponse
Definition: SickDevGetLidarStateSrvResponse.h:64
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
sick_scan_xd::SickDevGetLidarStateSrvResponse_::success
_success_type success
Definition: SickDevGetLidarStateSrvResponse.h:53
sick_scan_xd::SickDevGetLidarStateSrvResponse_::SickDevGetLidarStateSrvResponse_
SickDevGetLidarStateSrvResponse_()
Definition: SickDevGetLidarStateSrvResponse.h:27
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
roswrap::message_traits::Definition< ::sick_scan_xd::SickDevGetLidarStateSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_< ContainerAllocator > &)
Definition: SickDevGetLidarStateSrvResponse.h:181
ros::message_operations::Printer
sick_scan_xd::SickDevGetLidarStateSrvResponse_::deviceconnected
_deviceconnected_type deviceconnected
Definition: SickDevGetLidarStateSrvResponse.h:47
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::SickDevGetLidarStateSrvResponse_::devicestatus
_devicestatus_type devicestatus
Definition: SickDevGetLidarStateSrvResponse.h:44
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::SickDevGetLidarStateSrvResponse_::_devicestatus_type
int32_t _devicestatus_type
Definition: SickDevGetLidarStateSrvResponse.h:43
sick_scan_xd::SickDevGetLidarStateSrvResponsePtr
std::shared_ptr< ::sick_scan_xd::SickDevGetLidarStateSrvResponse > SickDevGetLidarStateSrvResponsePtr
Definition: SickDevGetLidarStateSrvResponse.h:66
sick_scan_xd::SickDevGetLidarStateSrvResponse_::Type
SickDevGetLidarStateSrvResponse_< ContainerAllocator > Type
Definition: SickDevGetLidarStateSrvResponse.h:25
sick_scan_xd::SickDevGetLidarStateSrvResponse_::SickDevGetLidarStateSrvResponse_
SickDevGetLidarStateSrvResponse_(const ContainerAllocator &_alloc)
Definition: SickDevGetLidarStateSrvResponse.h:33
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickDevGetLidarStateSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickDevGetLidarStateSrvResponse.h:142
sick_scan_xd::SickDevGetLidarStateSrvResponse_
Definition: SickDevGetLidarStateSrvResponse.h:23
roswrap
Definition: param_modi.cpp:41
sick_scan_xd::SickDevGetLidarStateSrvResponse_::_receivingdata_type
int32_t _receivingdata_type
Definition: SickDevGetLidarStateSrvResponse.h:49
roswrap::message_operations::Printer
Definition: message_operations.h:40
roswrap::message_operations::Printer< ::sick_scan_xd::SickDevGetLidarStateSrvResponse_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_< ContainerAllocator > &v)
Definition: SickDevGetLidarStateSrvResponse.h:216
roswrap::message_traits::Definition< ::sick_scan_xd::SickDevGetLidarStateSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickDevGetLidarStateSrvResponse.h:166
sick_scan_xd::SickDevGetLidarStateSrvResponse_::ConstPtr
std::shared_ptr< ::sick_scan_xd::SickDevGetLidarStateSrvResponse_< ContainerAllocator > const > ConstPtr
Definition: SickDevGetLidarStateSrvResponse.h:60
sick_scan_xd::SickDevGetLidarStateSrvResponse_::_success_type
uint8_t _success_type
Definition: SickDevGetLidarStateSrvResponse.h:52
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::SickDevGetLidarStateSrvResponse_::Ptr
std::shared_ptr< ::sick_scan_xd::SickDevGetLidarStateSrvResponse_< ContainerAllocator > > Ptr
Definition: SickDevGetLidarStateSrvResponse.h:59
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickDevGetLidarStateSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_< ContainerAllocator > &)
Definition: SickDevGetLidarStateSrvResponse.h:147
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_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
sick_scan_xd::SickDevGetLidarStateSrvResponseConstPtr
std::shared_ptr< ::sick_scan_xd::SickDevGetLidarStateSrvResponse const > SickDevGetLidarStateSrvResponseConstPtr
Definition: SickDevGetLidarStateSrvResponse.h:67
sick_scan_xd::SickDevGetLidarStateSrvResponse_::_deviceconnected_type
int32_t _deviceconnected_type
Definition: SickDevGetLidarStateSrvResponse.h:46
roswrap::message_traits::DataType< ::sick_scan_xd::SickDevGetLidarStateSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickDevGetLidarStateSrvResponse.h:155


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