// Generated by gencpp from file astra_camera/SetStringResponse.msg // DO NOT EDIT! #ifndef ASTRA_CAMERA_MESSAGE_SETSTRINGRESPONSE_H #define ASTRA_CAMERA_MESSAGE_SETSTRINGRESPONSE_H #include #include #include #include #include #include #include namespace astra_camera { template struct SetStringResponse_ { typedef SetStringResponse_ 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, typename std::allocator_traits::template rebind_alloc> _message_type; _message_type message; typedef boost::shared_ptr< ::astra_camera::SetStringResponse_ > Ptr; typedef boost::shared_ptr< ::astra_camera::SetStringResponse_ const> ConstPtr; }; // struct SetStringResponse_ typedef ::astra_camera::SetStringResponse_ > SetStringResponse; typedef boost::shared_ptr< ::astra_camera::SetStringResponse > SetStringResponsePtr; typedef boost::shared_ptr< ::astra_camera::SetStringResponse const> SetStringResponseConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::astra_camera::SetStringResponse_ & v) { ros::message_operations::Printer< ::astra_camera::SetStringResponse_ >::stream(s, "", v); return s; } template bool operator==(const ::astra_camera::SetStringResponse_ & lhs, const ::astra_camera::SetStringResponse_ & rhs) { return lhs.success == rhs.success && lhs.message == rhs.message; } template bool operator!=(const ::astra_camera::SetStringResponse_ & lhs, const ::astra_camera::SetStringResponse_ & rhs) { return !(lhs == rhs); } } // namespace astra_camera namespace ros { namespace message_traits { template struct IsMessage< ::astra_camera::SetStringResponse_ > : TrueType { }; template struct IsMessage< ::astra_camera::SetStringResponse_ const> : TrueType { }; template struct IsFixedSize< ::astra_camera::SetStringResponse_ > : FalseType { }; template struct IsFixedSize< ::astra_camera::SetStringResponse_ const> : FalseType { }; template struct HasHeader< ::astra_camera::SetStringResponse_ > : FalseType { }; template struct HasHeader< ::astra_camera::SetStringResponse_ const> : FalseType { }; template struct MD5Sum< ::astra_camera::SetStringResponse_ > { static const char* value() { return "937c9679a518e3a18d831e57125ea522"; } static const char* value(const ::astra_camera::SetStringResponse_&) { return value(); } static const uint64_t static_value1 = 0x937c9679a518e3a1ULL; static const uint64_t static_value2 = 0x8d831e57125ea522ULL; }; template struct DataType< ::astra_camera::SetStringResponse_ > { static const char* value() { return "astra_camera/SetStringResponse"; } static const char* value(const ::astra_camera::SetStringResponse_&) { return value(); } }; template struct Definition< ::astra_camera::SetStringResponse_ > { static const char* value() { return "bool success\n" "string message\n" "\n" ; } static const char* value(const ::astra_camera::SetStringResponse_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::astra_camera::SetStringResponse_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.success); stream.next(m.message); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct SetStringResponse_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::astra_camera::SetStringResponse_ > { template static void stream(Stream& s, const std::string& indent, const ::astra_camera::SetStringResponse_& v) { s << indent << "success: "; Printer::stream(s, indent + " ", v.success); s << indent << "message: "; Printer, typename std::allocator_traits::template rebind_alloc>>::stream(s, indent + " ", v.message); } }; } // namespace message_operations } // namespace ros #endif // ASTRA_CAMERA_MESSAGE_SETSTRINGRESPONSE_H