Go to the documentation of this file.
6 #ifndef SICK_SCAN_MESSAGE_SICKDEVGETLIDARSTATESRVRESPONSE_H
7 #define SICK_SCAN_MESSAGE_SICKDEVGETLIDARSTATESRVRESPONSE_H
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
22 template <
class ContainerAllocator>
59 typedef std::shared_ptr< ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator> >
Ptr;
60 typedef std::shared_ptr< ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator>
const>
ConstPtr;
73 template<
typename ContainerAllocator>
74 std::ostream&
operator<<(std::ostream& s, const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator> & v)
81 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
82 bool operator==(const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator2> & rhs)
84 return lhs.devicestatus == rhs.devicestatus &&
85 lhs.deviceconnected == rhs.deviceconnected &&
86 lhs.receivingdata == rhs.receivingdata &&
87 lhs.success == rhs.success;
90 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
91 bool operator!=(const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator2> & rhs)
101 namespace message_traits
108 template <
class ContainerAllocator>
113 template <
class ContainerAllocator>
118 template <
class ContainerAllocator>
123 template <
class ContainerAllocator>
128 template <
class ContainerAllocator>
133 template <
class ContainerAllocator>
139 template<
class ContainerAllocator>
144 return "534afaccc5deab8ed620d76ccfad301b";
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;
152 template<
class ContainerAllocator>
157 return "sick_scan/SickDevGetLidarStateSrvResponse";
160 static const char*
value(const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator>&) {
return value(); }
163 template<
class ContainerAllocator>
170 "# Response (output)\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"
181 static const char*
value(const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator>&) {
return value(); }
189 namespace serialization
194 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
196 stream.next(m.devicestatus);
197 stream.next(m.deviceconnected);
198 stream.next(m.receivingdata);
199 stream.next(m.success);
210 namespace message_operations
213 template<
class ContainerAllocator>
216 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_<ContainerAllocator>& v)
218 s <<
indent <<
"devicestatus: ";
220 s <<
indent <<
"deviceconnected: ";
222 s <<
indent <<
"receivingdata: ";
232 #endif // SICK_SCAN_MESSAGE_SICKDEVGETLIDARSTATESRVRESPONSE_H
static const char * value(const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_< ContainerAllocator > &)
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
std::ostream & operator<<(std::ostream &s, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > &v)
_receivingdata_type receivingdata
static void allInOne(Stream &stream, T m)
bool operator!=(const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator1 > &lhs, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator2 > &rhs)
Templated serialization class. Default implementation provides backwards compatibility with old messa...
::sick_scan_xd::SickDevGetLidarStateSrvResponse_< std::allocator< void > > SickDevGetLidarStateSrvResponse
SickDevGetLidarStateSrvResponse_()
static void stream(Stream &s, const std::string &indent, const M &value)
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
static const char * value(const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_< ContainerAllocator > &)
_deviceconnected_type deviceconnected
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
_devicestatus_type devicestatus
Specialize to provide the datatype for a message.
Specialize to provide the definition for a message.
int32_t _devicestatus_type
std::shared_ptr< ::sick_scan_xd::SickDevGetLidarStateSrvResponse > SickDevGetLidarStateSrvResponsePtr
SickDevGetLidarStateSrvResponse_< ContainerAllocator > Type
SickDevGetLidarStateSrvResponse_(const ContainerAllocator &_alloc)
static const char * value()
int32_t _receivingdata_type
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_< ContainerAllocator > &v)
static const char * value()
std::shared_ptr< ::sick_scan_xd::SickDevGetLidarStateSrvResponse_< ContainerAllocator > const > ConstPtr
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the md5sum for a message.
std::shared_ptr< ::sick_scan_xd::SickDevGetLidarStateSrvResponse_< ContainerAllocator > > Ptr
static const char * value(const ::sick_scan_xd::SickDevGetLidarStateSrvResponse_< ContainerAllocator > &)
bool operator==(const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator1 > &lhs, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator2 > &rhs)
Stream base-class, provides common functionality for IStream and OStream.
std::shared_ptr< ::sick_scan_xd::SickDevGetLidarStateSrvResponse const > SickDevGetLidarStateSrvResponseConstPtr
int32_t _deviceconnected_type
static const char * value()
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:11