morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::detail::ForEachModel Class Referenceabstract

A ForEach's row source, key function and row view, with the row type erased. More...

#include <view.hpp>

Inheritance diagram for morph::ui::detail::ForEachModel:
morph::ui::detail::TypedForEach< RowT >

Public Member Functions

 ForEachModel (ForEachModel const &)=delete
ForEachModel & operator= (ForEachModel const &)=delete
 ForEachModel (ForEachModel &&)=delete
ForEachModel & operator= (ForEachModel &&)=delete
virtual std::unique_ptr< ForEachSession > open (reactive::Runtime &runtime) const =0
 Starts one mount's session.

Detailed Description

A ForEach's row source, key function and row view, with the row type erased.

Definition at line 760 of file view.hpp.

Member Function Documentation

◆ open()

virtual std::unique_ptr< ForEachSession > morph::ui::detail::ForEachModel::open ( reactive::Runtime & runtime) const
nodiscardpure virtual

Starts one mount's session.

Parameters
runtimeThe runtime the row signals belong to.
Returns
The session. It refers to this model, which must outlive it.

Implemented in morph::ui::detail::TypedForEach< RowT >.


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