Class block_extent_clear

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

  • public rer::client< block_extent_clear >

Class Documentation

class block_extent_clear : public rer::client<block_extent_clear>

Clear the cells that a block covers while in the arena that are in BLOCK_EXTENT state, resetting them to EMPTY. Called right before deleting the block from the arena.

Note

This operation requires holding the block and grid mutexes in multithreaded contexts.

Public Types

using visit_typelist = visit_typelist_impl::value

Public Functions

block_extent_clear(const block_extent_clear&) = delete
explicit block_extent_clear(crepr::sim_block3D *victim)
block_extent_clear &operator=(const block_extent_clear&) = delete
void visit(cads::arena_grid &grid)