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

Stable weak facade publication; mutable fields are accessed only after UI admission. More...

#include <ui_scene.hpp>

Public Attributes

const std::thread::id owner = std::this_thread::get_id()
 Immutable UI identity.
void * state {}
 Borrowed stable facade State, valid only while the anchor is published.
std::expected< void, ManagedError >(*) quit (void *, std::source_location)
 Checked stop bridge, callable only while this anchor publishes its UI owner.
std::expected< void, ManagedError >(*) lookup (void *, const LookupSource &, LookupPublisher)
 Checked bridge to bounded named lookup requests; called only on the UI thread.
std::shared_ptr< RefTarget > events = std::make_shared<RefTarget>()
 Existing weak collector context.

Detailed Description

Stable weak facade publication; mutable fields are accessed only after UI admission.


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