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


#ifndef UAVATT_ROS_MESSAGE_UAVATT_ATTITUDE_CONTROL_MODE_H
#define UAVATT_ROS_MESSAGE_UAVATT_ATTITUDE_CONTROL_MODE_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 uavatt_attitude_control_mode_
{
  typedef uavatt_attitude_control_mode_<ContainerAllocator> Type;

  uavatt_attitude_control_mode_()
    : value(0)  {
    }
  uavatt_attitude_control_mode_(const ContainerAllocator& _alloc)
    : value(0)  {
  (void)_alloc;
    }



   typedef uint32_t _value_type;
  _value_type value;



// reducing the odds to have name collisions with Windows.h 
#if defined(_WIN32) && defined(uavatt_full_attitude)
  #undef uavatt_full_attitude
#endif
#if defined(_WIN32) && defined(uavatt_tilt_prioritized)
  #undef uavatt_tilt_prioritized
#endif

  enum {
    uavatt_full_attitude = 0u,
    uavatt_tilt_prioritized = 1u,
  };


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

}; // struct uavatt_attitude_control_mode_

typedef ::uavatt_ros::uavatt_attitude_control_mode_<std::allocator<void> > uavatt_attitude_control_mode;

typedef boost::shared_ptr< ::uavatt_ros::uavatt_attitude_control_mode > uavatt_attitude_control_modePtr;
typedef boost::shared_ptr< ::uavatt_ros::uavatt_attitude_control_mode const> uavatt_attitude_control_modeConstPtr;

// constants requiring out of line definition

   

   



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


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

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


} // namespace uavatt_ros

namespace ros
{
namespace message_traits
{





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

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

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

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

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

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


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

  static const char* value(const ::uavatt_ros::uavatt_attitude_control_mode_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xf3df5073849de3dfULL;
  static const uint64_t static_value2 = 0x181edf26816a1e46ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::uavatt_ros::uavatt_attitude_control_mode_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# 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::uavatt_attitude_control_mode_<ContainerAllocator>&) { return value(); }
};

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

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

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct uavatt_attitude_control_mode_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

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

} // namespace message_operations
} // namespace ros

#endif // UAVATT_ROS_MESSAGE_UAVATT_ATTITUDE_CONTROL_MODE_H
