| |
| |
|
|
|
|
| #ifndef ASTRA_CAMERA_MESSAGE_SETSTRINGRESPONSE_H |
| #define ASTRA_CAMERA_MESSAGE_SETSTRINGRESPONSE_H |
|
|
|
|
| #include <string> |
| #include <vector> |
| #include <memory> |
|
|
| #include <ros/types.h> |
| #include <ros/serialization.h> |
| #include <ros/builtin_message_traits.h> |
| #include <ros/message_operations.h> |
|
|
|
|
| namespace astra_camera |
| { |
| template <class ContainerAllocator> |
| struct SetStringResponse_ |
| { |
| typedef SetStringResponse_<ContainerAllocator> Type; |
|
|
| SetStringResponse_() |
| : success(false) |
| , message() { |
| } |
| SetStringResponse_(const ContainerAllocator& _alloc) |
| : success(false) |
| , message(_alloc) { |
| (void)_alloc; |
| } |
|
|
|
|
|
|
| typedef uint8_t _success_type; |
| _success_type success; |
|
|
| typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _message_type; |
| _message_type message; |
|
|
|
|
|
|
|
|
|
|
| typedef boost::shared_ptr< ::astra_camera::SetStringResponse_<ContainerAllocator> > Ptr; |
| typedef boost::shared_ptr< ::astra_camera::SetStringResponse_<ContainerAllocator> const> ConstPtr; |
|
|
| }; |
|
|
| typedef ::astra_camera::SetStringResponse_<std::allocator<void> > SetStringResponse; |
|
|
| typedef boost::shared_ptr< ::astra_camera::SetStringResponse > SetStringResponsePtr; |
| typedef boost::shared_ptr< ::astra_camera::SetStringResponse const> SetStringResponseConstPtr; |
|
|
| |
|
|
|
|
|
|
| template<typename ContainerAllocator> |
| std::ostream& operator<<(std::ostream& s, const ::astra_camera::SetStringResponse_<ContainerAllocator> & v) |
| { |
| ros::message_operations::Printer< ::astra_camera::SetStringResponse_<ContainerAllocator> >::stream(s, "", v); |
| return s; |
| } |
|
|
|
|
| template<typename ContainerAllocator1, typename ContainerAllocator2> |
| bool operator==(const ::astra_camera::SetStringResponse_<ContainerAllocator1> & lhs, const ::astra_camera::SetStringResponse_<ContainerAllocator2> & rhs) |
| { |
| return lhs.success == rhs.success && |
| lhs.message == rhs.message; |
| } |
|
|
| template<typename ContainerAllocator1, typename ContainerAllocator2> |
| bool operator!=(const ::astra_camera::SetStringResponse_<ContainerAllocator1> & lhs, const ::astra_camera::SetStringResponse_<ContainerAllocator2> & rhs) |
| { |
| return !(lhs == rhs); |
| } |
|
|
|
|
| } |
|
|
| namespace ros |
| { |
| namespace message_traits |
| { |
|
|
|
|
|
|
|
|
|
|
| template <class ContainerAllocator> |
| struct IsMessage< ::astra_camera::SetStringResponse_<ContainerAllocator> > |
| : TrueType |
| { }; |
|
|
| template <class ContainerAllocator> |
| struct IsMessage< ::astra_camera::SetStringResponse_<ContainerAllocator> const> |
| : TrueType |
| { }; |
|
|
| template <class ContainerAllocator> |
| struct IsFixedSize< ::astra_camera::SetStringResponse_<ContainerAllocator> > |
| : FalseType |
| { }; |
|
|
| template <class ContainerAllocator> |
| struct IsFixedSize< ::astra_camera::SetStringResponse_<ContainerAllocator> const> |
| : FalseType |
| { }; |
|
|
| template <class ContainerAllocator> |
| struct HasHeader< ::astra_camera::SetStringResponse_<ContainerAllocator> > |
| : FalseType |
| { }; |
|
|
| template <class ContainerAllocator> |
| struct HasHeader< ::astra_camera::SetStringResponse_<ContainerAllocator> const> |
| : FalseType |
| { }; |
|
|
|
|
| template<class ContainerAllocator> |
| struct MD5Sum< ::astra_camera::SetStringResponse_<ContainerAllocator> > |
| { |
| static const char* value() |
| { |
| return "937c9679a518e3a18d831e57125ea522"; |
| } |
|
|
| static const char* value(const ::astra_camera::SetStringResponse_<ContainerAllocator>&) { return value(); } |
| static const uint64_t static_value1 = 0x937c9679a518e3a1ULL; |
| static const uint64_t static_value2 = 0x8d831e57125ea522ULL; |
| }; |
|
|
| template<class ContainerAllocator> |
| struct DataType< ::astra_camera::SetStringResponse_<ContainerAllocator> > |
| { |
| static const char* value() |
| { |
| return "astra_camera/SetStringResponse"; |
| } |
|
|
| static const char* value(const ::astra_camera::SetStringResponse_<ContainerAllocator>&) { return value(); } |
| }; |
|
|
| template<class ContainerAllocator> |
| struct Definition< ::astra_camera::SetStringResponse_<ContainerAllocator> > |
| { |
| static const char* value() |
| { |
| return "bool success\n" |
| "string message\n" |
| "\n" |
| ; |
| } |
|
|
| static const char* value(const ::astra_camera::SetStringResponse_<ContainerAllocator>&) { return value(); } |
| }; |
|
|
| } |
| } |
|
|
| namespace ros |
| { |
| namespace serialization |
| { |
|
|
| template<class ContainerAllocator> struct Serializer< ::astra_camera::SetStringResponse_<ContainerAllocator> > |
| { |
| template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) |
| { |
| stream.next(m.success); |
| stream.next(m.message); |
| } |
|
|
| ROS_DECLARE_ALLINONE_SERIALIZER |
| }; |
|
|
| } |
| } |
|
|
| namespace ros |
| { |
| namespace message_operations |
| { |
|
|
| template<class ContainerAllocator> |
| struct Printer< ::astra_camera::SetStringResponse_<ContainerAllocator> > |
| { |
| template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::astra_camera::SetStringResponse_<ContainerAllocator>& v) |
| { |
| s << indent << "success: "; |
| Printer<uint8_t>::stream(s, indent + " ", v.success); |
| s << indent << "message: "; |
| Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.message); |
| } |
| }; |
|
|
| } |
| } |
|
|
| #endif |
|
|