Struct Occupancy

Inheritance Relationships

Base Type

Struct Documentation

struct Occupancy : public wavemap::TypeSelector<Occupancy>

Public Types

enum Id

Values:

enumerator kFree
enumerator kOccupied
enumerator kUnobserved
enumerator kObserved
enumerator kAny
using Mask = uint8_t

Public Functions

inline constexpr Mask toMask() const

Public Static Functions

static constexpr Mask toMask(Id type_id)
static constexpr Mask toMask(bool free, bool occupied, bool unobserved)

Public Static Attributes

static constexpr std::array names = {"free", "occupied", "unobserved", "observed", "any"}