Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::ui::detail::LiveBinding Struct Referenceabstract

Erased facade-owned binding; concrete bindings reuse the existing LiveTheme controller. More...

#include <ui_scene.hpp>

Inheritance diagram for portals::ui::detail::LiveBinding:
portals::ui::detail::LiveBindingportals::ui::detail::LiveBinding portals::ui::detail::LiveController< S >

Public Member Functions

virtual std::expected< bool, ManagedError > attach (ManagedScene &scene, const std::shared_ptr< SceneAnchor > &anchor)=0

Detailed Description

Erased facade-owned binding; concrete bindings reuse the existing LiveTheme controller.

Member Function Documentation

◆ attach()

virtual std::expected< bool, ManagedError > portals::ui::detail::LiveBinding::attach ( ManagedScene & scene,
const std::shared_ptr< SceneAnchor > & anchor )
pure virtual
Parameters
sceneExisting managed owner.
anchorReceiving facade identity; publication is weak and occurs only on successful attach.
Returns
True for first bind, false for checked reuse, or exact failure. Controller/publication candidates are allocated before installing the theme.

Implemented in portals::ui::detail::LiveController< S >.


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