Ensures that the real unit map is active for the duration of the struct's life. More...
#include <manager.hpp>
Public Member Functions | |
real_map () | |
~real_map () | |
Public Attributes | |
bool | initial_planned_unit_map_ |
whiteboard_lock | unit_map_lock_ |
Ensures that the real unit map is active for the duration of the struct's life.
On destruction reverts to planned unit map if it was active when the struct was created.
Definition at line 279 of file manager.hpp.
wb::real_map::real_map | ( | ) |
Definition at line 1232 of file manager.cpp.
References initial_planned_unit_map_, and resources::whiteboard.
wb::real_map::~real_map | ( | ) |
Definition at line 1242 of file manager.cpp.
References initial_planned_unit_map_, and resources::whiteboard.
bool wb::real_map::initial_planned_unit_map_ |
Definition at line 283 of file manager.hpp.
Referenced by real_map(), and ~real_map().
whiteboard_lock wb::real_map::unit_map_lock_ |
Definition at line 284 of file manager.hpp.