Live Cells C++
Reactive Programming for C++
Loading...
Searching...
No Matches
live_cells::batch_update Class Reference

Defer changes to the values of mutable cells. More...

#include <mutable_cell.hpp>

Public Member Functions

 batch_update (const batch_update &)=delete
 
batch_updateoperator= (const batch_update &)=delete
 

Friends

template<typename T >
class mutable_cell_state
 

Detailed Description

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.

Warning
Do not allocate instances of this class using dynamic allocation.

The documentation for this class was generated from the following files: