Cold explicit shared navigation; ordinary model-source views stay independent.
More...
|
|
| Navigation ()=default |
| | Create an empty context descriptor whose checked use reports INVALID_ARGUMENT.
|
| std::expected< ManagedNavigation, ManagedError > | managed () const |
| | Obtain the published context without extending scene lifetime.
|
| std::expected< std::optional< RowId >, ManagedError > | currentRow () const |
| | Read the current model-local item key from the existing managed navigation channel.
|
| Model< NavigationPosition > | current () const |
| | Observe the accepted navigation channel as a cold read-only scalar model.
|
| std::expected< void, ManagedError > | setModel (Model< T > target, ModelRebindOptions options={}) const |
| | Admit one model change for the complete shared group on its UI thread.
|
| bool | model (Model< T > target, ModelRebindOptions options={}, std::source_location origin=std::source_location::current()) const |
| | Change the shared model and report a checked failure through existing scene diagnostics.
|
template<class T>
class portals::ui::Navigation< T >
Cold explicit shared navigation; ordinary model-source views stay independent.
- Template Parameters
-
| T | Common domain row of the context's model and participating views. |