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


#ifndef NHFC_ROS_MESSAGE_NHFC_ATTITUDE_CONTROL_MODE_H
#define NHFC_ROS_MESSAGE_NHFC_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 nhfc_ros
{
template <class ContainerAllocator>
struct nhfc_attitude_control_mode_
{
  typedef nhfc_attitude_control_mode_<ContainerAllocator> Type;

  nhfc_attitude_control_mode_()
    : value(0)  {
    }
  nhfc_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(nhfc_full_attitude)
  #undef nhfc_full_attitude
#endif
#if defined(_WIN32) && defined(nhfc_tilt_prioritized)
  #undef nhfc_tilt_prioritized
#endif

  enum {
    nhfc_full_attitude = 0u,
    nhfc_tilt_prioritized = 1u,
  };


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

}; // struct nhfc_attitude_control_mode_

typedef ::nhfc_ros::nhfc_attitude_control_mode_<std::allocator<void> > nhfc_attitude_control_mode;

typedef boost::shared_ptr< ::nhfc_ros::nhfc_attitude_control_mode > nhfc_attitude_control_modePtr;
typedef boost::shared_ptr< ::nhfc_ros::nhfc_attitude_control_mode const> nhfc_attitude_control_modeConstPtr;

// constants requiring out of line definition

   

   



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


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

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


} // namespace nhfc_ros

namespace ros
{
namespace message_traits
{





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

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

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

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

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

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


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

  static const char* value(const ::nhfc_ros::nhfc_attitude_control_mode_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xde17ce5c4811383aULL;
  static const uint64_t static_value2 = 0x5a220c7b9e6698c2ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::nhfc_ros::nhfc_attitude_control_mode_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# IDL enum ::nhfc::attitude_control_mode\n"
"uint32 nhfc_full_attitude = 0\n"
"uint32 nhfc_tilt_prioritized = 1\n"
"\n"
"uint32 value\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::nhfc_ros::nhfc_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 nhfc_attitude_control_mode_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::nhfc_ros::nhfc_attitude_control_mode_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nhfc_ros::nhfc_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 // NHFC_ROS_MESSAGE_NHFC_ATTITUDE_CONTROL_MODE_H
