// Generated by gencpp from file sas_robot_driver_franka/GripperState.msg // DO NOT EDIT! #ifndef SAS_ROBOT_DRIVER_FRANKA_MESSAGE_GRIPPERSTATE_H #define SAS_ROBOT_DRIVER_FRANKA_MESSAGE_GRIPPERSTATE_H #include #include #include #include #include #include #include namespace sas_robot_driver_franka { template struct GripperState_ { typedef GripperState_ Type; GripperState_() : width(0.0) , max_width(0.0) , is_grasped(false) , temperature(0) , duration_ms(0) { } GripperState_(const ContainerAllocator& _alloc) : width(0.0) , max_width(0.0) , is_grasped(false) , temperature(0) , duration_ms(0) { (void)_alloc; } typedef float _width_type; _width_type width; typedef float _max_width_type; _max_width_type max_width; typedef uint8_t _is_grasped_type; _is_grasped_type is_grasped; typedef uint16_t _temperature_type; _temperature_type temperature; typedef uint64_t _duration_ms_type; _duration_ms_type duration_ms; typedef boost::shared_ptr< ::sas_robot_driver_franka::GripperState_ > Ptr; typedef boost::shared_ptr< ::sas_robot_driver_franka::GripperState_ const> ConstPtr; }; // struct GripperState_ typedef ::sas_robot_driver_franka::GripperState_ > GripperState; typedef boost::shared_ptr< ::sas_robot_driver_franka::GripperState > GripperStatePtr; typedef boost::shared_ptr< ::sas_robot_driver_franka::GripperState const> GripperStateConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::sas_robot_driver_franka::GripperState_ & v) { ros::message_operations::Printer< ::sas_robot_driver_franka::GripperState_ >::stream(s, "", v); return s; } template bool operator==(const ::sas_robot_driver_franka::GripperState_ & lhs, const ::sas_robot_driver_franka::GripperState_ & rhs) { return lhs.width == rhs.width && lhs.max_width == rhs.max_width && lhs.is_grasped == rhs.is_grasped && lhs.temperature == rhs.temperature && lhs.duration_ms == rhs.duration_ms; } template bool operator!=(const ::sas_robot_driver_franka::GripperState_ & lhs, const ::sas_robot_driver_franka::GripperState_ & rhs) { return !(lhs == rhs); } } // namespace sas_robot_driver_franka namespace ros { namespace message_traits { template struct IsMessage< ::sas_robot_driver_franka::GripperState_ > : TrueType { }; template struct IsMessage< ::sas_robot_driver_franka::GripperState_ const> : TrueType { }; template struct IsFixedSize< ::sas_robot_driver_franka::GripperState_ > : TrueType { }; template struct IsFixedSize< ::sas_robot_driver_franka::GripperState_ const> : TrueType { }; template struct HasHeader< ::sas_robot_driver_franka::GripperState_ > : FalseType { }; template struct HasHeader< ::sas_robot_driver_franka::GripperState_ const> : FalseType { }; template struct MD5Sum< ::sas_robot_driver_franka::GripperState_ > { static const char* value() { return "53f8669159aaded70b1783087f07679d"; } static const char* value(const ::sas_robot_driver_franka::GripperState_&) { return value(); } static const uint64_t static_value1 = 0x53f8669159aaded7ULL; static const uint64_t static_value2 = 0x0b1783087f07679dULL; }; template struct DataType< ::sas_robot_driver_franka::GripperState_ > { static const char* value() { return "sas_robot_driver_franka/GripperState"; } static const char* value(const ::sas_robot_driver_franka::GripperState_&) { return value(); } }; template struct Definition< ::sas_robot_driver_franka::GripperState_ > { static const char* value() { return "float32 width\n" "float32 max_width\n" "bool is_grasped\n" "uint16 temperature\n" "uint64 duration_ms\n" ; } static const char* value(const ::sas_robot_driver_franka::GripperState_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::sas_robot_driver_franka::GripperState_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.width); stream.next(m.max_width); stream.next(m.is_grasped); stream.next(m.temperature); stream.next(m.duration_ms); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct GripperState_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::sas_robot_driver_franka::GripperState_ > { template static void stream(Stream& s, const std::string& indent, const ::sas_robot_driver_franka::GripperState_& v) { s << indent << "width: "; Printer::stream(s, indent + " ", v.width); s << indent << "max_width: "; Printer::stream(s, indent + " ", v.max_width); s << indent << "is_grasped: "; Printer::stream(s, indent + " ", v.is_grasped); s << indent << "temperature: "; Printer::stream(s, indent + " ", v.temperature); s << indent << "duration_ms: "; Printer::stream(s, indent + " ", v.duration_ms); } }; } // namespace message_operations } // namespace ros #endif // SAS_ROBOT_DRIVER_FRANKA_MESSAGE_GRIPPERSTATE_H