|
NavMap
|
Non-templated base for runtime layer handling. More...
#include <NavMap.hpp>


Public Member Functions | |
| virtual std::uint64_t | content_hash () const =0 |
| Return 64-bit content hash (cached; recomputed lazily). | |
| void | mark_dirty () const noexcept |
| Mark content dirty (forces hash recompute on next query). | |
| virtual const std::string & | name () const =0 |
| virtual size_t | size () const =0 |
| virtual LayerType | type () const =0 |
| virtual | ~LayerViewBase ()=default |
Protected Attributes | |
| std::uint64_t | hash_cache_ {0} |
| bool | hash_dirty_ {true} |
Non-templated base for runtime layer handling.
A layer stores one scalar value per NavCel (triangle).
|
virtualdefault |
|
pure virtual |
Return 64-bit content hash (cached; recomputed lazily).
Implemented in LayerView< T >, and LayerView< T >.
|
noexcept |
Mark content dirty (forces hash recompute on next query).
|
pure virtual |
Implemented in LayerView< T >, and LayerView< T >.
|
pure virtual |
Implemented in LayerView< T >, and LayerView< T >.
|
pure virtual |
Implemented in LayerView< T >, and LayerView< T >.
|
mutableprotected |
|
mutableprotected |