68 lines
1.7 KiB
C++
68 lines
1.7 KiB
C++
#ifndef ROBOT_BASE_LOCAL_PLANNER_MESSAGE_POSITION2DINT_H
|
|
#define ROBOT_BASE_LOCAL_PLANNER_MESSAGE_POSITION2DINT_H
|
|
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <memory>
|
|
|
|
namespace robot_base_local_planner
|
|
{
|
|
template <class ContainerAllocator>
|
|
struct Position2DInt_
|
|
{
|
|
typedef Position2DInt_<ContainerAllocator> Type;
|
|
|
|
Position2DInt_()
|
|
: x(0)
|
|
, y(0) {
|
|
}
|
|
Position2DInt_(const ContainerAllocator& _alloc)
|
|
: x(0)
|
|
, y(0) {
|
|
(void)_alloc;
|
|
}
|
|
|
|
|
|
|
|
typedef int64_t _x_type;
|
|
_x_type x;
|
|
|
|
typedef int64_t _y_type;
|
|
_y_type y;
|
|
|
|
|
|
|
|
|
|
|
|
typedef boost::shared_ptr< ::robot_base_local_planner::Position2DInt_<ContainerAllocator> > Ptr;
|
|
typedef boost::shared_ptr< ::robot_base_local_planner::Position2DInt_<ContainerAllocator> const> ConstPtr;
|
|
|
|
}; // struct Position2DInt_
|
|
|
|
typedef ::robot_base_local_planner::Position2DInt_<std::allocator<void> > Position2DInt;
|
|
|
|
typedef boost::shared_ptr< ::robot_base_local_planner::Position2DInt > Position2DIntPtr;
|
|
typedef boost::shared_ptr< ::robot_base_local_planner::Position2DInt const> Position2DIntConstPtr;
|
|
|
|
// constants requiring out of line definition
|
|
|
|
|
|
|
|
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
|
bool operator==(const ::robot_base_local_planner::Position2DInt_<ContainerAllocator1> & lhs, const ::robot_base_local_planner::Position2DInt_<ContainerAllocator2> & rhs)
|
|
{
|
|
return lhs.x == rhs.x &&
|
|
lhs.y == rhs.y;
|
|
}
|
|
|
|
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
|
bool operator!=(const ::robot_base_local_planner::Position2DInt_<ContainerAllocator1> & lhs, const ::robot_base_local_planner::Position2DInt_<ContainerAllocator2> & rhs)
|
|
{
|
|
return !(lhs == rhs);
|
|
}
|
|
|
|
|
|
} // namespace robot_base_local_planner
|
|
|
|
#endif // BASE_LOCAL_PLANNER_MESSAGE_POSITION2DINT_H
|