// Generated by gencpp from file common_msgs/SetLightStatusRequest.msg
// DO NOT EDIT!


#ifndef COMMON_MSGS_MESSAGE_SETLIGHTSTATUSREQUEST_H
#define COMMON_MSGS_MESSAGE_SETLIGHTSTATUSREQUEST_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 common_msgs
{
template <class ContainerAllocator>
struct SetLightStatusRequest_
{
  typedef SetLightStatusRequest_<ContainerAllocator> Type;

  SetLightStatusRequest_()
    : head_light(0.0)
    , ring_light(0.0)
    , led_red(0.0)
    , led_yellow(0.0)
    , led_blue(0.0)
    , led_ratio(0.0)  {
    }
  SetLightStatusRequest_(const ContainerAllocator& _alloc)
    : head_light(0.0)
    , ring_light(0.0)
    , led_red(0.0)
    , led_yellow(0.0)
    , led_blue(0.0)
    , led_ratio(0.0)  {
  (void)_alloc;
    }



   typedef float _head_light_type;
  _head_light_type head_light;

   typedef float _ring_light_type;
  _ring_light_type ring_light;

   typedef float _led_red_type;
  _led_red_type led_red;

   typedef float _led_yellow_type;
  _led_yellow_type led_yellow;

   typedef float _led_blue_type;
  _led_blue_type led_blue;

   typedef float _led_ratio_type;
  _led_ratio_type led_ratio;





  typedef boost::shared_ptr< ::common_msgs::SetLightStatusRequest_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::common_msgs::SetLightStatusRequest_<ContainerAllocator> const> ConstPtr;

}; // struct SetLightStatusRequest_

typedef ::common_msgs::SetLightStatusRequest_<std::allocator<void> > SetLightStatusRequest;

typedef boost::shared_ptr< ::common_msgs::SetLightStatusRequest > SetLightStatusRequestPtr;
typedef boost::shared_ptr< ::common_msgs::SetLightStatusRequest const> SetLightStatusRequestConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::common_msgs::SetLightStatusRequest_<ContainerAllocator1> & lhs, const ::common_msgs::SetLightStatusRequest_<ContainerAllocator2> & rhs)
{
  return lhs.head_light == rhs.head_light &&
    lhs.ring_light == rhs.ring_light &&
    lhs.led_red == rhs.led_red &&
    lhs.led_yellow == rhs.led_yellow &&
    lhs.led_blue == rhs.led_blue &&
    lhs.led_ratio == rhs.led_ratio;
}

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


} // namespace common_msgs

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsFixedSize< ::common_msgs::SetLightStatusRequest_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::common_msgs::SetLightStatusRequest_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::common_msgs::SetLightStatusRequest_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::common_msgs::SetLightStatusRequest_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct HasHeader< ::common_msgs::SetLightStatusRequest_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::common_msgs::SetLightStatusRequest_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::common_msgs::SetLightStatusRequest_<ContainerAllocator> >
{
  static const char* value()
  {
    return "9d948a7b9c70159b669e8d28efcce40a";
  }

  static const char* value(const ::common_msgs::SetLightStatusRequest_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x9d948a7b9c70159bULL;
  static const uint64_t static_value2 = 0x669e8d28efcce40aULL;
};

template<class ContainerAllocator>
struct DataType< ::common_msgs::SetLightStatusRequest_<ContainerAllocator> >
{
  static const char* value()
  {
    return "common_msgs/SetLightStatusRequest";
  }

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

template<class ContainerAllocator>
struct Definition< ::common_msgs::SetLightStatusRequest_<ContainerAllocator> >
{
  static const char* value()
  {
    return "#灯光控制\n"
"#前大灯\n"
"float32 head_light\n"
"#光圈灯\n"
"float32 ring_light\n"
"#Led灯\n"
"float32 led_red\n"
"float32 led_yellow\n"
"float32 led_blue\n"
"float32 led_ratio\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::common_msgs::SetLightStatusRequest_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.head_light);
      stream.next(m.ring_light);
      stream.next(m.led_red);
      stream.next(m.led_yellow);
      stream.next(m.led_blue);
      stream.next(m.led_ratio);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct SetLightStatusRequest_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::common_msgs::SetLightStatusRequest_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::common_msgs::SetLightStatusRequest_<ContainerAllocator>& v)
  {
    s << indent << "head_light: ";
    Printer<float>::stream(s, indent + "  ", v.head_light);
    s << indent << "ring_light: ";
    Printer<float>::stream(s, indent + "  ", v.ring_light);
    s << indent << "led_red: ";
    Printer<float>::stream(s, indent + "  ", v.led_red);
    s << indent << "led_yellow: ";
    Printer<float>::stream(s, indent + "  ", v.led_yellow);
    s << indent << "led_blue: ";
    Printer<float>::stream(s, indent + "  ", v.led_blue);
    s << indent << "led_ratio: ";
    Printer<float>::stream(s, indent + "  ", v.led_ratio);
  }
};

} // namespace message_operations
} // namespace ros

#endif // COMMON_MSGS_MESSAGE_SETLIGHTSTATUSREQUEST_H