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

#include "gui/ui-bus.hpp"


Backbone of the Lumiera GTK GUI.

This is the Interface and Lifecycle front-end. When an instance of this class is created, the backbone becomes operative and can then be used to attach the active workspace::UiManager and similar entities. When it goes away, all backbone services are forced to shut down and disconnect, which means, that at this point, the entire UI must be decommissioned. Effectively this also means that the UiBus object must be run within the GTK event thread and must not be accessed from anywhere else.

Definition at line 159 of file ui-bus.hpp.

Public Member Functions

 UiBus ()
 ~UiBus ()
ctrl::BusTermgetAccessPoint ()
ctrl::StateManagergetStateManager ()

Private Attributes

unique_ptr< ctrl::CoreServicecoreService_

Additional Inherited Members

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

Constructor & Destructor Documentation

UiBus ( )

Definition at line 63 of file ui-bus.cpp.

~UiBus ( )

Definition at line 69 of file ui-bus.cpp.

Member Function Documentation

ctrl::BusTerm & getAccessPoint ( )

Definition at line 73 of file ui-bus.cpp.

References UiBus::coreService_.

Referenced by Facade::Facade().

+ Here is the caller graph for this function:

ctrl::StateManager & getStateManager ( )

Definition at line 79 of file ui-bus.cpp.

References UiBus::coreService_.

Member Data Documentation

unique_ptr<ctrl::CoreService> coreService_

Definition at line 162 of file ui-bus.hpp.

Referenced by UiBus::getAccessPoint(), and UiBus::getStateManager().

+ Inheritance diagram for UiBus:
+ Collaboration diagram for UiBus:

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