Live Cells C++
Reactive Programming for C++
|
Defer changes to the values of mutable cells. More...
#include <mutable_cell.hpp>
Public Member Functions | |
batch_update (const batch_update &)=delete | |
batch_update & | operator= (const batch_update &)=delete |
Friends | |
template<typename T > | |
class | mutable_cell_state |
Defer changes to the values of mutable cells.
When an instance of this class is in scope, observers of mutable cells will not be notified immediately when the values of the cells are set, but instead will be notified when this object is destroyed.
Creating a new instance when one already exists has no effect, the observers will only be notified when the first instance is destroyed.