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

#include "stage/ui-bus.hpp"

Description

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 122 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 ()=default
 
 NonCopyable (NonCopyable const &)=delete
 
NonCopyableoperator= (NonCopyable const &)=delete
 

Constructor & Destructor Documentation

◆ UiBus()

UiBus ( )

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

◆ ~UiBus()

~UiBus ( )

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

Member Function Documentation

◆ getAccessPoint()

ctrl::BusTerm & getAccessPoint ( )

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

References UiBus::coreService_.

◆ getStateManager()

ctrl::StateManager & getStateManager ( )

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

References UiBus::coreService_.

Member Data Documentation

◆ coreService_

unique_ptr<ctrl::CoreService> coreService_
private

Definition at line 125 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: