common_msgs/robot_nav_msgs/include/robot_nav_msgs/OccupancyGrid.h
2025-12-30 09:56:21 +07:00

77 lines
2.1 KiB
C++

// Generated by gencpp from file robot_nav_msgs/OccupancyGrid.msg
// DO NOT EDIT!
#ifndef NAV_MSGS_MESSAGE_OCCUPANCYGRID_H
#define NAV_MSGS_MESSAGE_OCCUPANCYGRID_H
#include <string>
#include <vector>
#include <memory>
#include <boost/shared_ptr.hpp>
#include <robot_std_msgs/Header.h>
#include <robot_nav_msgs/MapMetaData.h>
namespace robot_nav_msgs
{
template <class ContainerAllocator>
struct OccupancyGrid_
{
typedef OccupancyGrid_<ContainerAllocator> Type;
OccupancyGrid_()
: header()
, info()
, data() {
}
OccupancyGrid_(const ContainerAllocator& _alloc)
: header(_alloc)
, info(_alloc)
, data(_alloc) {
(void)_alloc;
}
typedef ::robot_std_msgs::Header _header_type;
_header_type header;
typedef ::robot_nav_msgs::MapMetaData_<ContainerAllocator> _info_type;
_info_type info;
typedef std::vector<int8_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<int8_t>> _data_type;
_data_type data;
typedef boost::shared_ptr< ::robot_nav_msgs::OccupancyGrid_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::robot_nav_msgs::OccupancyGrid_<ContainerAllocator> const> ConstPtr;
}; // struct OccupancyGrid_
typedef ::robot_nav_msgs::OccupancyGrid_<std::allocator<void> > OccupancyGrid;
typedef boost::shared_ptr< ::robot_nav_msgs::OccupancyGrid > OccupancyGridPtr;
typedef boost::shared_ptr< ::robot_nav_msgs::OccupancyGrid const> OccupancyGridConstPtr;
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::robot_nav_msgs::OccupancyGrid_<ContainerAllocator1> & lhs, const ::robot_nav_msgs::OccupancyGrid_<ContainerAllocator2> & rhs)
{
return lhs.header == rhs.header &&
lhs.info == rhs.info &&
lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::robot_nav_msgs::OccupancyGrid_<ContainerAllocator1> & lhs, const ::robot_nav_msgs::OccupancyGrid_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace robot_nav_msgs
#endif // NAV_MSGS_MESSAGE_OCCUPANCYGRID_H