|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Internal checked named publication bridge; no widget or scene ownership escapes. More...
#include <ui_ref.hpp>
Static Public Member Functions | |
| static StyleStage | scopeStyle (const StyleStage &stage, std::shared_ptr< RefTarget > target) |
| static std::shared_ptr< RefTarget > | target (const DynamicRef &reference) |
| static std::expected< NodeId, ManagedError > | scope (ManagedScene &scene, const std::shared_ptr< RefTarget > &target) |
| static std::expected< Node< Widget >, ManagedError > | observe (ManagedScene &scene, const std::shared_ptr< RefTarget > &source) |
| static std::expected< Node< Widget >, ManagedError > | find (ManagedScene &scene, std::string_view name) |
| static std::expected< Node< LineEdit >, ManagedError > | fieldDraft (ManagedScene &scene, Node< Widget > node) |
| template<class T> | |
| static std::expected< void, ManagedError > | publish (const Ref< T > &reference, ManagedScene &scene, Node< Widget > node) |
| template<class T> | |
| static void | reject (const Ref< T > &reference, const ManagedError &failure) |
| static void | report (ManagedScene &scene, ManagedError &failure, const LookupSource &source) |
| template<class T> | |
| static std::shared_ptr< RefTarget > | target (const Ref< T > &reference) |
| template<class T> | |
| static Ref< T > | request (const LookupSource &request) |
Internal checked named publication bridge; no widget or scene ownership escapes.
|
inlinestatic |
| scene | Existing managed owner. |
| node | Field identity to inspect. |
|
inlinestatic |
| scene | Borrowed live managed owner. |
| name | Case-sensitive ID; empty, absent and duplicate names reject. |
|
inlinestatic |
| scene | Receiving managed owner. |
| source | Original dynamic observation, never resolved again by name. |
|
inlinestatic |
| T | Public Widget subtype checked with RTTI before constructing its observer. |
| reference | Empty shared observing slot to publish. |
| scene | Existing owner, borrowed only during checked validation. |
| node | Unique name result; no unchecked downcast is exposed. |
|
inlinestatic |
| T | Observed public widget type. |
| reference | Shared slot retaining this request's original failure. |
| failure | Exact failure copied without widget access. |
|
inlinestatic |
| scene | Existing collector. |
| failure | Exact cause stamped with short-error provenance. |
| source | Owned name and static expected-type diagnostic. |
|
inlinestatic |
| T | Public Widget subtype required by this request. |
| request | Name and weak facade identity, copied through fallible owning transfers. |
|
inlinestatic |
| scene | Receiving managed owner. |
| target | Shared observation, checked before reading mutable fields. |
|
inlinestatic |
| stage | Existing owning style payload. |
| target | Weak exact-node observation. |
|
inlinestatic |
| reference | Dynamic observation. |
|
inlinestatic |
| T | Observed widget subtype. |
| reference | Existing typed observation. |