Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
GuiRunner Struct Reference

Description

load and start the GUI as a plugin

Definition at line 49 of file guifacade.cpp.

Public Types

typedef InstanceHandle< LUMIERA_INTERFACE_INAME(lumieraorg_Gui, 1)> GuiHandle
 

Public Attributes

GuiHandle theGUI_
 

Public Member Functions

 GuiRunner (Subsys::SigTerm terminationHandle)
 
bool launchUI (Subsys::SigTerm &terminationHandle)
 start the actual GUI thread(s), after successfully loading the GuiStarterPlugin, that is.
 

Additional Inherited Members

- Protected Member Functions inherited from NonCopyable
 ~NonCopyable ()=default
 
 NonCopyable ()=default
 
 NonCopyable (NonCopyable const &)=delete
 
NonCopyableoperator= (NonCopyable const &)=delete
 

Constructor & Destructor Documentation

◆ GuiRunner()

GuiRunner ( Subsys::SigTerm  terminationHandle)
inline

Definition at line 57 of file guifacade.cpp.

References GuiRunner::launchUI(), lumiera_error(), lumiera_error_peek(), and GuiRunner::theGUI_.

+ Here is the call graph for this function:

Member Typedef Documentation

◆ GuiHandle

typedef InstanceHandle<LUMIERA_INTERFACE_INAME(lumieraorg_Gui, 1)> GuiHandle

Definition at line 52 of file guifacade.cpp.

Member Function Documentation

◆ launchUI()

bool launchUI ( Subsys::SigTerm terminationHandle)
inline

start the actual GUI thread(s), after successfully loading the GuiStarterPlugin, that is.

The implementation of this function must ensure to invoke the given termination signal reliably after shutting down the GUI, otherwise the application will hang on exit.

this function is invoked automatically during the GUI loading and startup process. Don't call it manually.

Definition at line 77 of file guifacade.cpp.

References GuiRunner::theGUI_.

Referenced by GuiRunner::GuiRunner().

+ Here is the caller graph for this function:

Member Data Documentation

◆ theGUI_

GuiHandle theGUI_

Definition at line 54 of file guifacade.cpp.

Referenced by GuiRunner::GuiRunner(), and GuiRunner::launchUI().

+ Inheritance diagram for GuiRunner:
+ Collaboration diagram for GuiRunner:

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