|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
inline |
Edits a copy of the current snapshot and publishes it.
Starts from a default constructed T when the cell is empty. If another writer publishes first, the copy is discarded and edit runs again on the newer snapshot, so it may run more than once and must depend only on the value it is given.
| Edit | Callable (T&) returning void, or bool. |
| edit | Mutates the copy. A bool return of false abandons the edit and publishes nothing. |
edit declined. Definition at line 173 of file SnapshotCell.hpp.
References MayaFlux::Memory::SnapshotCell< T >::Guard::get(), m_head, read(), and retire().
Referenced by MayaFlux::Platform::SystemConfig::get_dep_includes().