![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
#include "stage/interact/navigator.hpp"
Global cross-cutting navigation within user interface space.
Definition at line 58 of file navigator.hpp.
Public Member Functions | |
| Navigator (SpotLocator &, ViewLocator &) | |
| ~Navigator () | |
| Literal | determineAnchor (UICoord const &path) override final |
| make the real anchor point explicit. | |
| size_t | determineCoverage (UICoord const &path) override final |
| evaluate to what extent a UIcoord spec matches the actual UI | |
| ChildIter | getChildren (UICoord const &path, size_t pos) override final |
| get the sequence of child components at a designated position in the actual UI | |
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 | |
Private Member Functions inherited from NonCopyable | |
| ~NonCopyable ()=default | |
| NonCopyable ()=default | |
| NonCopyable (NonCopyable const &)=delete | |
| NonCopyable & | operator= (NonCopyable const &)=delete |
| Navigator | ( | SpotLocator & | spotLoc, |
| ViewLocator & | viewLoc | ||
| ) |
Definition at line 47 of file navigator.cpp.
| ~Navigator | ( | ) |
Definition at line 43 of file navigator.cpp.
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 56 of file navigator.cpp.
|
finaloverridevirtual |
evaluate to what extent a UIcoord spec matches the actual UI
Implements LocationQuery.
Definition at line 63 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 70 of file navigator.cpp.
|
private |
Definition at line 62 of file navigator.hpp.
|
private |
Definition at line 63 of file navigator.hpp.
Inheritance diagram for Navigator:
Collaboration diagram for Navigator: