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

#include "gui/interact/view-locator.hpp"

Description

Access or allocate a UI component view.

Todo:
initial draft as of 9/2017 – actual implementation need to be filled in

Definition at line 89 of file view-locator.hpp.

Public Member Functions

 ViewLocator (ctrl::GlobalCtx &, LocationQueryAccess)
 
 ~ViewLocator ()
 
template<class V >
V & get ()
 Access and possibly create just some component view of the desired type. More...
 

Private Member Functions

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

Private Attributes

ctrl::GlobalCtxglobals_
 
unique_ptr< UILocationSolverlocResolver_
 

Constructor & Destructor Documentation

ViewLocator ( ctrl::GlobalCtx uiTopLevel,
LocationQueryAccess  getLocQuery 
)

Definition at line 93 of file view-locator.cpp.

Definition at line 101 of file view-locator.cpp.

Member Function Documentation

V & get ( )
inline

Access and possibly create just some component view of the desired type.

Definition at line 117 of file view-locator.hpp.

Referenced by WrappedStandardExeBuilder::invokeOriginalBuilder().

+ Here is the caller graph for this function:

PanelLocator & panelLocator ( )
private

Definition at line 111 of file view-locator.cpp.

References ViewLocator::globals_, WindowLocator::locatePanel(), and GlobalCtx::windowLoc_.

+ Here is the call graph for this function:

WindowLocator & windowLocator ( )
private

Definition at line 117 of file view-locator.cpp.

References ViewLocator::globals_, and GlobalCtx::windowLoc_.

Member Data Documentation

ctrl::GlobalCtx& globals_
private

Definition at line 92 of file view-locator.hpp.

Referenced by ViewLocator::panelLocator(), and ViewLocator::windowLocator().

unique_ptr<UILocationSolver> locResolver_
private

Definition at line 93 of file view-locator.hpp.

+ Inheritance diagram for ViewLocator:
+ Collaboration diagram for ViewLocator:

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