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


#ifndef UAVPOS_ROS_MESSAGE_GENOM_STATE_STATS_H
#define UAVPOS_ROS_MESSAGE_GENOM_STATE_STATS_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 uavpos_ros
{
template <class ContainerAllocator>
struct genom_state_stats_
{
  typedef genom_state_stats_<ContainerAllocator> Type;

  genom_state_stats_()
    : last(0.0)
    , max(0.0)
    , avg(0.0)  {
    }
  genom_state_stats_(const ContainerAllocator& _alloc)
    : last(0.0)
    , max(0.0)
    , avg(0.0)  {
  (void)_alloc;
    }



   typedef float _last_type;
  _last_type last;

   typedef float _max_type;
  _max_type max;

   typedef float _avg_type;
  _avg_type avg;





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

}; // struct genom_state_stats_

typedef ::uavpos_ros::genom_state_stats_<std::allocator<void> > genom_state_stats;

typedef boost::shared_ptr< ::uavpos_ros::genom_state_stats > genom_state_statsPtr;
typedef boost::shared_ptr< ::uavpos_ros::genom_state_stats const> genom_state_statsConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::uavpos_ros::genom_state_stats_<ContainerAllocator1> & lhs, const ::uavpos_ros::genom_state_stats_<ContainerAllocator2> & rhs)
{
  return lhs.last == rhs.last &&
    lhs.max == rhs.max &&
    lhs.avg == rhs.avg;
}

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


} // namespace uavpos_ros

namespace ros
{
namespace message_traits
{





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

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

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

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

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

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


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

  static const char* value(const ::uavpos_ros::genom_state_stats_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xea24c2f8ade7231dULL;
  static const uint64_t static_value2 = 0xc68f4d4e614da226ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::uavpos_ros::genom_state_stats_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# IDL struct ::genom::state::stats\n"
"float32 last\n"
"float32 max\n"
"float32 avg\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

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

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct genom_state_stats_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

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

} // namespace message_operations
} // namespace ros

#endif // UAVPOS_ROS_MESSAGE_GENOM_STATE_STATS_H
