![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "/Werk/devel/lumi/tests/stage/test/test-element-access.hpp"
Mock implementation of the model::ElementAccess interface for testing without actual UI.
Definition at line 97 of file test-element-access.hpp.
Public Attributes | |
| UICoord | existingPath |
| the next query will fail unless it presents this Path | |
| std::unique_ptr< model::Tangible > | response |
| ...and if acceptable, we record the last answer here | |
Public Member Functions | |
| TestElementAccess () | |
| RawResult | performAccessTo (UICoord::Builder &target, size_t) override |
Public Member Functions inherited from ElementAccess | |
| virtual | ~ElementAccess () |
| this is an interface | |
| template<class TAR > | |
| lib::Result< TAR & > | access (UICoord const &destination) |
| Navigate the UI topology to access the designated component. | |
| UICoord | locate_or_create (UICoord const &destination, size_t limitCreation=LUMIERA_MAX_ORDINAL_NUMBER) |
| Navigate to the designated component, possibly create the element and parents. | |
Additional Inherited Members | |
Protected Types inherited from ElementAccess | |
| using | RawResult = lib::Variant< Types< model::Tangible *, Gtk::Widget * > > |
|
inlineexplicit |
Definition at line 103 of file test-element-access.hpp.
|
inlineoverridevirtual |
drill down according to coordinates, maybe create element
Implements ElementAccess.
Definition at line 119 of file test-element-access.hpp.
References TestElementAccess::existingPath, PathArray< chunk_size >::leafLevel(), TestElementAccess::response, and UICoord::Builder::uiCoord().
Here is the call graph for this function:| UICoord existingPath |
the next query will fail unless it presents this Path
Definition at line 110 of file test-element-access.hpp.
Referenced by TestElementAccess::performAccessTo().
| std::unique_ptr<model::Tangible> response |
...and if acceptable, we record the last answer here
Definition at line 113 of file test-element-access.hpp.
Referenced by TestElementAccess::performAccessTo().
Inheritance diagram for TestElementAccess:
Collaboration diagram for TestElementAccess: