|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
One mount's use of a ForEach: the latest snapshot of the rows, and a way to make row slots from it. More...
#include <view.hpp>
Public Member Functions | |
| ForEachSession (ForEachSession const &)=delete | |
| ForEachSession & | operator= (ForEachSession const &)=delete |
| ForEachSession (ForEachSession &&)=delete | |
| ForEachSession & | operator= (ForEachSession &&)=delete |
| virtual std::vector< Key > | pull ()=0 |
| Reads the rows (tracked, inside the mount's Effect), keeps them as the snapshot, and returns their keys. | |
| virtual std::unique_ptr< RowSlot > | makeRow (std::size_t index)=0 |
| Makes the slot for one snapshot entry, building its view. The mount calls it untracked. | |
One mount's use of a ForEach: the latest snapshot of the rows, and a way to make row slots from it.
|
nodiscardpure virtual |
Reads the rows (tracked, inside the mount's Effect), keeps them as the snapshot, and returns their keys.
|
nodiscardpure virtual |
Makes the slot for one snapshot entry, building its view. The mount calls it untracked.
| index | A position in the latest snapshot. |