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


#ifndef NHFC_ROS_MESSAGE_SET_CONTROL_MODEREQUEST_H
#define NHFC_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 <nhfc_ros/nhfc_attitude_control_mode.h>

namespace nhfc_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  ::nhfc_ros::nhfc_attitude_control_mode_<ContainerAllocator>  _att_mode_type;
  _att_mode_type att_mode;





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

}; // struct set_control_modeRequest_

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

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

// constants requiring out of line definition



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


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

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


} // namespace nhfc_ros

namespace ros
{
namespace message_traits
{





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

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

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

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

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

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


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

  static const char* value(const ::nhfc_ros::set_control_modeRequest_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x2fccdcdbaa881f81ULL;
  static const uint64_t static_value2 = 0xa056f39ae9bc2f58ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::nhfc_ros::set_control_modeRequest_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# service set_control_mode\n"
"nhfc_attitude_control_mode att_mode\n"
"\n"
"================================================================================\n"
"MSG: nhfc_ros/nhfc_attitude_control_mode\n"
"# 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::set_control_modeRequest_<ContainerAllocator>&) { return value(); }
};

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::nhfc_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< ::nhfc_ros::set_control_modeRequest_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nhfc_ros::set_control_modeRequest_<ContainerAllocator>& v)
  {
    if (false || !indent.empty())
      s << std::endl;
    s << indent << "att_mode: ";
    Printer< ::nhfc_ros::nhfc_attitude_control_mode_<ContainerAllocator> >::stream(s, indent + "  ", v.att_mode);
  }
};

} // namespace message_operations
} // namespace ros

#endif // NHFC_ROS_MESSAGE_SET_CONTROL_MODEREQUEST_H
