// Generated by gencpp from file detect_targets/component_centers.msg
// DO NOT EDIT!


#ifndef DETECT_TARGETS_MESSAGE_COMPONENT_CENTERS_H
#define DETECT_TARGETS_MESSAGE_COMPONENT_CENTERS_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>

#include <detect_targets/component_center.h>

namespace detect_targets
{
template <class ContainerAllocator>
struct component_centers_
{
  typedef component_centers_<ContainerAllocator> Type;

  component_centers_()
    : data()  {
    }
  component_centers_(const ContainerAllocator& _alloc)
    : data(_alloc)  {
  (void)_alloc;
    }



   typedef std::vector< ::detect_targets::component_center_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::detect_targets::component_center_<ContainerAllocator> >::other >  _data_type;
  _data_type data;





  typedef boost::shared_ptr< ::detect_targets::component_centers_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::detect_targets::component_centers_<ContainerAllocator> const> ConstPtr;

}; // struct component_centers_

typedef ::detect_targets::component_centers_<std::allocator<void> > component_centers;

typedef boost::shared_ptr< ::detect_targets::component_centers > component_centersPtr;
typedef boost::shared_ptr< ::detect_targets::component_centers const> component_centersConstPtr;

// constants requiring out of line definition



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

} // namespace detect_targets

namespace ros
{
namespace message_traits
{



// BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
// {'std_msgs': ['/opt/ros/melodic/share/std_msgs/cmake/../msg'], 'detect_targets': ['/home/klafyvel/Documents/supelec/2A/projet/workspace/src/detect_targets/msg']}

// !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']




template <class ContainerAllocator>
struct IsFixedSize< ::detect_targets::component_centers_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::detect_targets::component_centers_<ContainerAllocator> const>
  : FalseType
  { };

template <class ContainerAllocator>
struct IsMessage< ::detect_targets::component_centers_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::detect_targets::component_centers_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct HasHeader< ::detect_targets::component_centers_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::detect_targets::component_centers_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::detect_targets::component_centers_<ContainerAllocator> >
{
  static const char* value()
  {
    return "22da8af7f61e90ef304d55db8ee79368";
  }

  static const char* value(const ::detect_targets::component_centers_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x22da8af7f61e90efULL;
  static const uint64_t static_value2 = 0x304d55db8ee79368ULL;
};

template<class ContainerAllocator>
struct DataType< ::detect_targets::component_centers_<ContainerAllocator> >
{
  static const char* value()
  {
    return "detect_targets/component_centers";
  }

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

template<class ContainerAllocator>
struct Definition< ::detect_targets::component_centers_<ContainerAllocator> >
{
  static const char* value()
  {
    return "component_center[] data\n\
\n\
================================================================================\n\
MSG: detect_targets/component_center\n\
int64   label\n\
int64   nb_vertex\n\
float64 x\n\
float64 y\n\
";
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

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

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct component_centers_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::detect_targets::component_centers_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::detect_targets::component_centers_<ContainerAllocator>& v)
  {
    s << indent << "data[]" << std::endl;
    for (size_t i = 0; i < v.data.size(); ++i)
    {
      s << indent << "  data[" << i << "]: ";
      s << std::endl;
      s << indent;
      Printer< ::detect_targets::component_center_<ContainerAllocator> >::stream(s, indent + "    ", v.data[i]);
    }
  }
};

} // namespace message_operations
} // namespace ros

#endif // DETECT_TARGETS_MESSAGE_COMPONENT_CENTERS_H
