Lumiera  0.pre.03
»edit your freedom«
stage::idi Namespace Reference

Description

generic definitions for element ID and access.

See also
id-scheme.hpp

Typedefs

using ErrorLogView = widget::ErrorLogDisplay
 
using ID = lib::idi::BareEntryID const &
 
using TimelineView = timeline::TimelineController
 

Classes

struct  Descriptor
 Generic Component View descriptors. More...
 
struct  Descriptor< ErrorLogView >
 Descriptor for error log display within the UI. More...
 
struct  Descriptor< test::DummyView >
 
struct  Descriptor< TimelineView >
 Descriptor for the Timeline UI. More...
 

Functions

template<class VIEW >
Descriptor< VIEW > & viewSpec ()
 Access point: Factory for "view specs". More...
 

Variables

AllocSpec< uint > limitAllocation
 

Class Documentation

◆ stage::idi::Descriptor

struct stage::idi::Descriptor
+ Collaboration diagram for Descriptor< V >:

◆ stage::idi::Descriptor< ErrorLogView >

struct stage::idi::Descriptor< ErrorLogView >
Class Members
typedef ErrorLog Model
+ Collaboration diagram for Descriptor< ErrorLogView >:

◆ stage::idi::Descriptor< test::DummyView >

struct stage::idi::Descriptor< test::DummyView >
Class Members
ViewSpec locate
Allocator alloc
+ Collaboration diagram for Descriptor< test::DummyView >:

◆ stage::idi::Descriptor< TimelineView >

struct stage::idi::Descriptor< TimelineView >
Class Members
typedef Timeline Model
+ Collaboration diagram for Descriptor< TimelineView >:

Function Documentation

◆ viewSpec()

Descriptor<VIEW>& stage::idi::viewSpec ( )
inline

Access point: Factory for "view specs".

These are (singleton) instances of idi::Descriptor<V>, and assumed to expose

  • a member viewSpec.locate, which solves for the actual view location within UI topology
  • a member viewSpec.alloc, which actually claims / allocates an existing or new view instance
    See also
    stage::ctrl::ViewLocator::get

Definition at line 274 of file view-spec-dsl.hpp.

Referenced by ViewLocator::get().

+ Here is the caller graph for this function:

Variable Documentation

◆ limitAllocation

AllocSpec< uint > limitAllocation
Initial value:
=[](UICoord target, uint limit)
{
return rawElementAccessor().locate_or_create (target, limit);
}
Access point to singletons and other kinds of dependencies designated by type.
Definition: depend.hpp:280

Definition at line 62 of file view-locator.cpp.