// Generated by gencpp from file uavpos_ros/set_emergRequest.msg
// DO NOT EDIT!


#ifndef UAVPOS_ROS_MESSAGE_SET_EMERGREQUEST_H
#define UAVPOS_ROS_MESSAGE_SET_EMERGREQUEST_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 <uavpos_ros/uavpos_ids_servo_s_emerg_s.h>

namespace uavpos_ros
{
template <class ContainerAllocator>
struct set_emergRequest_
{
  typedef set_emergRequest_<ContainerAllocator> Type;

  set_emergRequest_()
    : emerg()  {
    }
  set_emergRequest_(const ContainerAllocator& _alloc)
    : emerg(_alloc)  {
  (void)_alloc;
    }



   typedef  ::uavpos_ros::uavpos_ids_servo_s_emerg_s_<ContainerAllocator>  _emerg_type;
  _emerg_type emerg;





  typedef boost::shared_ptr< ::uavpos_ros::set_emergRequest_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::uavpos_ros::set_emergRequest_<ContainerAllocator> const> ConstPtr;

}; // struct set_emergRequest_

typedef ::uavpos_ros::set_emergRequest_<std::allocator<void> > set_emergRequest;

typedef boost::shared_ptr< ::uavpos_ros::set_emergRequest > set_emergRequestPtr;
typedef boost::shared_ptr< ::uavpos_ros::set_emergRequest const> set_emergRequestConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::uavpos_ros::set_emergRequest_<ContainerAllocator1> & lhs, const ::uavpos_ros::set_emergRequest_<ContainerAllocator2> & rhs)
{
  return lhs.emerg == rhs.emerg;
}

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


} // namespace uavpos_ros

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsMessage< ::uavpos_ros::set_emergRequest_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::uavpos_ros::set_emergRequest_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::uavpos_ros::set_emergRequest_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::uavpos_ros::set_emergRequest_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct HasHeader< ::uavpos_ros::set_emergRequest_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::uavpos_ros::set_emergRequest_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::uavpos_ros::set_emergRequest_<ContainerAllocator> >
{
  static const char* value()
  {
    return "5647069710b28c0731fcdb3303b4b90e";
  }

  static const char* value(const ::uavpos_ros::set_emergRequest_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x5647069710b28c07ULL;
  static const uint64_t static_value2 = 0x31fcdb3303b4b90eULL;
};

template<class ContainerAllocator>
struct DataType< ::uavpos_ros::set_emergRequest_<ContainerAllocator> >
{
  static const char* value()
  {
    return "uavpos_ros/set_emergRequest";
  }

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

template<class ContainerAllocator>
struct Definition< ::uavpos_ros::set_emergRequest_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# service set_emerg\n"
"uavpos_ids_servo_s_emerg_s emerg\n"
"\n"
"================================================================================\n"
"MSG: uavpos_ros/uavpos_ids_servo_s_emerg_s\n"
"# IDL struct ::uavpos::ids::servo_s::emerg_s\n"
"float64 descent\n"
"float64 dx\n"
"float64 dv\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

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

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct set_emergRequest_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

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

} // namespace message_operations
} // namespace ros

#endif // UAVPOS_ROS_MESSAGE_SET_EMERGREQUEST_H
