Lumiera
0.pre.03
»edit your freedom«
|
#include "stage/interact/view-spec-dsl.hpp"
A specification to describe the strategy for allocating (placing, retrieving) a component view.
On a DSL-technical level, AllocSpec is a function generator: it produces Allocator entities, which in turn are functions to perform the actual allocation.
limitPerWindow(cnt)
– which is a function accepting the concrete limit and producing the actual allocator function UICoord -> UICoord
, which has this actual limit cnt
"baked in". Definition at line 205 of file view-spec-dsl.hpp.
Public Member Functions | |
template<class FUN > | |
AllocSpec (FUN &&fun) | |
Static Private Member Functions | |
template<class FUN > | |
static auto | buildPartialApplicator (FUN &&fun) |
|
inlinestaticprivate |
analyse and dissect the given allocation operation and fabricate a builder to accept the additional arguments and produce a partially closed allocation functor
Definition at line 214 of file view-spec-dsl.hpp.