|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Keeps one snapshot alive and unchanged while it exists. More...
#include <SnapshotCell.hpp>
Public Member Functions | |
| const T * | get () const noexcept |
| The snapshot, or null when the cell was empty. | |
| Guard () noexcept=default | |
| Guard (const Guard &)=delete | |
| Guard (Guard &&other) noexcept | |
| operator bool () const noexcept | |
| const T & | operator* () const noexcept |
| const T * | operator-> () const noexcept |
| Guard & | operator= (const Guard &)=delete |
| Guard & | operator= (Guard &&other) noexcept |
| ~Guard () | |
Private Member Functions | |
| Guard (const SnapshotCell *cell, const T *value) noexcept | |
| void | release () noexcept |
Private Attributes | |
| const SnapshotCell * | m_cell { nullptr } |
| const T * | m_value { nullptr } |
Friends | |
| class | SnapshotCell |
Keeps one snapshot alive and unchanged while it exists.
Empty when the cell held nothing at read(). Movable, not copyable.
Definition at line 46 of file SnapshotCell.hpp.