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 42 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 52 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 63 of file ScopedRomWriteLock.h.