Lumiera  0.pre.03
»edityourfreedom«
Facade Class Reference

#include "gui/ctrl/facade.hpp"

Description

A context to hold and manage the implementation of all UI facade interfaces.

The lifecycle follows RAII-style: whenever this object is constructed, all facade interfaces are open and fully operative.

Remarks
the UiManager is responsible to activate and deactivate those interfaces

Definition at line 63 of file gui/ctrl/facade.hpp.

Public Member Functions

 Facade (UiBus &bus, UiManager &manager)
 Activate all external UI facade interfaces. More...
 

Private Types

using Instance_DisplayService = lib::DependInject< DisplayService >::ServiceInstance<>
 
using Instance_Notification = lib::DependInject< NotificationService >::ServiceInstance<>
 

Private Attributes

Instance_DisplayService displayService_
 
Instance_Notification notificationService_
 

Additional Inherited Members

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

Member Typedef Documentation

◆ Instance_Notification

using Instance_Notification = lib::DependInject<NotificationService>::ServiceInstance<>
private

Definition at line 66 of file gui/ctrl/facade.hpp.

◆ Instance_DisplayService

using Instance_DisplayService = lib::DependInject<DisplayService>::ServiceInstance<>
private

Definition at line 67 of file gui/ctrl/facade.hpp.

Constructor & Destructor Documentation

◆ Facade()

Facade ( UiBus bus,
UiManager manager 
)
inline

Activate all external UI facade interfaces.

Definition at line 77 of file gui/ctrl/facade.hpp.

References UiBus::getAccessPoint().

+ Here is the call graph for this function:

Member Data Documentation

◆ notificationService_

Instance_Notification notificationService_
private

Definition at line 69 of file gui/ctrl/facade.hpp.

◆ displayService_

Instance_DisplayService displayService_
private

Definition at line 70 of file gui/ctrl/facade.hpp.

+ Inheritance diagram for Facade:
+ Collaboration diagram for Facade:

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