Weak UI handle to a scene-owned Property, never an owning alias. Copies and destruction of the handle are thread independent. Operations check the captured UI identity before locking the property. Immutable snapshots follow Property's transfer requirements. The Application must outlive the scene, but not this weak handle.
More...
#include <managed.hpp>
|
|
class | ManagedScene |
|
class | NumericState |
|
struct | ui::detail::Access |
|
struct | ui::detail::RowAccess |
|
struct | detail::ManagedNavigationRecord |
template<std::equality_comparable T>
class portals::ManagedState< T >
Weak UI handle to a scene-owned Property, never an owning alias. Copies and destruction of the handle are thread independent. Operations check the captured UI identity before locking the property. Immutable snapshots follow Property's transfer requirements. The Application must outlive the scene, but not this weak handle.
- Template Parameters
-
| T | Equality-comparable, transitively owning value satisfying Property<T>'s contract. |
◆ set() [1/2]
template<std::equality_comparable T>
- Parameters
-
| value | Candidate copied by Property after validation. |
- Returns
- Original commit/delivery receipt, WRONG_THREAD, CLOSED, or Property's error.
◆ set() [2/2]
template<std::equality_comparable T>
- Parameters
-
| value | Candidate moved by Property after validation. |
- Returns
- Original commit/delivery receipt, WRONG_THREAD, CLOSED, or Property's error.
◆ snapshot()
template<std::equality_comparable T>
- Returns
- Owning immutable snapshot, WRONG_THREAD, or CLOSED after owner destruction. A stopped scene retains its properties until destruction, allowing a final snapshot.
The documentation for this class was generated from the following file: