carb::settings::ScopedRead

Defined in carb/settings/ISettings.h

class ScopedRead : public carb::dictionary::ScopedRead

A helper class for performing a scoped read lock on the settings database.

Public Functions

inline ScopedRead()

RAII constructor.

Immediately takes a read lock and holds it until *this is destroyed.

Note

Settings locks are recursive.

~ScopedRead() = default

Destructor. Releases the read lock.