70 lines
1.9 KiB
C++
70 lines
1.9 KiB
C++
// Generated by gencpp from file geometry_msgs/Quaternion.msg
|
|
// DO NOT EDIT!
|
|
|
|
#ifndef GEOMETRY_MSGS_MESSAGE_QUATERNION_H
|
|
#define GEOMETRY_MSGS_MESSAGE_QUATERNION_H
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <memory>
|
|
#include <boost/shared_ptr.hpp>
|
|
|
|
namespace 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<::geometry_msgs::Quaternion_<ContainerAllocator>> Ptr;
|
|
typedef boost::shared_ptr<::geometry_msgs::Quaternion_<ContainerAllocator> const> ConstPtr;
|
|
|
|
}; // struct Quaternion_
|
|
|
|
typedef ::geometry_msgs::Quaternion_<std::allocator<void>> Quaternion;
|
|
|
|
typedef boost::shared_ptr<::geometry_msgs::Quaternion> QuaternionPtr;
|
|
typedef boost::shared_ptr<::geometry_msgs::Quaternion const> QuaternionConstPtr;
|
|
|
|
// constants requiring out of line definition
|
|
|
|
template <typename ContainerAllocator1, typename ContainerAllocator2>
|
|
bool operator==(const ::geometry_msgs::Quaternion_<ContainerAllocator1> &lhs, const ::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 ::geometry_msgs::Quaternion_<ContainerAllocator1> &lhs, const ::geometry_msgs::Quaternion_<ContainerAllocator2> &rhs)
|
|
{
|
|
return !(lhs == rhs);
|
|
}
|
|
|
|
} // namespace geometry_msgs
|
|
#endif // GEOMETRY_MSGS_MESSAGE_QUATERNION_H
|