18#ifndef LIVE_CELLS_MERGED_OBSERVABLE_HPP
19#define LIVE_CELLS_MERGED_OBSERVABLE_HPP
30 template <Cell T, Cell... Ts>
54 first.add_observer(
o);
64 first.remove_observer(
o);
80 first.add_observer(
o);
84 first.remove_observer(
o);
A computed cell which determines its argument cells at runtime.
Definition dynamic_compute_cell.hpp:153
Allows multiple cells to be observed at once.
Definition merged_observable.hpp:31
merged_observable(T first, Ts... rest)
Create a merged_observable that adds observers to the cells first and rest... into.
Definition merged_observable.hpp:44
void remove_observer(observer::ref o) const
Definition merged_observable.hpp:63
void add_observer(observer::ref o) const
Definition merged_observable.hpp:53
std::shared_ptr< observer > ref
Shared pointer to an observer.
Definition types.hpp:37
Definition boolean.hpp:26