Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
GuiFacade Class Reference

#include "gui/guifacade.hpp"

Description

Global access point for loading and starting up the Lumiera GTK GUI and for controlling the GUI lifecycle.

The implementation part of this class also is responsible for making the "business" interface of the GUI available, i.e. gui::GuiNotification

When running Lumiera with a GUI is required (the default case), it is loaded as dynamic module, thus defining the interface(s) for any further access. After successfully loading and starting the GUI, the actual "business" interfaces of the GUI are opened and wired internally such as to allow transparent access from within the core.

intended usage

This is an facade interface to the GUI subsystem, but it's setup is somewhat special, as its sole purpose is to expose the subsystem descriptor, which, when started, loads the GUI as a plugin and invokes launchUI(term) there. For the implementation see gui::GuiRunner (guifacade.cpp) and gtk-lumiera.cpp (the plugin).

Note
this facade is intended to be used by Lumiera main solely. client code should always use the "business" interface(s):

Definition at line 79 of file guifacade.hpp.

Static Public Member Functions

static lumiera::SubsysgetDescriptor ()
 provide a descriptor for lumiera::AppState, wired accordingly to allow main to load, start and stop the Lumiera GTK GUI. More...
 
static bool isUp ()
 weather the GUI has been started and all interfaces are opened More...
 

Protected Member Functions

 GuiFacade ()=delete
 

Additional Inherited Members

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

Constructor & Destructor Documentation

GuiFacade ( )
protecteddelete

Member Function Documentation

lumiera::Subsys & getDescriptor ( )
static

provide a descriptor for lumiera::AppState, wired accordingly to allow main to load, start and stop the Lumiera GTK GUI.

intended for use by main().

Definition at line 202 of file guifacade.cpp.

bool isUp ( )
static

weather the GUI has been started and all interfaces are opened

Definition at line 209 of file guifacade.cpp.

+ Inheritance diagram for GuiFacade:
+ Collaboration diagram for GuiFacade:

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