xentara-plugin v2.0.4
The Xentara Plugin Framework
|
A sentinel that protects read access to memory containing a bit field. More...
#include <xentara/memory/ReadSentinel_Bit.hpp>
Public Member Functions | |
ReadSentinel (const BitHandle &handle) | |
Constructor for a handle. | |
internal auto | get () const noexcept -> bool |
Gets the bits. | |
auto | operator* () const noexcept -> bool |
Gets the bits. | |
auto | end () -> void |
Ends reading prematurely. | |
A sentinel that protects read access to memory containing a bit field.
xentara::memory::ReadSentinel< Bit >::ReadSentinel | ( | const BitHandle & | handle | ) |
Constructor for a handle.
handle | The handle you wish to read from |
auto xentara::memory::ReadSentinel< Bit >::end | ( | ) | -> void |
Ends reading prematurely.
|
noexcept |
Gets the bits.
|
noexcept |
Gets the bits.