common_msgs/robot_geometry_msgs/include/robot_geometry_msgs/Quaternion.h
2025-12-30 10:23:55 +07:00

70 lines
2.0 KiB
C++

// Generated by gencpp from file robot_geometry_msgs/Quaternion.msg
// DO NOT EDIT!
#ifndef ROBOT_GEOMETRY_MSGS_MESSAGE_QUATERNION_H
#define ROBOT_GEOMETRY_MSGS_MESSAGE_QUATERNION_H
#include <string>
#include <vector>
#include <memory>
#include <boost/shared_ptr.hpp>
namespace robot_geometry_msgs
{
template <class ContainerAllocator>
struct Quaternion_
{
typedef Quaternion_<ContainerAllocator> Type;
Quaternion_()
: x(0.0), y(0.0), z(0.0), w(0.0)
{
}
Quaternion_(const ContainerAllocator &_alloc)
: x(0.0), y(0.0), z(0.0), w(0.0)
{
(void)_alloc;
}
typedef double _x_type;
_x_type x;
typedef double _y_type;
_y_type y;
typedef double _z_type;
_z_type z;
typedef double _w_type;
_w_type w;
typedef boost::shared_ptr<::robot_geometry_msgs::Quaternion_<ContainerAllocator>> Ptr;
typedef boost::shared_ptr<::robot_geometry_msgs::Quaternion_<ContainerAllocator> const> ConstPtr;
}; // struct Quaternion_
typedef ::robot_geometry_msgs::Quaternion_<std::allocator<void>> Quaternion;
typedef boost::shared_ptr<::robot_geometry_msgs::Quaternion> QuaternionPtr;
typedef boost::shared_ptr<::robot_geometry_msgs::Quaternion const> QuaternionConstPtr;
// constants requiring out of line definition
template <typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::robot_geometry_msgs::Quaternion_<ContainerAllocator1> &lhs, const ::robot_geometry_msgs::Quaternion_<ContainerAllocator2> &rhs)
{
return lhs.x == rhs.x &&
lhs.y == rhs.y &&
lhs.z == rhs.z &&
lhs.w == rhs.w;
}
template <typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::robot_geometry_msgs::Quaternion_<ContainerAllocator1> &lhs, const ::robot_geometry_msgs::Quaternion_<ContainerAllocator2> &rhs)
{
return !(lhs == rhs);
}
} // namespace robot_geometry_msgs
#endif // ROBOT_GEOMETRY_MSGS_MESSAGE_QUATERNION_H