RAII object for disabling, then restoring ROM write never mode Usage: More...
#include <ScopedRomWriteLock.h>
Public Member Functions | |
ScopedRomWriteLock () | |
Allow writing to ROM. More... | |
~ScopedRomWriteLock () | |
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.
~ScopedRomWriteLock | ( | ) |
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.