RAII object for disabling, then restoring ROM write never mode Usage: More...
Public Member Functions
|Allow writing to ROM. More...|
|Restore previous write to ROM settings. More...|
RAII object for disabling, then restoring ROM write never mode Usage:
Definition at line 41 of file ScopedRomWriteLock.h.
Allow writing to ROM.
Increment the ROM write lock to ensure code can write to ROM. This class uses RAII to allow writing to ROM while it is in scope.
Definition at line 51 of file ScopedRomWriteLock.h.
Restore previous write to ROM settings.
Decrement the ROM write lock to return ROM write to its prior state.
Definition at line 62 of file ScopedRomWriteLock.h.