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

Owning deferred scene configuration; setup publishes the observation only after normalization succeeds. A failed installer does not replace an existing catalog. The facade's existing configuration-error policy may subsequently close the owner; independently owning catalog snapshots survive that cleanup. More...

#include <theme_selection.hpp>

Public Member Functions

 ThemeSelectionStage (ThemeSelectionRef reference, std::initializer_list< ThemeChoice > catalog, ThemeSelectionOptions options={}, std::source_location origin=std::source_location::current())

Friends

Scene & operator| (Scene &owner, const ThemeSelectionStage &stage)
Scene operator| (Scene &&input, const ThemeSelectionStage &stage)

Detailed Description

Owning deferred scene configuration; setup publishes the observation only after normalization succeeds. A failed installer does not replace an existing catalog. The facade's existing configuration-error policy may subsequently close the owner; independently owning catalog snapshots survive that cleanup.

Constructor & Destructor Documentation

◆ ThemeSelectionStage()

portals::ui::ThemeSelectionStage::ThemeSelectionStage ( ThemeSelectionRef reference,
std::initializer_list< ThemeChoice > catalog,
ThemeSelectionOptions options = {},
std::source_location origin = std::source_location::current() )
Parameters
referenceCold observing identity.
catalogOwning choices copied before scene entry.
optionsFinite normalization/layer settings.
originSetup registration site. Construction may allocate; the ordinary application bad_alloc boundary applies.

◆ operator| [1/2]

Scene operator| ( Scene && input,
const ThemeSelectionStage & stage )
friend
Parameters
inputConsumed idle scene.
stageOwning deferred configuration.
Returns
Owning scene for the ordinary leading-pipe chain.

◆ operator| [2/2]

Scene & operator| ( Scene & owner,
const ThemeSelectionStage & stage )
friend
Parameters
ownerStationary scene receiving checked model setup.
stageOwning deferred configuration.
Returns
The receiving scene; a second model setup fails INVALID_ARGUMENT without replacing the first catalog.

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