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


#ifndef UAVATT_ROS_MESSAGE_SET_STATEREQUEST_H
#define UAVATT_ROS_MESSAGE_SET_STATEREQUEST_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>

#include <uavatt_ros/or_rb3d_force.h>
#include <uavatt_ros/or_t3d_att.h>
#include <uavatt_ros/or_t3d_avel.h>
#include <uavatt_ros/or_t3d_aacc.h>

namespace uavatt_ros
{
template <class ContainerAllocator>
struct set_stateRequest_
{
  typedef set_stateRequest_<ContainerAllocator> Type;

  set_stateRequest_()
    : thrust()
    , att()
    , avel()
    , aacc()  {
    }
  set_stateRequest_(const ContainerAllocator& _alloc)
    : thrust(_alloc)
    , att(_alloc)
    , avel(_alloc)
    , aacc(_alloc)  {
  (void)_alloc;
    }



   typedef  ::uavatt_ros::or_rb3d_force_<ContainerAllocator>  _thrust_type;
  _thrust_type thrust;

   typedef  ::uavatt_ros::or_t3d_att_<ContainerAllocator>  _att_type;
  _att_type att;

   typedef  ::uavatt_ros::or_t3d_avel_<ContainerAllocator>  _avel_type;
  _avel_type avel;

   typedef  ::uavatt_ros::or_t3d_aacc_<ContainerAllocator>  _aacc_type;
  _aacc_type aacc;





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

}; // struct set_stateRequest_

typedef ::uavatt_ros::set_stateRequest_<std::allocator<void> > set_stateRequest;

typedef boost::shared_ptr< ::uavatt_ros::set_stateRequest > set_stateRequestPtr;
typedef boost::shared_ptr< ::uavatt_ros::set_stateRequest const> set_stateRequestConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::uavatt_ros::set_stateRequest_<ContainerAllocator1> & lhs, const ::uavatt_ros::set_stateRequest_<ContainerAllocator2> & rhs)
{
  return lhs.thrust == rhs.thrust &&
    lhs.att == rhs.att &&
    lhs.avel == rhs.avel &&
    lhs.aacc == rhs.aacc;
}

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


} // namespace uavatt_ros

namespace ros
{
namespace message_traits
{





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

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

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

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

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

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


template<class ContainerAllocator>
struct MD5Sum< ::uavatt_ros::set_stateRequest_<ContainerAllocator> >
{
  static const char* value()
  {
    return "2dd7390dd1081daec13d1713baf5fc68";
  }

  static const char* value(const ::uavatt_ros::set_stateRequest_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x2dd7390dd1081daeULL;
  static const uint64_t static_value2 = 0xc13d1713baf5fc68ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::uavatt_ros::set_stateRequest_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# service set_state\n"
"or_rb3d_force thrust\n"
"or_t3d_att att\n"
"or_t3d_avel avel\n"
"or_t3d_aacc aacc\n"
"\n"
"================================================================================\n"
"MSG: uavatt_ros/or_rb3d_force\n"
"# IDL struct ::or::rb3d::force\n"
"float64 x\n"
"float64 y\n"
"float64 z\n"
"\n"
"================================================================================\n"
"MSG: uavatt_ros/or_t3d_att\n"
"# IDL struct ::or::t3d::att\n"
"float64 qw\n"
"float64 qx\n"
"float64 qy\n"
"float64 qz\n"
"\n"
"================================================================================\n"
"MSG: uavatt_ros/or_t3d_avel\n"
"# IDL struct ::or::t3d::avel\n"
"float64 wx\n"
"float64 wy\n"
"float64 wz\n"
"\n"
"================================================================================\n"
"MSG: uavatt_ros/or_t3d_aacc\n"
"# IDL struct ::or::t3d::aacc\n"
"float64 awx\n"
"float64 awy\n"
"float64 awz\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::uavatt_ros::set_stateRequest_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.thrust);
      stream.next(m.att);
      stream.next(m.avel);
      stream.next(m.aacc);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct set_stateRequest_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::uavatt_ros::set_stateRequest_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::uavatt_ros::set_stateRequest_<ContainerAllocator>& v)
  {
    if (false || !indent.empty())
      s << std::endl;
    s << indent << "thrust: ";
    Printer< ::uavatt_ros::or_rb3d_force_<ContainerAllocator> >::stream(s, indent + "  ", v.thrust);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "att: ";
    Printer< ::uavatt_ros::or_t3d_att_<ContainerAllocator> >::stream(s, indent + "  ", v.att);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "avel: ";
    Printer< ::uavatt_ros::or_t3d_avel_<ContainerAllocator> >::stream(s, indent + "  ", v.avel);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "aacc: ";
    Printer< ::uavatt_ros::or_t3d_aacc_<ContainerAllocator> >::stream(s, indent + "  ", v.aacc);
  }
};

} // namespace message_operations
} // namespace ros

#endif // UAVATT_ROS_MESSAGE_SET_STATEREQUEST_H
