Lumiera  0.pre.03
ViewLocator Class Reference

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


Access or allocate a UI component view.

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

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

Public Member Functions

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

Private Types

using Service_LocationSolver = lib::DependInject< UILocationSolver >::ServiceInstance<>

Private Attributes

lib::Depend< model::ElementAccesselementAccess
Service_LocationSolver locResolver_

Additional Inherited Members

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

Member Typedef Documentation

◆ Service_LocationSolver

using Service_LocationSolver = lib::DependInject<UILocationSolver>::ServiceInstance<>

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

Constructor & Destructor Documentation

◆ ViewLocator()

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

References LocationQuery::service.

◆ ~ViewLocator()

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

Member Function Documentation

◆ get()

V & get ( )

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

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

References gui::idi::viewSpec().

Referenced by WrappedStandardExeBuilder::invokeOriginalBuilder(), and ViewSpecDSL_test::verify_genericInvocation().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ elementAccess

lib::Depend<model::ElementAccess> elementAccess

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

◆ locResolver_

Service_LocationSolver locResolver_

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

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

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