// Generated by gencpp from file moveit_msgs/LinkScale.msg
// DO NOT EDIT!


#ifndef MOVEIT_MSGS_MESSAGE_LINKSCALE_H
#define MOVEIT_MSGS_MESSAGE_LINKSCALE_H


#include <string>
#include <vector>
#include <map>

#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>


namespace moveit_msgs
{
template <class ContainerAllocator>
struct LinkScale_
{
  typedef LinkScale_<ContainerAllocator> Type;

  LinkScale_()
    : link_name()
    , scale(0.0)  {
    }
  LinkScale_(const ContainerAllocator& _alloc)
    : link_name(_alloc)
    , scale(0.0)  {
  (void)_alloc;
    }



   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _link_name_type;
  _link_name_type link_name;

   typedef double _scale_type;
  _scale_type scale;





  typedef boost::shared_ptr< ::moveit_msgs::LinkScale_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::moveit_msgs::LinkScale_<ContainerAllocator> const> ConstPtr;

}; // struct LinkScale_

typedef ::moveit_msgs::LinkScale_<std::allocator<void> > LinkScale;

typedef boost::shared_ptr< ::moveit_msgs::LinkScale > LinkScalePtr;
typedef boost::shared_ptr< ::moveit_msgs::LinkScale const> LinkScaleConstPtr;

// constants requiring out of line definition



template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::moveit_msgs::LinkScale_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::moveit_msgs::LinkScale_<ContainerAllocator> >::stream(s, "", v);
return s;
}


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::moveit_msgs::LinkScale_<ContainerAllocator1> & lhs, const ::moveit_msgs::LinkScale_<ContainerAllocator2> & rhs)
{
  return lhs.link_name == rhs.link_name &&
    lhs.scale == rhs.scale;
}

template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::moveit_msgs::LinkScale_<ContainerAllocator1> & lhs, const ::moveit_msgs::LinkScale_<ContainerAllocator2> & rhs)
{
  return !(lhs == rhs);
}


} // namespace moveit_msgs

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsMessage< ::moveit_msgs::LinkScale_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::moveit_msgs::LinkScale_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::moveit_msgs::LinkScale_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::moveit_msgs::LinkScale_<ContainerAllocator> const>
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::moveit_msgs::LinkScale_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::moveit_msgs::LinkScale_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::moveit_msgs::LinkScale_<ContainerAllocator> >
{
  static const char* value()
  {
    return "19faf226446bfb2f645a4da6f2a56166";
  }

  static const char* value(const ::moveit_msgs::LinkScale_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x19faf226446bfb2fULL;
  static const uint64_t static_value2 = 0x645a4da6f2a56166ULL;
};

template<class ContainerAllocator>
struct DataType< ::moveit_msgs::LinkScale_<ContainerAllocator> >
{
  static const char* value()
  {
    return "moveit_msgs/LinkScale";
  }

  static const char* value(const ::moveit_msgs::LinkScale_<ContainerAllocator>&) { return value(); }
};

template<class ContainerAllocator>
struct Definition< ::moveit_msgs::LinkScale_<ContainerAllocator> >
{
  static const char* value()
  {
    return "#name for the link\n"
"string link_name\n"
"\n"
"# scaling to apply to the link\n"
"float64 scale\n"
;
  }

  static const char* value(const ::moveit_msgs::LinkScale_<ContainerAllocator>&) { return value(); }
};

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::moveit_msgs::LinkScale_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.link_name);
      stream.next(m.scale);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct LinkScale_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::moveit_msgs::LinkScale_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::moveit_msgs::LinkScale_<ContainerAllocator>& v)
  {
    s << indent << "link_name: ";
    Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.link_name);
    s << indent << "scale: ";
    Printer<double>::stream(s, indent + "  ", v.scale);
  }
};

} // namespace message_operations
} // namespace ros

#endif // MOVEIT_MSGS_MESSAGE_LINKSCALE_H
