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

Owning request identity; the facade and its widgets remain weakly observed. More...

#include <ui_ref.hpp>

Public Member Functions

 ~LookupSource ()=default
 Suppress implicit noexcept moves; checked MSVC string transfers can allocate.

Public Attributes

std::weak_ptr< SceneAnchor > anchor
 Stable facade publication, revoked before cleanup.
std::thread::id owner
 Immutable originating UI thread.
std::string name = std::string(0, '\0')
 Case-sensitive ID; fallible default construction stays checked.
std::source_location origin
 Original lookup site.
const char * expectedType {"Widget"}
 Static RTTI label for typed diagnostic context.
std::shared_ptr< RefTarget > observation {}
 Optional original dynamic slot for identity-preserving conversion.

Detailed Description

Owning request identity; the facade and its widgets remain weakly observed.


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