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

Suspend an unrelated setup collector during an independently owned callback. More...

#include <current_scene.hpp>

Public Member Functions

 SetupFailurePause (const std::weak_ptr< SceneAnchor > &scene) noexcept
 SetupFailurePause (const SetupFailurePause &)=delete
 A linked stack pause cannot be copied.
SetupFailurePause & operator= (const SetupFailurePause &)=delete
 A linked stack pause cannot be reassigned.
 ~SetupFailurePause ()
 Restore the setup attribution active before this entered callback.

Detailed Description

Suspend an unrelated setup collector during an independently owned callback.

Constructor & Destructor Documentation

◆ SetupFailurePause()

portals::ui::detail::SetupFailurePause::SetupFailurePause ( const std::weak_ptr< SceneAnchor > & scene)
explicitnoexcept
Parameters
sceneWeak identity of the callback owner; the same active setup keeps its attribution.

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