common_msgs/nav_msgs/include/nav_msgs/GridCells.h
2025-12-30 09:10:03 +07:00

83 lines
2.1 KiB
C++

// Generated by gencpp from file nav_msgs/GridCells.msg
// DO NOT EDIT!
#ifndef NAV_MSGS_MESSAGE_GRIDCELLS_H
#define NAV_MSGS_MESSAGE_GRIDCELLS_H
#include <string>
#include <vector>
#include <memory>
#include <boost/shared_ptr.hpp>
#include <std_msgs/Header.h>
#include <robot_geometry_msgs/Point.h>
namespace nav_msgs
{
template <class ContainerAllocator>
struct GridCells_
{
typedef GridCells_<ContainerAllocator> Type;
GridCells_()
: header()
, cell_width(0.0)
, cell_height(0.0)
, cells() {
}
GridCells_(const ContainerAllocator& _alloc)
: header(_alloc)
, cell_width(0.0)
, cell_height(0.0)
, cells(_alloc) {
(void)_alloc;
}
typedef ::std_msgs::Header _header_type;
_header_type header;
typedef float _cell_width_type;
_cell_width_type cell_width;
typedef float _cell_height_type;
_cell_height_type cell_height;
typedef std::vector< ::robot_geometry_msgs::Point , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::robot_geometry_msgs::Point >> _cells_type;
_cells_type cells;
typedef boost::shared_ptr< ::nav_msgs::GridCells_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::nav_msgs::GridCells_<ContainerAllocator> const> ConstPtr;
}; // struct GridCells_
typedef ::nav_msgs::GridCells_<std::allocator<void> > GridCells;
typedef boost::shared_ptr< ::nav_msgs::GridCells > GridCellsPtr;
typedef boost::shared_ptr< ::nav_msgs::GridCells const> GridCellsConstPtr;
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::nav_msgs::GridCells_<ContainerAllocator1> & lhs, const ::nav_msgs::GridCells_<ContainerAllocator2> & rhs)
{
return lhs.header == rhs.header &&
lhs.cell_width == rhs.cell_width &&
lhs.cell_height == rhs.cell_height &&
lhs.cells == rhs.cells;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::nav_msgs::GridCells_<ContainerAllocator1> & lhs, const ::nav_msgs::GridCells_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace nav_msgs
#endif // NAV_MSGS_MESSAGE_GRIDCELLS_H