// Generated by gencpp from file kern_pcb_balance_msgs/KernReading.msg
// DO NOT EDIT!


#ifndef KERN_PCB_BALANCE_MSGS_MESSAGE_KERNREADING_H
#define KERN_PCB_BALANCE_MSGS_MESSAGE_KERNREADING_H


#include <string>
#include <vector>
#include <map>

#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>


namespace kern_pcb_balance_msgs
{
template <class ContainerAllocator>
struct KernReading_
{
  typedef KernReading_<ContainerAllocator> Type;

  KernReading_()
    : weight(0.0)  {
    }
  KernReading_(const ContainerAllocator& _alloc)
    : weight(0.0)  {
  (void)_alloc;
    }



   typedef float _weight_type;
  _weight_type weight;





  typedef boost::shared_ptr< ::kern_pcb_balance_msgs::KernReading_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::kern_pcb_balance_msgs::KernReading_<ContainerAllocator> const> ConstPtr;

}; // struct KernReading_

typedef ::kern_pcb_balance_msgs::KernReading_<std::allocator<void> > KernReading;

typedef boost::shared_ptr< ::kern_pcb_balance_msgs::KernReading > KernReadingPtr;
typedef boost::shared_ptr< ::kern_pcb_balance_msgs::KernReading const> KernReadingConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::kern_pcb_balance_msgs::KernReading_<ContainerAllocator1> & lhs, const ::kern_pcb_balance_msgs::KernReading_<ContainerAllocator2> & rhs)
{
  return lhs.weight == rhs.weight;
}

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


} // namespace kern_pcb_balance_msgs

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsMessage< ::kern_pcb_balance_msgs::KernReading_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::kern_pcb_balance_msgs::KernReading_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::kern_pcb_balance_msgs::KernReading_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::kern_pcb_balance_msgs::KernReading_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct HasHeader< ::kern_pcb_balance_msgs::KernReading_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::kern_pcb_balance_msgs::KernReading_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::kern_pcb_balance_msgs::KernReading_<ContainerAllocator> >
{
  static const char* value()
  {
    return "ead5cc9b5c68ccc4aabb4fdc1ec2e8db";
  }

  static const char* value(const ::kern_pcb_balance_msgs::KernReading_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xead5cc9b5c68ccc4ULL;
  static const uint64_t static_value2 = 0xaabb4fdc1ec2e8dbULL;
};

template<class ContainerAllocator>
struct DataType< ::kern_pcb_balance_msgs::KernReading_<ContainerAllocator> >
{
  static const char* value()
  {
    return "kern_pcb_balance_msgs/KernReading";
  }

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

template<class ContainerAllocator>
struct Definition< ::kern_pcb_balance_msgs::KernReading_<ContainerAllocator> >
{
  static const char* value()
  {
    return "float32 weight\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

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

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct KernReading_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::kern_pcb_balance_msgs::KernReading_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::kern_pcb_balance_msgs::KernReading_<ContainerAllocator>& v)
  {
    s << indent << "weight: ";
    Printer<float>::stream(s, indent + "  ", v.weight);
  }
};

} // namespace message_operations
} // namespace ros

#endif // KERN_PCB_BALANCE_MSGS_MESSAGE_KERNREADING_H
