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


#ifndef NHFC_ROS_MESSAGE_OR_ROTORCRAFT_CONTROL_TYPE_H
#define NHFC_ROS_MESSAGE_OR_ROTORCRAFT_CONTROL_TYPE_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 or_rotorcraft_control_type_
{
  typedef or_rotorcraft_control_type_<ContainerAllocator> Type;

  or_rotorcraft_control_type_()
    : value(0)  {
    }
  or_rotorcraft_control_type_(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(or_rotorcraft_velocity)
  #undef or_rotorcraft_velocity
#endif
#if defined(_WIN32) && defined(or_rotorcraft_throttle)
  #undef or_rotorcraft_throttle
#endif

  enum {
    or_rotorcraft_velocity = 0u,
    or_rotorcraft_throttle = 1u,
  };


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

}; // struct or_rotorcraft_control_type_

typedef ::nhfc_ros::or_rotorcraft_control_type_<std::allocator<void> > or_rotorcraft_control_type;

typedef boost::shared_ptr< ::nhfc_ros::or_rotorcraft_control_type > or_rotorcraft_control_typePtr;
typedef boost::shared_ptr< ::nhfc_ros::or_rotorcraft_control_type const> or_rotorcraft_control_typeConstPtr;

// constants requiring out of line definition

   

   



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


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

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


} // namespace nhfc_ros

namespace ros
{
namespace message_traits
{





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

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

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

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

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

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


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

  static const char* value(const ::nhfc_ros::or_rotorcraft_control_type_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x89df9a570e62af3fULL;
  static const uint64_t static_value2 = 0xac8af0b733e719f9ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::nhfc_ros::or_rotorcraft_control_type_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# IDL enum ::or_rotorcraft::control_type\n"
"uint32 or_rotorcraft_velocity = 0\n"
"uint32 or_rotorcraft_throttle = 1\n"
"\n"
"uint32 value\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

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

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct or_rotorcraft_control_type_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

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