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


#ifndef UAVATT_ROS_MESSAGE_SET_GEOMREQUEST_H
#define UAVATT_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 uavatt_ros
{
template <class ContainerAllocator>
struct set_geomRequest_
{
  typedef set_geomRequest_<ContainerAllocator> Type;

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



   typedef double _mass_type;
  _mass_type mass;

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





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

}; // struct set_geomRequest_

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

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

// constants requiring out of line definition



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


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

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


} // namespace uavatt_ros

namespace ros
{
namespace message_traits
{





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

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

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

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

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

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


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

  static const char* value(const ::uavatt_ros::set_geomRequest_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x881809a21df29475ULL;
  static const uint64_t static_value2 = 0x5a91982467068a8bULL;
};

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

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

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

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::uavatt_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);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct set_geomRequest_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::uavatt_ros::set_geomRequest_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::uavatt_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 << "]";
  }
};

} // namespace message_operations
} // namespace ros

#endif // UAVATT_ROS_MESSAGE_SET_GEOMREQUEST_H
