Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
stage::idi Namespace Reference

Description

generic definitions for element ID and access.

See also
id-scheme.hpp

Typedefs

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

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".
 

Variables

AllocSpec< uintlimitAllocation
 

Typedef Documentation

◆ ID

using ID = lib::idi::BareEntryID const&

Definition at line 92 of file id-scheme.hpp.

◆ TimelineView

Definition at line 95 of file id-scheme.hpp.

◆ ErrorLogView

Definition at line 96 of file id-scheme.hpp.


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 = UICoord::currentWindow().panel("parentLocation")
Allocator alloc = limitAllocation(2)
+ 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()

template<class VIEW >
Descriptor< VIEW > & 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 273 of file view-spec-dsl.hpp.

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:281
unsigned int uint
Definition integral.hpp:29

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