Lumiera  0.pre.03
»edit your freedom«
time-grid.hpp File Reference

Go to the source code of this file.

Description

To establish a reference scale for quantised time values.

Contrary to the continuous Time values (Lumiera internal time scale), quantised time can only take on some discrete values corresponding to blocks or frames, according to the respective timecode format. The act of quantising continuous time values requires the definition of a time grid of such allowed time values. At least, the specification of a time origin and a frame spacing is required, but there might be way more elaborate specifications, e.g. a grid varying over time.

Time grid specifications are integrated into Lumiera's framework for meta assets, automation, configuration and similar metadata.

using time grids

TimeGrid is an interface (ABC), but provides some actual factory functions, which can be used as a convenience shortcut to fabricate the kind of simple time grid used most often.

See also
MetaFactory creating concrete asset::Meta instances
time::Quantiser

Definition in file time-grid.hpp.

Classes

struct  Builder< TimeGrid >
 
class  TimeGrid
 Interface: a grid and scale definition for time quantisation. More...
 

Typedefs

using GridID = lib::idi::EntryID< TimeGrid >
 
using PGrid = lib::P< TimeGrid >
 

Namespaces

 steam
 Steam-Layer implementation namespace root.
 
 steam::asset
 The asset subsystem of the Steam-Layer.