// Generated by gencpp from file nhfc_ros/set_geomRequest.msg
// DO NOT EDIT!


#ifndef NHFC_ROS_MESSAGE_SET_GEOMREQUEST_H
#define NHFC_ROS_MESSAGE_SET_GEOMREQUEST_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 nhfc_ros
{
template <class ContainerAllocator>
struct set_geomRequest_
{
  typedef set_geomRequest_<ContainerAllocator> Type;

  set_geomRequest_()
    : mass(0.0)
    , G()
    , J()  {
      G.assign(0.0);

      J.assign(0.0);
  }
  set_geomRequest_(const ContainerAllocator& _alloc)
    : mass(0.0)
    , G()
    , J()  {
  (void)_alloc;
      G.assign(0.0);

      J.assign(0.0);
  }



   typedef double _mass_type;
  _mass_type mass;

   typedef boost::array<double, 48>  _G_type;
  _G_type G;

   typedef boost::array<double, 9>  _J_type;
  _J_type J;





  typedef boost::shared_ptr< ::nhfc_ros::set_geomRequest_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::nhfc_ros::set_geomRequest_<ContainerAllocator> const> ConstPtr;

}; // struct set_geomRequest_

typedef ::nhfc_ros::set_geomRequest_<std::allocator<void> > set_geomRequest;

typedef boost::shared_ptr< ::nhfc_ros::set_geomRequest > set_geomRequestPtr;
typedef boost::shared_ptr< ::nhfc_ros::set_geomRequest const> set_geomRequestConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::nhfc_ros::set_geomRequest_<ContainerAllocator1> & lhs, const ::nhfc_ros::set_geomRequest_<ContainerAllocator2> & rhs)
{
  return lhs.mass == rhs.mass &&
    lhs.G == rhs.G &&
    lhs.J == rhs.J;
}

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


} // namespace nhfc_ros

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsMessage< ::nhfc_ros::set_geomRequest_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::nhfc_ros::set_geomRequest_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::nhfc_ros::set_geomRequest_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::nhfc_ros::set_geomRequest_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct HasHeader< ::nhfc_ros::set_geomRequest_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::nhfc_ros::set_geomRequest_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::nhfc_ros::set_geomRequest_<ContainerAllocator> >
{
  static const char* value()
  {
    return "c279eef6a25163d1cb83d668aa383e4a";
  }

  static const char* value(const ::nhfc_ros::set_geomRequest_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xc279eef6a25163d1ULL;
  static const uint64_t static_value2 = 0xcb83d668aa383e4aULL;
};

template<class ContainerAllocator>
struct DataType< ::nhfc_ros::set_geomRequest_<ContainerAllocator> >
{
  static const char* value()
  {
    return "nhfc_ros/set_geomRequest";
  }

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

template<class ContainerAllocator>
struct Definition< ::nhfc_ros::set_geomRequest_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# service set_geom\n"
"float64 mass\n"
"float64[48] G\n"
"float64[9] J\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::nhfc_ros::set_geomRequest_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.mass);
      stream.next(m.G);
      stream.next(m.J);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct set_geomRequest_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::nhfc_ros::set_geomRequest_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nhfc_ros::set_geomRequest_<ContainerAllocator>& v)
  {
    if (false || !indent.empty())
      s << std::endl;
    s << indent << "mass: ";
    Printer<double>::stream(s, indent + "  ", v.mass);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "G: ";
    if (v.G.empty() || true)
      s << "[";
    for (size_t i = 0; i < v.G.size(); ++i)
    {
      if (true && i > 0)
        s << ", ";
      else if (!true)
        s << std::endl << indent << "  -";
      Printer<double>::stream(s, true ? std::string() : indent + "    ", v.G[i]);
    }
    if (v.G.empty() || true)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "J: ";
    if (v.J.empty() || true)
      s << "[";
    for (size_t i = 0; i < v.J.size(); ++i)
    {
      if (true && i > 0)
        s << ", ";
      else if (!true)
        s << std::endl << indent << "  -";
      Printer<double>::stream(s, true ? std::string() : indent + "    ", v.J[i]);
    }
    if (v.J.empty() || true)
      s << "]";
  }
};

} // namespace message_operations
} // namespace ros

#endif // NHFC_ROS_MESSAGE_SET_GEOMREQUEST_H
