|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
UI-only owning input/subscription registration; destroy before its borrowed tree/router. More...
#include <radio_group.hpp>
Public Member Functions | |
| ~RadioGroupBinding () | |
| Disconnect this registration on its creating UI thread. | |
| RadioGroupBinding (RadioGroupBinding &&other) noexcept | |
| RadioGroupBinding & | operator= (RadioGroupBinding &&other) noexcept |
| RadioGroupBinding (const RadioGroupBinding &)=delete | |
| Registrations have one owner. | |
| RadioGroupBinding & | operator= (const RadioGroupBinding &)=delete |
| Copying cannot duplicate a live input registration. | |
| std::expected< void, TreeError > | sync () |
| std::expected< RadioGroupValue, TreeError > | value () const |
| RadioGroupResult | select (std::optional< RowId > id) |
Friends | |
| std::expected< RadioGroupBinding, TreeError > | bindRadioGroup (WidgetTree &tree, EventRouter &router, Node< RadioGroup > node, std::shared_ptr< Property< RadioGroupValue > > model, std::function< void(RadioGroupResult)> changed) |
UI-only owning input/subscription registration; destroy before its borrowed tree/router.
|
noexcept |
| other | Registration transferred without changing its source or live node identity. |
|
noexcept |
| other | Complete replacement installed before retiring old captures. |
| RadioGroupResult portals::RadioGroupBinding::select | ( | std::optional< RowId > | id | ) |
| id | Existing ID or no selection. |
| std::expected< void, TreeError > portals::RadioGroupBinding::sync | ( | ) |
| std::expected< RadioGroupValue, TreeError > portals::RadioGroupBinding::value | ( | ) | const |
|
friend |
| tree | Borrowed live UI tree. |
| router | Existing router, no additional runtime. |
| node | Live group without another binding. |
| model | Authoritative coherent state. |
| changed | Required callback receiving the exact commit/delivery receipt, including failures. |