// Generated by gencpp from file sas_robot_driver_franka/GraspResponse.msg // DO NOT EDIT! #ifndef SAS_ROBOT_DRIVER_FRANKA_MESSAGE_GRASPRESPONSE_H #define SAS_ROBOT_DRIVER_FRANKA_MESSAGE_GRASPRESPONSE_H #include #include #include #include #include #include #include namespace sas_robot_driver_franka { template struct GraspResponse_ { typedef GraspResponse_ Type; GraspResponse_() : success(false) { } GraspResponse_(const ContainerAllocator& _alloc) : success(false) { (void)_alloc; } typedef uint8_t _success_type; _success_type success; typedef boost::shared_ptr< ::sas_robot_driver_franka::GraspResponse_ > Ptr; typedef boost::shared_ptr< ::sas_robot_driver_franka::GraspResponse_ const> ConstPtr; }; // struct GraspResponse_ typedef ::sas_robot_driver_franka::GraspResponse_ > GraspResponse; typedef boost::shared_ptr< ::sas_robot_driver_franka::GraspResponse > GraspResponsePtr; typedef boost::shared_ptr< ::sas_robot_driver_franka::GraspResponse const> GraspResponseConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::sas_robot_driver_franka::GraspResponse_ & v) { ros::message_operations::Printer< ::sas_robot_driver_franka::GraspResponse_ >::stream(s, "", v); return s; } template bool operator==(const ::sas_robot_driver_franka::GraspResponse_ & lhs, const ::sas_robot_driver_franka::GraspResponse_ & rhs) { return lhs.success == rhs.success; } template bool operator!=(const ::sas_robot_driver_franka::GraspResponse_ & lhs, const ::sas_robot_driver_franka::GraspResponse_ & rhs) { return !(lhs == rhs); } } // namespace sas_robot_driver_franka namespace ros { namespace message_traits { template struct IsMessage< ::sas_robot_driver_franka::GraspResponse_ > : TrueType { }; template struct IsMessage< ::sas_robot_driver_franka::GraspResponse_ const> : TrueType { }; template struct IsFixedSize< ::sas_robot_driver_franka::GraspResponse_ > : TrueType { }; template struct IsFixedSize< ::sas_robot_driver_franka::GraspResponse_ const> : TrueType { }; template struct HasHeader< ::sas_robot_driver_franka::GraspResponse_ > : FalseType { }; template struct HasHeader< ::sas_robot_driver_franka::GraspResponse_ const> : FalseType { }; template struct MD5Sum< ::sas_robot_driver_franka::GraspResponse_ > { static const char* value() { return "358e233cde0c8a8bcfea4ce193f8fc15"; } static const char* value(const ::sas_robot_driver_franka::GraspResponse_&) { return value(); } static const uint64_t static_value1 = 0x358e233cde0c8a8bULL; static const uint64_t static_value2 = 0xcfea4ce193f8fc15ULL; }; template struct DataType< ::sas_robot_driver_franka::GraspResponse_ > { static const char* value() { return "sas_robot_driver_franka/GraspResponse"; } static const char* value(const ::sas_robot_driver_franka::GraspResponse_&) { return value(); } }; template struct Definition< ::sas_robot_driver_franka::GraspResponse_ > { static const char* value() { return "bool success\n" ; } static const char* value(const ::sas_robot_driver_franka::GraspResponse_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::sas_robot_driver_franka::GraspResponse_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.success); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct GraspResponse_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::sas_robot_driver_franka::GraspResponse_ > { template static void stream(Stream& s, const std::string& indent, const ::sas_robot_driver_franka::GraspResponse_& v) { s << indent << "success: "; Printer::stream(s, indent + " ", v.success); } }; } // namespace message_operations } // namespace ros #endif // SAS_ROBOT_DRIVER_FRANKA_MESSAGE_GRASPRESPONSE_H