morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::BorrowedModel Struct Reference

A model the opener lends to a screen whose alias says {"from": alias} (spec 6 §16). More...

#include <interpreter.hpp>

Public Attributes

std::shared_ptr< ModelChannel > channel
 The opener's channel.
std::string token
 The opener's instance token, so the two share cache entries.

Detailed Description

A model the opener lends to a screen whose alias says {"from": alias} (spec 6 §16).

Definition at line 1414 of file interpreter.hpp.

Member Data Documentation

◆ channel

std::shared_ptr<ModelChannel> morph::ui::BorrowedModel::channel

The opener's channel.

Definition at line 1416 of file interpreter.hpp.

◆ token

std::string morph::ui::BorrowedModel::token

The opener's instance token, so the two share cache entries.

Definition at line 1418 of file interpreter.hpp.


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