42#ifndef UFO_MAP_OCCUPANCY_STATE_HPP
43#define UFO_MAP_OCCUPANCY_STATE_HPP
46#include <ufo/utility/enum.hpp>
53enum class OccupancyState : std::int8_t {
UNKNOWN = 0, FREE = -1, OCCUPIED = 1 };
55constexpr inline bool operator==(OccupancyState lhs, OccupancyState rhs)
57 return to_underlying(lhs) == to_underlying(rhs);
60constexpr inline bool operator!=(OccupancyState lhs, OccupancyState rhs)
65constexpr inline bool operator<(OccupancyState lhs, OccupancyState rhs)
67 return to_underlying(lhs) < to_underlying(rhs);
70constexpr inline bool operator<=(OccupancyState lhs, OccupancyState rhs)
72 return to_underlying(lhs) <= to_underlying(rhs);
75constexpr inline bool operator>(OccupancyState lhs, OccupancyState rhs)
80constexpr inline bool operator>=(OccupancyState lhs, OccupancyState rhs)
All vision-related classes and functions.
@ UNKNOWN
Unrecognised or missing file extension.