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


#ifndef UAVATT_ROS_MESSAGE_SET_CONTROL_MODEREQUEST_H
#define UAVATT_ROS_MESSAGE_SET_CONTROL_MODEREQUEST_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/uavatt_attitude_control_mode.h>

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

  set_control_modeRequest_()
    : att_mode()  {
    }
  set_control_modeRequest_(const ContainerAllocator& _alloc)
    : att_mode(_alloc)  {
  (void)_alloc;
    }



   typedef  ::uavatt_ros::uavatt_attitude_control_mode_<ContainerAllocator>  _att_mode_type;
  _att_mode_type att_mode;





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

}; // struct set_control_modeRequest_

typedef ::uavatt_ros::set_control_modeRequest_<std::allocator<void> > set_control_modeRequest;

typedef boost::shared_ptr< ::uavatt_ros::set_control_modeRequest > set_control_modeRequestPtr;
typedef boost::shared_ptr< ::uavatt_ros::set_control_modeRequest const> set_control_modeRequestConstPtr;

// constants requiring out of line definition



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


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

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


} // namespace uavatt_ros

namespace ros
{
namespace message_traits
{





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

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

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

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

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

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


template<class ContainerAllocator>
struct MD5Sum< ::uavatt_ros::set_control_modeRequest_<ContainerAllocator> >
{
  static const char* value()
  {
    return "6887439c975ff110150a5f805ce22bdc";
  }

  static const char* value(const ::uavatt_ros::set_control_modeRequest_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x6887439c975ff110ULL;
  static const uint64_t static_value2 = 0x150a5f805ce22bdcULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::uavatt_ros::set_control_modeRequest_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# service set_control_mode\n"
"uavatt_attitude_control_mode att_mode\n"
"\n"
"================================================================================\n"
"MSG: uavatt_ros/uavatt_attitude_control_mode\n"
"# IDL enum ::uavatt::attitude_control_mode\n"
"uint32 uavatt_full_attitude = 0\n"
"uint32 uavatt_tilt_prioritized = 1\n"
"\n"
"uint32 value\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::uavatt_ros::set_control_modeRequest_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.att_mode);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct set_control_modeRequest_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::uavatt_ros::set_control_modeRequest_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::uavatt_ros::set_control_modeRequest_<ContainerAllocator>& v)
  {
    if (false || !indent.empty())
      s << std::endl;
    s << indent << "att_mode: ";
    Printer< ::uavatt_ros::uavatt_attitude_control_mode_<ContainerAllocator> >::stream(s, indent + "  ", v.att_mode);
  }
};

} // namespace message_operations
} // namespace ros

#endif // UAVATT_ROS_MESSAGE_SET_CONTROL_MODEREQUEST_H
