Lumiera
0.pre.03
»edit your freedom«
|
#include "stage/interact/navigator.hpp"
Global cross-cutting navigation within user interface space.
Definition at line 67 of file navigator.hpp.
Public Member Functions | |
Navigator (SpotLocator &, ViewLocator &) | |
Literal | determineAnchor (UICoord const &path) override final |
make the real anchor point explicit. More... | |
size_t | determineCoverage (UICoord const &path) override final |
evaluate to what extent a UIcoord spec matches the actual UI More... | |
ChildIter | getChildren (UICoord const &path, size_t pos) override final |
get the sequence of child components at a designated position in the actual UI More... | |
Public Member Functions inherited from LocationQuery | |
virtual | ~LocationQuery () |
this is an interface | |
Private Attributes | |
SpotLocator & | spotLocator_ |
ViewLocator & | viewLocator_ |
Additional Inherited Members | |
Public Types inherited from LocationQuery | |
using | ChildIter = decltype(TreeStructureNavigator::buildIterator(0)) |
Static Public Attributes inherited from LocationQuery | |
static lib::Depend< LocationQuery > | service |
access point to global LocationQuery service implementation More... | |
Private Member Functions inherited from NonCopyable | |
NonCopyable (NonCopyable const &)=delete | |
NonCopyable & | operator= (NonCopyable const &)=delete |
make the real anchor point explicit.
path | an explicit UICoord spec to be anchored in the actual UI |
currentWindow
and firstWindow
, again in the form of an explicit window name Implements LocationQuery.
Definition at line 65 of file navigator.cpp.
|
finaloverridevirtual |
evaluate to what extent a UIcoord spec matches the actual UI
Implements LocationQuery.
Definition at line 72 of file navigator.cpp.
|
finaloverridevirtual |
get the sequence of child components at a designated position in the actual UI
path | an explicit UIcoord spec, expected to be anchored and at least partially covered within the current configuration and state of the UI |
pos | depth where the given path shall be evaluated, starting with 0 at window level |
pos == 0
, then the path is not evaluated and matched at all, rather just the current list of top-level windows is returned. error::State | when navigating the given path touches a non-existing element |
Implements LocationQuery.
Definition at line 79 of file navigator.cpp.