morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::MountedShell Class Reference

What a frontend mounts once its source is open: the app shell and its screens, or a view of why the source did not open. Destroying it unmounts all of it. More...

#include <frontend.hpp>

Public Member Functions

 MountedShell (MountedShell const &)=delete
MountedShell & operator= (MountedShell const &)=delete
 MountedShell (MountedShell &&)=delete
MountedShell & operator= (MountedShell &&)=delete
virtual void inspectFocused (std::function< void(Inspector &inspector)> const &visit)
 Hands the development inspector over the focused screen to visit, before returning (spec 6 §21). A frontend's inspector window calls it each time it shows the screen. The default has no screen to inspect and calls nothing.

Detailed Description

What a frontend mounts once its source is open: the app shell and its screens, or a view of why the source did not open. Destroying it unmounts all of it.

Definition at line 387 of file frontend.hpp.

Member Function Documentation

◆ inspectFocused()

virtual void morph::ui::MountedShell::inspectFocused ( std::function< void(Inspector &inspector)> const & visit)
inlinevirtual

Hands the development inspector over the focused screen to visit, before returning (spec 6 §21). A frontend's inspector window calls it each time it shows the screen. The default has no screen to inspect and calls nothing.

Parameters
visitCalled at most once, with the inspector; it must not keep it past the call.

Definition at line 400 of file frontend.hpp.


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