drone-rigide/workspace/devel/.private/vqimg/include/vqimg/component_centers.h
2019-03-11 15:24:29 +01:00

201 lines
5.4 KiB
C++

// Generated by gencpp from file vqimg/component_centers.msg
// DO NOT EDIT!
#ifndef VQIMG_MESSAGE_COMPONENT_CENTERS_H
#define VQIMG_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 <vqimg/component_center.h>
namespace vqimg
{
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< ::vqimg::component_center_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::vqimg::component_center_<ContainerAllocator> >::other > _data_type;
_data_type data;
typedef boost::shared_ptr< ::vqimg::component_centers_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::vqimg::component_centers_<ContainerAllocator> const> ConstPtr;
}; // struct component_centers_
typedef ::vqimg::component_centers_<std::allocator<void> > component_centers;
typedef boost::shared_ptr< ::vqimg::component_centers > component_centersPtr;
typedef boost::shared_ptr< ::vqimg::component_centers const> component_centersConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::vqimg::component_centers_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::vqimg::component_centers_<ContainerAllocator> >::stream(s, "", v);
return s;
}
} // namespace vqimg
namespace ros
{
namespace message_traits
{
// BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
// {'std_msgs': ['/opt/ros/melodic/share/std_msgs/cmake/../msg'], 'vqimg': ['/home/klafyvel/Documents/supelec/2A/projet/workspace/src/vqimg/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< ::vqimg::component_centers_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::vqimg::component_centers_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct IsMessage< ::vqimg::component_centers_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::vqimg::component_centers_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::vqimg::component_centers_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::vqimg::component_centers_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::vqimg::component_centers_<ContainerAllocator> >
{
static const char* value()
{
return "22da8af7f61e90ef304d55db8ee79368";
}
static const char* value(const ::vqimg::component_centers_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x22da8af7f61e90efULL;
static const uint64_t static_value2 = 0x304d55db8ee79368ULL;
};
template<class ContainerAllocator>
struct DataType< ::vqimg::component_centers_<ContainerAllocator> >
{
static const char* value()
{
return "vqimg/component_centers";
}
static const char* value(const ::vqimg::component_centers_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::vqimg::component_centers_<ContainerAllocator> >
{
static const char* value()
{
return "component_center[] data\n\
\n\
================================================================================\n\
MSG: vqimg/component_center\n\
int64 label\n\
int64 nb_vertex\n\
float64 x\n\
float64 y\n\
";
}
static const char* value(const ::vqimg::component_centers_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::vqimg::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< ::vqimg::component_centers_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::vqimg::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< ::vqimg::component_center_<ContainerAllocator> >::stream(s, indent + " ", v.data[i]);
}
}
};
} // namespace message_operations
} // namespace ros
#endif // VQIMG_MESSAGE_COMPONENT_CENTERS_H