Lumiera  0.pre.03
»edit your freedom«
elem-access-dir.hpp
Go to the documentation of this file.
1 /*
2  ELEM-ACCESS-DIR.hpp - service to access generic elements in the UI
3 
4  Copyright (C)
5  2018, Hermann Vosseler <Ichthyostega@web.de>
6 
7   **Lumiera** is free software; you can redistribute it and/or modify it
8   under the terms of the GNU General Public License as published by the
9   Free Software Foundation; either version 2 of the License, or (at your
10   option) any later version. See the file COPYING for further details.
11 
12 */
13 
14 
32 #ifndef STAGE_CTRL_ELEM_ACCESS_DIR_H
33 #define STAGE_CTRL_ELEM_ACCESS_DIR_H
34 
35 
36 #include "lib/error.hpp"
40 //#include "lib/symbol.hpp"
41 //#include "lib/util.hpp"
42 
43 //#include <string>
44 
45 
46 
47 namespace stage {
48 namespace ctrl{
49 
50 // using util::isnil;
51 // using std::string;
52  using interact::UICoord;
53 
54 
60  : public model::ElementAccess
61  {
62  WindowLocator& windowLoc_;
63  PanelLocator& panelLoc_;
64 
65  public:
66  explicit
67  ElemAccessDir (WindowLocator& windowLocatorService, PanelLocator& panelLocatorService)
68  : windowLoc_{windowLocatorService}
69  , panelLoc_{panelLocatorService}
70  { }
71 
72 
73 
74  /* == ElementAccess interface == */
75 
76  RawResult
77  performAccessTo (UICoord::Builder & target, size_t limitCreation) override
78  {
79  UNIMPLEMENTED ("implementation of access function based on real UI widgets");
80  }
81 
82 
83 #if false
84  if (isDeaf())
85  this->transmogrify (solution);
86 #endif
87 
88 
89  protected:
90  };
91 
92 
93 
94 
95 
96 
104 }} // namespace stage::ctrl
105 #endif /*STAGE_CTRL_ELEM_ACCESS_DIR_H*/
Typesafe union record.
Definition: variant.hpp:215
Interface: access UI elements by navigating the UI topology.
Interface to discover and access raw UI elements in a cross cutting way.
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:37
Access and query front-end to locate, access and place docking panels.
Manager for all top level application windows.
Lumiera error handling (C++ interface).
RawResult performAccessTo(UICoord::Builder &target, size_t limitCreation) override
A centralised manager of all top level application windows.
Low-level service to navigate the internals of the Lumiera GTK UI.
Service to access, locate or place panels within top-level windows Access- and query front-end to the...