Lumiera
0.pre.03
»edit your freedom«
|
Go to the source code of this file.
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.
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.
Definition in file time-grid.hpp.
#include "steam/asset/meta.hpp"
#include "lib/idi/entry-id.hpp"
#include "lib/time/grid.hpp"
#include "lib/time/timevalue.hpp"
#include "lib/symbol.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. | |