2025-10-11 21:52:39 +08:00

234 lines
5.8 KiB
C++

// Generated by gencpp from file Aee1220310013/ProcessIDResponse.msg
// DO NOT EDIT!
#ifndef AEE1220310013_MESSAGE_PROCESSIDRESPONSE_H
#define AEE1220310013_MESSAGE_PROCESSIDRESPONSE_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 Aee1220310013
{
template <class ContainerAllocator>
struct ProcessIDResponse_
{
typedef ProcessIDResponse_<ContainerAllocator> Type;
ProcessIDResponse_()
: x(0.0)
, y(0.0)
, radius(0.0)
, direction(0) {
}
ProcessIDResponse_(const ContainerAllocator& _alloc)
: x(0.0)
, y(0.0)
, radius(0.0)
, direction(0) {
(void)_alloc;
}
typedef float _x_type;
_x_type x;
typedef float _y_type;
_y_type y;
typedef float _radius_type;
_radius_type radius;
typedef int32_t _direction_type;
_direction_type direction;
typedef boost::shared_ptr< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> const> ConstPtr;
}; // struct ProcessIDResponse_
typedef ::Aee1220310013::ProcessIDResponse_<std::allocator<void> > ProcessIDResponse;
typedef boost::shared_ptr< ::Aee1220310013::ProcessIDResponse > ProcessIDResponsePtr;
typedef boost::shared_ptr< ::Aee1220310013::ProcessIDResponse const> ProcessIDResponseConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::Aee1220310013::ProcessIDResponse_<ContainerAllocator1> & lhs, const ::Aee1220310013::ProcessIDResponse_<ContainerAllocator2> & rhs)
{
return lhs.x == rhs.x &&
lhs.y == rhs.y &&
lhs.radius == rhs.radius &&
lhs.direction == rhs.direction;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::Aee1220310013::ProcessIDResponse_<ContainerAllocator1> & lhs, const ::Aee1220310013::ProcessIDResponse_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace Aee1220310013
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> >
{
static const char* value()
{
return "deec39c810656f01d6b1be82e15bf4e7";
}
static const char* value(const ::Aee1220310013::ProcessIDResponse_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0xdeec39c810656f01ULL;
static const uint64_t static_value2 = 0xd6b1be82e15bf4e7ULL;
};
template<class ContainerAllocator>
struct DataType< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> >
{
static const char* value()
{
return "Aee1220310013/ProcessIDResponse";
}
static const char* value(const ::Aee1220310013::ProcessIDResponse_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> >
{
static const char* value()
{
return "float32 x\n"
"float32 y\n"
"float32 radius\n"
"int32 direction\n"
;
}
static const char* value(const ::Aee1220310013::ProcessIDResponse_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.x);
stream.next(m.y);
stream.next(m.radius);
stream.next(m.direction);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct ProcessIDResponse_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::Aee1220310013::ProcessIDResponse_<ContainerAllocator>& v)
{
if (false || !indent.empty())
s << std::endl;
s << indent << "x: ";
Printer<float>::stream(s, indent + " ", v.x);
if (true || !indent.empty())
s << std::endl;
s << indent << "y: ";
Printer<float>::stream(s, indent + " ", v.y);
if (true || !indent.empty())
s << std::endl;
s << indent << "radius: ";
Printer<float>::stream(s, indent + " ", v.radius);
if (true || !indent.empty())
s << std::endl;
s << indent << "direction: ";
Printer<int32_t>::stream(s, indent + " ", v.direction);
}
};
} // namespace message_operations
} // namespace ros
#endif // AEE1220310013_MESSAGE_PROCESSIDRESPONSE_H