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

One state declaration at run time. More...

#include <interpreter.hpp>

Public Attributes

StateDecl const * decl = nullptr
 The declaration.
std::unique_ptr< reactive::Signal< Value > > value
 The value, made when the init is evaluated.
RtScope const * scope = nullptr
 The scope that declares it, where its init is evaluated.
bool initializing = false
 Set while the init is evaluated, so a cyclic read gives null instead of recursing.

Detailed Description

One state declaration at run time.

Definition at line 1482 of file interpreter.hpp.

Member Data Documentation

◆ decl

StateDecl const* morph::ui::detail::StateSlot::decl = nullptr

The declaration.

Definition at line 1484 of file interpreter.hpp.

◆ value

std::unique_ptr<reactive::Signal<Value> > morph::ui::detail::StateSlot::value

The value, made when the init is evaluated.

Definition at line 1486 of file interpreter.hpp.

◆ scope

RtScope const* morph::ui::detail::StateSlot::scope = nullptr

The scope that declares it, where its init is evaluated.

Definition at line 1488 of file interpreter.hpp.

◆ initializing

bool morph::ui::detail::StateSlot::initializing = false

Set while the init is evaluated, so a cyclic read gives null instead of recursing.

Definition at line 1490 of file interpreter.hpp.


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