|
RTOS Wrapper
API reference
|
#include <SeqlockSnapshot.h>
Public Member Functions | |
| virtual | ~SnapshotWriter () noexcept=default |
| virtual void | Publish (const T &value) noexcept=0 |
Atomically replace the published snapshot with value. | |
|
virtualdefaultnoexcept |
|
pure virtualnoexcept |
Atomically replace the published snapshot with value.
Single-writer only. Increments Seq() by 2 and signals waiters.
Implemented in hf::SeqlockSnapshot< T >.